Ad Widget

Collapse

Dockerized zabbix server what is the server IP?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rajstopy
    Junior Member
    • Oct 2019
    • 8

    #1

    Dockerized zabbix server what is the server IP?

    Dear all,

    I've got a problem I can't get rid of.

    I have created a Zabbix server docker instance and everything is working fine. However, there is a point I don't understand...

    The physical server running docker has ip address, let's say 192.168.10.6.
    I first configured the directive Server=192.168.10.6 on agent's zabbix_server2.conf file, but obviously this is wrong because the IP seen from clients endpoint is the IP of the zabbix server container...

    I guess I will have to fix the container IP to ensure it doesn't change when the container is re-created, or create an iptable rule to nat the ip. What are the best practices?

    Cheers
Working...