Ad Widget

Collapse

Zabbix server's agent in HA mode rejects connection

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • olegus
    Member
    • Dec 2023
    • 68

    #1

    Zabbix server's agent in HA mode rejects connection

    We run Zabbix in native HA cluster in docker containers on 2 nodes. Each node has its own agent running in a separate container.
    Agents set their server urls like this in docker-compose:
    ZBX_SERVER_HOST=zabbix-server-01,10.76.0.120
    where zabbix-server-01 is a server container on the same host, 10.76.0.120 is an IP of another HA node.
    Agent on a passive node reports unavailable status with this logs:
    failed to accept an incoming connection: connection from "10.176.0.120" rejected, allowed hosts: "zabbix-server-01,10.76.0.120"

    What am I doing wrong?
    Last edited by olegus; 18-04-2024, 19:49.
  • Answer selected by olegus at 19-04-2024, 16:26.
    cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    10.76 vs 10.176 ?? Fix'em typos?

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #2
      10.76 vs 10.176 ?? Fix'em typos?

      Comment

      • olegus
        Member
        • Dec 2023
        • 68

        #3
        Originally posted by cyber
        10.76 vs 10.176 ?? Fix'em typos?
        OMG!! How did I miss it? I literally stared at this yaml for an hour before decided to open new topic

        Comment

        Working...