Zabbix proxy sample

Zabbix server have IP: 192.168.88.55.
192.168.88.55:10051 is NATed to outside with static alias xxxxxxxxxxxx.sn.mynetname.net:10051
See 192-168-88-1-10051.png
This is only necessary for zabbix proxy to receive instructions what to do and send back data to zabbix server.

Zabbix proxy IP has 192.168.99.55.
192.168.99.55:10050 is NATed to the outside world so the zabbix server can look for zabbix agent on proxy server.
See 192-168-99-1-10050.png
This is only necessary to detect when the zabbix server is dead. This is very, very important.

Configuration of zabbix proxy on 192.168.99.55:
grep -v "^#\|^$" /usr/local/etc/zabbix_proxy.conf
Server=xxxxxxxxxxxx.sn.mynetname.net
Hostname=Broceni
LogFile=/tmp/zabbix_proxy.log
DBName=/var/lib/sqlite/zabbix.db
DBUser=root
FpingLocation=/usr/bin/fping
One of zabbix agent on Broceni:
cat /etc/zabbix/zabbix_agentd.conf
LogFile=/var/log/zabbix-agent/zabbix_agentd.log
Server=192.168.99.55
EnableRemoteCommands=1
Hostname=rpi8b923a
Set Up proxy server on zabbix server:
Set up host on zabbix server:

No comments: