Ad Widget

Collapse

AutoRegistration and 2 interfaces

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • william-cl
    Junior Member
    • May 2023
    • 16

    #1

    AutoRegistration and 2 interfaces

    zabbix server 6.4
    proxy server 6.4
    with agent 4.2.5 and 5.0.23 and 6.4

    If we bring a new host online it autoregisters itself to the proxy server and we see a new host in zabbix with 1 interface using IP
    shortly afterwards (5-30 minutes) we see a second interface added using DNS

    our zabbix agent conf
    PidFile=/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    Server=zabbix server ip
    ServerActive=zabbix server ip
    HostnameItem=system.hostname
    HostMetadataItem=system.uname
    Include=/etc/zabbix/zabbix_agentd.d/*.conf​

    Is this a feature? or am I missing something? How do i prevent this?

    thank you in advance.
  • william-cl
    Junior Member
    • May 2023
    • 16

    #2
    No one has seen this issue?

    Comment

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

      #3

      I have not seen this before...

      Do you have multiple autoreg rules/discoveries? Or you have some external actions somewhere?

      By default agent registers with IP as primary contact method. To force registering with DNS as primary, then you need to use HostInterfaceItem parameter... But you don't have that...

      Comment

      • william-cl
        Junior Member
        • May 2023
        • 16

        #4
        Do you have multiple autoreg rules/discoveries? one for each OS (linux or windows)
        have some external actions somewhere? nope

        Comment

        • kapilyanamandra
          Junior Member
          • Mar 2025
          • 1

          #5
          william-cl were you able to get a fix for this issue? I have the same issue.
          i do not even have HostnameItem or HostMetadataItem defined. I see the host first registers with Ip and then re-registers again with to add a new interface with DNS and it doesnt stop there. The host keeps re-regstering back again and again. Not sure what is going on.

          Comment

          Working...