Ad Widget

Collapse

Zabbix agents continiously goes between proxies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sperr0w
    Member
    • Oct 2014
    • 44

    #1

    Zabbix agents continiously goes between proxies

    hello!

    I have Zabbix 3.0 and two Active proxies.

    For half of my host agents I configure agentd.conf:

    Server=ZabbixServerIP,ZabbixProxy1IP,ZabbixProxy2I P
    ServerActive=ZabbixProxy1IP,ZabbixProxy2IP,ZabbixS erverIP

    In server interface I set all this agents to be polled using Proxy1

    After all settings, in Admin -> Proxy I see that number of hosts connected to Proxy 1 and Proxy 2 changes every time . It look like part of agents come from one proxy to another proxy.

    Also in agentd.conf I see messages about:
    "no active checks on server Proxy1 ... host ... not found
    "no active checks on server Proxy2 ... host ... not found
    "no active checks on server Zabbix server ... host ... not found
    "no active checks on server Proxy1 ... host ... not found
    "no active checks on server Proxy2 ... host ... not found
    "no active checks on server Zabbix server ... host ... not found

    My goal is to be able to move from one proxy to another just by changing proxy in zabbix nterface.

    Where is my mistake?
  • sperr0w
    Member
    • Oct 2014
    • 44

    #2
    From https://www.zabbix.com/forum/showthr...=11420&page=2:

    Is it right, that it is the only way to change activeServer - it is to change config?

    For example it I write,
    ServerActive=Proxy1IP,Proxy2IP, Agent will start to push data to both proxies, not only to proxy, that marked in Zabbix interface?

    In this case, why we have ability to change Proxy for host in Zabbix UI? Just for passive checks?

    But why if we need to change active check proxy? The only way is to update all agent configs?

    Comment

    • tchjts1
      Senior Member
      • May 2008
      • 1605

      #3
      Originally posted by sperr0w
      ServerActive=ZabbixProxy1IP,ZabbixProxy2IP,ZabbixS erverIP

      Where is my mistake?
      ServerActive= you can only have one IP listed here. if you have multiple, it flaps back and forth between them. I found that out the same way you did.
      I was hoping to have multiple proxies listed here so I could just switch proxies on the fly in the interface. No bueno.

      Comment

      • sperr0w
        Member
        • Oct 2014
        • 44

        #4
        Originally posted by tchjts1
        ServerActive= you can only have one IP listed here. if you have multiple, it flaps back and forth between them. I found that out the same way you did.
        I was hoping to have multiple proxies listed here so I could just switch proxies on the fly in the interface. No bueno.
        So, in this way, why we have ability to change proxy in zabbix UI? What is the reason of this?

        Comment

        Working...