Ad Widget

Collapse

Network Interface Discovery is stopped working on Windows hosts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Copyright
    Junior Member
    • Oct 2021
    • 5

    #1

    Network Interface Discovery is stopped working on Windows hosts

    Hi. I have a strange thing. All my windows hosts with zabbix agent is stopped recive information about Network Interfaces. It says that this element is not discoverible enymore and will be deleted in some time. When i create a new host on windows i cant receive information about network interface. With zabbix_get (net.if.discovery and wmi.getall) i see data. I tryed zabbix agent and zabbix agent 2, templates are default, with Linux hosts all ok. Centos 7. I thing it happend when i update my server and receave zabbix server update from 5.0.16 to 5.0.17. Maybe you can help me resolve this thing
  • Oz_Joris
    Junior Member
    • Sep 2021
    • 19

    #2
    For my part, the problems related to the rules of discovery are often due to a problem of versions (and thus can be effectively of update). An obsolete agent compared to the server version for example. I advise you to see if you can't also update your agents ?

    I hope this will help you,

    Sincerely, Oz_Joris

    Comment

    • Copyright
      Junior Member
      • Oct 2021
      • 5

      #3
      I tryed the new agent version 5.0.17 but no result

      Comment

      • Oz_Joris
        Junior Member
        • Sep 2021
        • 19

        #4
        And if you go to the element of the discovery rule and do a "test", it already returns an error for the network interfaces?

        Comment

        • Copyright
          Junior Member
          • Oct 2021
          • 5

          #5
          Hmm. I cant do a test for net.if.discovery because it has a root element WMI get. Maybe i do something wrong. WMI get passed the test

          Comment

          • Copyright
            Junior Member
            • Oct 2021
            • 5

            #6
            I found that network interface discovery uses some java script:

            output = JSON.parse(value).map(function(net){
            return {
            "{#IFNAME}": net.Name,
            "{#IFDESCR}": net.Description,
            "{#IFALIAS}": net.NetConnectionID,
            "{#IFGUID}": net.GUID
            }})
            return JSON.stringify({"data": output})

            Maybe something wrong with this ?

            Comment

            • Copyright
              Junior Member
              • Oct 2021
              • 5

              #7
              So, i found the solution. In version 5.0.17 "Network Interface Discovery" is a part of "Template OS Windows by Zabbix agent" (previously its been separate template "Template Module Windows network by Zabbix agent"). When i attache old separeted temlates to my host, all works fine. Maybe a bug in new template.

              Comment

              Working...