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
    • 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_v70_ZBX-27200_ZBX-27176.patch
          56 kB
          Michael Veksler
        4. discovery result.png
          126 kB
          Nicola Mauri
        5. host-after-discovery.png
          198 kB
          Nicola Mauri
        6. host-before-discovery.png
          193 kB
          Nicola Mauri
        7. image-2025-11-06-01-03-00-680.png
          229 kB
          Nicola Mauri
        8. screen0513.png
          263 kB
          Nicola Mauri
        9. screen0517.png
          153 kB
          Nicola Mauri
        10. screen0522.png
          122 kB
          Nicola Mauri
        11. screen0523.png
          220 kB
          Nicola Mauri
        12. screen0938.png
          120 kB
          Nicola Mauri
        13. screen0939.png
          119 kB
          Nicola Mauri
        14. zabbix-proxy-mysql-7.0.23-release1.el8.x86_64.rpm
          1.97 MB
          Michal Laga
        15. zabbix-proxy-mysql-7.0.23-release1.el9.x86_64.rpm
          1.87 MB
          Michal Laga
        16. zabbix-proxy-pgsql-7.0.23-release1.el8.x86_64.rpm
          1.97 MB
          Michal Laga
        17. zabbix-proxy-pgsql-7.0.23-release1.el9.x86_64.rpm
          1.87 MB
          Michal Laga
        18. zabbix-proxy-sqlite3-7.0.23-release1.el8.x86_64.rpm
          1.79 MB
          Michal Laga
        19. zabbix-proxy-sqlite3-7.0.23-release1.el9.x86_64.rpm
          1.69 MB
          Michal Laga
        20. zabbix-server-mysql-7.0.23-release1.el8.x86_64.rpm
          2.46 MB
          Michal Laga
        21. zabbix-server-mysql-7.0.23-release1.el9.x86_64.rpm
          2.33 MB
          Michal Laga
        22. zabbix-server-pgsql-7.0.23-release1.el8.x86_64.rpm
          2.47 MB
          Michal Laga
        23. zabbix-server-pgsql-7.0.23-release1.el9.x86_64.rpm
          2.33 MB
          Michal Laga

            Assignee:
            Glebs Mirosnikovs
            Reporter:
            Nicola Mauri
            Team B
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:

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