Wrong network discovery behavior on hosts with multiple IP address

XMLWordPrintable

    • S25-W48/49, S25-W50/51/52/01, S26-W02/03
    • 4

      After updating Zabbix server from 7.0.16 to 7.0.21  we are experiencing strange behaviours in Network Discovery logic on hosts with multiple IP addresses

      Steps to reproduce:

      1. Create a host with its primary address on its agent interface (i.e. 192.168.64.5)
      2. Configure a Network discovery rule with two agent checks:   system.hostname and system.uname. Set scan update interval to 2m. Set Device unique criteria to "system.hostname"
      3. Let Zabbix discover the first IP and associate to the monitored host
      4. Add a secondary address to the host  (192.168.64.10) and let Zabbix discover this second IP too
      5. See Discovery result

      Result:

      • the first IP is marked as not discovered anymore (with red background, which is WRONG)
      • the uptime/downtime counter gets reset every 2 minutes for both addresses (which again is WRONG)
      • See screenshot{}

      Expected:
      The two IP addresses are both reported as discovered, as in older Zabbix release.

       

      This behaviour severly breaks our logic discovery logic on clusters and several other systems with multiple IPs, leading to undesired host deletion. 

      I suspect this can be a side effect of the ZBX-26863 fix.

       

        1. action.png
          68 kB
          Nicola Mauri
        2. Discovery_incosistent_frontend.jpg
          60 kB
          Artjoms Elons Tatsu
        3. discovery result.png
          126 kB
          Nicola Mauri
        4. host-after-discovery.png
          198 kB
          Nicola Mauri
        5. host-before-discovery.png
          193 kB
          Nicola Mauri
        6. image-2025-11-06-01-03-00-680.png
          229 kB
          Nicola Mauri
        7. screen0513.png
          263 kB
          Nicola Mauri
        8. screen0517.png
          153 kB
          Nicola Mauri
        9. screen0522.png
          122 kB
          Nicola Mauri
        10. screen0523.png
          220 kB
          Nicola Mauri

            Assignee:
            Michael Veksler
            Reporter:
            Nicola Mauri
            Team B
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 32h Original Estimate - 32h
                32h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 99h
                99h