Ad Widget

Collapse

Zabbix agent active only but still adding a passive interface at auto-register (6.2)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zeiko
    Junior Member
    • Feb 2022
    • 23

    #1

    Zabbix agent active only but still adding a passive interface at auto-register (6.2)

    Hi,

    Just upgraded to 6.2 to get the availability green check when using active agent.

    Problem is, the host still add a passive interface when it is auto registered which gave me a yellow icon instead of a green one.

    If I manually delete the passive interface then the host instantly switch to a green check, but since I need to migrate hundreds of hosts I don't want to manually remove the passive interface on all of them.

    Does anyone know how I can avoid that ?

    Here's the content of my zabbix_agentd.conf :

    Code:
    PidFile=/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=100
    StartAgents=0
    ServerActive=myproxy.mydomain.net
    HostnameItem=system.hostname
    HostMetadata=Linux apache2 mariadb-server
    Include=/etc/zabbix/zabbix_agentd.d/*.conf
    TLSConnect=psk
    TLSAccept=psk
    TLSPSKIdentity=agent-registration
    TLSPSKFile=/var/lib/zabbix/agent-registration.psk
  • Moonshine
    Junior Member
    • Jul 2022
    • 7

    #2
    I'm looking for an answer for this as well. There doesn't seem to be a way to disable adding a passive interface on auto-registration (which is odd), and no way to remove it via actions. Seems very odd to assume every auto-reg host should have a passive interface, especially when it's an active connection kicking things off. :/
    Last edited by Moonshine; 11-01-2023, 23:34.

    Comment

    Working...