Ad Widget

Collapse

Standard Zabbix template don't detect network interface on windows

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ijurisic
    Junior Member
    • Sep 2021
    • 7

    #1

    Standard Zabbix template don't detect network interface on windows

    Zabbix server 5.4.4 and 6.0.0aplaha3 give same result:

    On Windows 2008 I install Zabbix Agent 2 (5.4.4) and set ServerActive to my Zabbix server and on Server I add template Windows by Zabbix agent active and I have this errors in log :

    66644:20210929:074955.758 item "MYHOST:net.if.in["{5F6CBC98-5702-480C-B7F5-3605EADB9F69}",dropped]" became not supported: Cannot obtain network interface information.
    66644:20210929:074955.759 item "MYHOST:net.if.in["{5F6CBC98-5702-480C-B7F5-3605EADB9F69}",errors]" became not supported: Cannot obtain network interface information.
    66644:20210929:074955.759 item "MYHOST:net.if.in["{5F6CBC98-5702-480C-B7F5-3605EADB9F69}"]" became not supported: Cannot obtain network interface information.
    66644:20210929:074955.759 item "MYHOST:net.if.out["{5F6CBC98-5702-480C-B7F5-3605EADB9F69}",dropped]" became not supported: Cannot obtain network interface information.
    66644:20210929:074955.762 item "MYHOST:net.if.out["{5F6CBC98-5702-480C-B7F5-3605EADB9F69}",errors]" became not supported: Cannot obtain network interface information.
    66645:20210929:075000.760 item "MYHOST:net.if.out["{5F6CBC98-5702-480C-B7F5-3605EADB9F69}"]" became not supported: Cannot obtain network interface information.


    When I going check net.if.list (zabbix_get -s 192.168.0.2 -k net.if.list) I got:

    Ethernet enabled - WAN Miniport (IPv6)
    Ethernet enabled - WAN Miniport (Network Monitor)
    Ethernet enabled - vmxnet3 Ethernet Adapter #3-QoS Packet Scheduler-0000
    Ethernet enabled - vmxnet3 Ethernet Adapter #3-WFP LightWeight Filter-0000
    Ethernet enabled - WAN Miniport (Network Monitor)-QoS Packet Scheduler-0000
    Ethernet unknown - Intel(R) PRO/1000 MT Network Connection
    Ethernet enabled - WAN Miniport (IP)
    Ethernet unknown - vmxnet3 Ethernet Adapter
    Ethernet unknown - vmxnet3 Ethernet Adapter #2
    Ethernet enabled 192.168.0.2 vmxnet3 Ethernet Adapter #3
    Ethernet enabled - WAN Miniport (IP)-QoS Packet Scheduler-0000
    Ethernet enabled - WAN Miniport (IPv6)-QoS Packet Scheduler-0000
    PPP enabled - WAN Miniport (PPPOE)
    PPP enabled - RAS Async Adapter
    Software Loopback enabled 127.0.0.1 Software Loopback Interface 1
    Tunnel type encapsulation enabled - WAN Miniport (SSTP)
    Tunnel type encapsulation enabled - WAN Miniport (IKEv2)
    Tunnel type encapsulation enabled - WAN Miniport (L2TP)
    Tunnel type encapsulation enabled - WAN Miniport (PPTP)
    Tunnel type encapsulation enabled - Microsoft ISATAP Adapter

    Last edited by ijurisic; 29-09-2021, 08:41.
  • ijurisic
    Junior Member
    • Sep 2021
    • 7

    #2
    any solution for v5.4.4 ? I still don't have network traffic from windows where I install zabbix agent?

    Comment

    • ijurisic
      Junior Member
      • Sep 2021
      • 7

      #3
      Originally posted by cyber
      Get previous version of template from git.. hope that link works ..
      https://git.zabbix.com/projects/ZBX/...d154bd556dabc9
      I import template but now I have unsupport preprocessing:

      13365:20210929:143725.187 item "MYHOST:net.if.type["{0B990BE3-51A0-4B3C-AEA8-30132D036B1A}"]" became not supported: Preprocessing failed for: [{"AdapterTypeId":0,"Description":"vmxnet3 Ethernet Adapter","DeviceID":"13","Name":"vmxnet3 Ethe...1. Failed: cannot extract value from json by path "$[?(@.GUID == "{0B990BE3-51A0-4B3C-AEA8-30132D036B1A}")].AdapterTypeId.first()": no data matches the specified path

      13365:20210929:143725.191 item "MYHOST:net.if.status["{0B990BE3-51A0-4B3C-AEA8-30132D036B1A}"]" became not supported: Preprocessing failed for: [{"AdapterTypeId":0,"Description":"vmxnet3 Ethernet Adapter","DeviceID":"13","Name":"vmxnet3 Ethe...1. Failed: cannot extract value from json by path "$[?(@.GUID == "{0B990BE3-51A0-4B3C-AEA8-30132D036B1A}")].NetConnectionStatus.first()": no data matches the specified path


      Comment

      • ijurisic
        Junior Member
        • Sep 2021
        • 7

        #4
        Originally posted by cyber
        That older template version should not have that preprocessing step... That GUID part was added to latest version, what is not working for you...
        diff is here...


        I think you may have some mistake during updating template.. did you unlink and clear the old one and linked new one?
        I now unlink and clear, now I will wait about 30 min. to collect more data. Thanks

        Comment

        • ijurisic
          Junior Member
          • Sep 2021
          • 7

          #5
          All work now, thanks lot !!!

          Click image for larger version

Name:	Screenshot_20210929_160346.png
Views:	4816
Size:	108.6 KB
ID:	432387

          Comment

          • mckaygerhard
            Junior Member
            • Nov 2022
            • 2

            #6
            long time since that error.. i already reported at zabbix but seems people just dont care.. https://support.zabbix.com/browse/ZBX-21217

            we must give up a vote to get this solved and put comment.. https://support.zabbix.com/browse/ZBX-21217

            usage of an older templates will broke in future some stats.. or i dont know.. i like that developers dont change things that are not knowed by thems

            also i ask in some other social networks and neither interested..
            Click image for larger version

Name:	Screenshot from 2022-11-24 21-42-26.png
Views:	3870
Size:	26.4 KB
ID:	454933

            Comment

            • mckaygerhard
              Junior Member
              • Nov 2022
              • 2

              #7
              oh event i canot post without "approbed" puff

              Comment

              Working...