Ad Widget

Collapse

how to have Zabbix server accept agent connection on virtual IP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • johntest
    Junior Member
    • Mar 2015
    • 14

    #1

    how to have Zabbix server accept agent connection on virtual IP

    I have set up a zabbix cluster using pacemaker/cman and it attaches a virtual IP to the active zabbix server node.

    If I provide the virtual IP in zabbix agent config I get
    "Received empty response from Zabbix Agent at [127.0.0.1]. Assuming that agent dropped conneciton because of access permissions."

    However if I provide the permanent IP of the server then everything is fine.

    How can I set this so that zabbix server would accept connections on the virtual IP?

    Thanks!
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Do not the IP address of the host 127.0.0.1?

    If so, 127.0.0.1 can not be accessed only from the local server.
    Then, IP address of the source when it is connected by TCP/IP will be 127.0.0.1.

    as Server values in the zabbix_agentd.conf, please also add a comma-delimited 127.0.0.1.
    and you must restart zabbix_agentd.

    ex.
    -----
    Server=192.168.1.1,127.0.0.1
    -----

    Comment

    Working...