Wrong network discovery behavior on hosts with multiple IP address

XMLWordPrintable

    • S25-W48/49, S25-W50/51/52/01, S26-W04/05, S26-W06/07, S26-W18/19
    • 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. zabbix-server-pgsql-7.0.23-release1.el9.x86_64.rpm
          2.33 MB
        2. zabbix-server-pgsql-7.0.23-release1.el8.x86_64.rpm
          2.47 MB
        3. zabbix-server-mysql-7.0.23-release1.el9.x86_64.rpm
          2.33 MB
        4. zabbix-server-mysql-7.0.23-release1.el8.x86_64.rpm
          2.46 MB
        5. zabbix-server.log
          10 kB
        6. zabbix-proxy-sqlite3-7.0.23-release1.el9.x86_64.rpm
          1.69 MB
        7. zabbix-proxy-sqlite3-7.0.23-release1.el8.x86_64.rpm
          1.79 MB
        8. zabbix-proxy-pgsql-7.0.23-release1.el9.x86_64.rpm
          1.87 MB
        9. zabbix-proxy-pgsql-7.0.23-release1.el8.x86_64.rpm
          1.97 MB
        10. zabbix-proxy-mysql-7.0.23-release1.el9.x86_64.rpm
          1.87 MB
        11. zabbix-proxy-mysql-7.0.23-release1.el8.x86_64.rpm
          1.97 MB
        12. zabbix_serverUpDown.log
          10 kB
        13. screen0997.png
          screen0997.png
          187 kB
        14. screen0939.png
          screen0939.png
          119 kB
        15. screen0938.png
          screen0938.png
          120 kB
        16. screen0523.png
          screen0523.png
          220 kB
        17. screen0522.png
          screen0522.png
          122 kB
        18. screen0517.png
          screen0517.png
          153 kB
        19. screen0513.png
          screen0513.png
          263 kB
        20. image-2026-03-17-10-51-55-999.png
          image-2026-03-17-10-51-55-999.png
          22 kB
        21. image-2026-03-17-10-48-11-109.png
          image-2026-03-17-10-48-11-109.png
          22 kB
        22. image-2026-03-17-10-47-47-782.png
          image-2026-03-17-10-47-47-782.png
          22 kB
        23. image-2026-03-17-10-45-10-134.png
          image-2026-03-17-10-45-10-134.png
          3 kB
        24. image-2026-03-17-10-41-56-992.png
          image-2026-03-17-10-41-56-992.png
          29 kB
        25. image-2026-03-13-18-11-55-611.png
          image-2026-03-13-18-11-55-611.png
          48 kB
        26. image-2026-03-13-18-11-28-450.png
          image-2026-03-13-18-11-28-450.png
          4 kB
        27. image-2026-03-13-17-58-22-210.png
          image-2026-03-13-17-58-22-210.png
          4 kB
        28. image-2026-03-13-17-52-21-838.png
          image-2026-03-13-17-52-21-838.png
          4 kB
        29. image-2026-03-13-17-45-41-150.png
          image-2026-03-13-17-45-41-150.png
          3 kB
        30. image-2026-03-13-17-44-52-524.png
          image-2026-03-13-17-44-52-524.png
          28 kB
        31. image-2026-03-13-16-25-35-193.png
          image-2026-03-13-16-25-35-193.png
          27 kB
        32. image-2026-03-13-16-16-20-420.png
          image-2026-03-13-16-16-20-420.png
          66 kB
        33. image-2026-03-13-16-14-04-201.png
          image-2026-03-13-16-14-04-201.png
          50 kB
        34. image-2026-03-13-16-12-32-353.png
          image-2026-03-13-16-12-32-353.png
          26 kB
        35. image-2026-03-13-15-56-32-555.png
          image-2026-03-13-15-56-32-555.png
          49 kB
        36. image-2025-11-06-01-03-00-680.png
          image-2025-11-06-01-03-00-680.png
          229 kB
        37. host-before-discovery.png
          host-before-discovery.png
          193 kB
        38. host-after-discovery.png
          host-after-discovery.png
          198 kB
        39. discovery result.png
          discovery result.png
          126 kB
        40. discovery_v70_ZBX-27200_ZBX-27176.patch
          56 kB
        41. Discovery_incosistent_frontend.jpg
          Discovery_incosistent_frontend.jpg
          60 kB
        42. action.png
          action.png
          68 kB

            Assignee:
            Artjoms Elons Tatsu
            Reporter:
            Nicola Mauri
            Team B
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:

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