Ad Widget

Collapse

Zabbix Agent auto registration adding hosts multiple times to the same proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • wylde
    Junior Member
    • Sep 2016
    • 10

    #1

    Zabbix Agent auto registration adding hosts multiple times to the same proxy

    Hello,

    I'm running a 5.0.1 environment for agents, proxies, and server. I have configured my agents to use 2 different proxy addresses and when they start talking to the proxy the auto registration process adds the host, links templates, etc. However the agents are being auto registered to both proxies and sometimes the same proxy seemingly at the same time. I'm clearly doing something incorrectly here but i'm not sure what it is. It is my understanding that the agent should only ever get added once and any future auto registration attempts would merely update the "monitored by proxy" field for the host config and only in the event when a proxy becomes unavailable and the agents start reporting to a new proxy. As i believe that's what https://www.zabbix.com/documentation...o_registration page claims.

    Code:
    [COLOR=#000000][FONT=Whitney][SIZE=16px]PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/agent.log[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]LogFileSize=100[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]DebugLevel=3[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]EnableRemoteCommands=1[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]LogRemoteCommands=1[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]Server=10.250.0.111,10.250.0.112[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]ListenPort=10050[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]StartAgents=3[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]ServerActive=10.250.0.111,10.250.0.112[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]HostnameItem=system.run[hostname][/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]HostMetadata=api[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]RefreshActiveChecks=120[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]BufferSend=5[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]BufferSize=100[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]MaxLinesPerSecond=100[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]Timeout=3[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]AllowRoot=1[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]Include=/etc/zabbix/zabbix_agentd.d[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]UnsafeUserParameters=0[/SIZE][/FONT]
    [FONT=Whitney][SIZE=16px]LoadModulePath=${libdir}/modules[/SIZE][/FONT][/COLOR]
    Click image for larger version  Name:	Screenshot from 2020-06-21 15-21-56.png Views:	0 Size:	78.5 KB ID:	403779

    Any guidance would be appreciated.
    Last edited by wylde; 22-06-2020, 04:07. Reason: Added tags
Working...