Ad Widget

Collapse

PollerIP server parameter for HA configurations

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Shmuma
    Member
    • Nov 2007
    • 49

    #1

    PollerIP server parameter for HA configurations

    Hello,

    Poller IP is an optional parameter in zabbix_server.conf which specify sender address of poller requests. We find this useful in HA zabbix installations. If we use virtual ip technicue (CARP or something similiar) to make zabbix_server high available, our connection requests to agents have primary server address in 'from' IP field, not virtual address used by cluster. According to that, all connections initiated to agents are rejected. We can specify all addresses of our servers in zabbix_agentd.conf, but this is too annoying and seems hard to maintain.

    To resolve this, we can set PollerIP parameter in zabbix_server.conf and poller thread will make bind to this address before initiate connection to agent. Thus there must specify only cluster virtual IP in Server parameter in all zabbix_agentd.conf.

    This also can be useful when server have more than one network interface and we want manually specify which address will be used to send requests to agents.
    Attached Files
  • Shmuma
    Member
    • Nov 2007
    • 49

    #2
    Slightly fixed version of the above patch

    Moved extern declaration from source file to header.
    Attached Files

    Comment

    Working...