Skip to content

Commit

Permalink
add zabbix and fix children
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Nov 26, 2023
1 parent 645fe0e commit a7ea3c7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bkk02
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ proxmox_hosts
proxmox_nodes
routers

[proxmox_nodes]
[proxmox_nodes:children]
polkadot

[routers]
Expand Down
6 changes: 6 additions & 0 deletions host_vars/hel-zabbix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
ansible_host: "65.21.107.112 "
ansible_port: "20780"
host_name: "status.rotko.net"
host_timezone: "Europe/Helsinki"
...
19 changes: 19 additions & 0 deletions host_vars/zabbix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
ansible_host: "65.21.107.112"
ansible_port: "20780"
host_name: "monitor.rotko.net"
host_timezone: "Europe/Helsinki"

# port reminder
# description: "monitoring"
# port_forwards:
# - from_port: "{{ hostvars['monitor']['ansible_port'] }}"
# to_host: "{{ hostvars['monitor']['container_ip'] }}:22"
# protocol: "tcp"
# - from_port: "{{ hostvars['monitor']['zabbix_port'] }}"
# to_host: "{{ hostvars['monitor']['container_ip'] }}:10050"
# protocol: "tcp"
# - from_port: "{{ hostvars['monitor']['zabbix_host_port'] }}"
# to_host: "{{ hostvars['monitor']['container_ip'] }}:10051"
# protocol: "tcp"
...
3 changes: 2 additions & 1 deletion inventory
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ polkadot
[proxmox_nodes]
ansible
matrix
monitor
ibp

[routers]
Expand Down Expand Up @@ -57,6 +56,8 @@ bkk04

[unmanaged]
bkk05
zabbix
hel-zabbix
kvm01
kvm02

Expand Down

0 comments on commit a7ea3c7

Please sign in to comment.