Ad Widget

Collapse

Just want the physical network adapter from Windows client

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eVal
    Junior Member
    • Jun 2017
    • 7

    #1

    Just want the physical network adapter from Windows client

    Hello,

    I'm struggeling for a while now to get just the physical network adapters from Windows clients in Zabbix.

    The Network interface discovery rule is default, I just added some filters using regular expressions to kick out any virtual adapters. The list I end up with looks like this:

    Click image for larger version

Name:	Adapters.png
Views:	2
Size:	38.0 KB
ID:	317956

    What goes wrong is that the Realtek USB FE Family Controller is listed 5 times, but only one is active (#5).

    The reason of the other four adapters is driver updates etc. In Windows I deleted the old adapters but all five keep popping up in Zabbix.

    I tried to use WMI to just get the physical network adapters but no luck here.
    wmi.get[root\cimv2,Select * From Win32_NetworkAdapter Where PhysicalAdapter = 1]

    When I use zabbix_get -s 127.0.0.1 -k net.if.list the list that appears had a column with and enabled/disabled/unknown value. Is it possible to filter on this, because ale the enabled adapters are valid.
  • wajika
    Junior Member
    • Jan 2020
    • 7

    #2

    I also have some questions about this, how do I let zabbix know which network adapteris in use, and then how to select it?



    Are there any best practices for ”net.if.in[if,<mode>]“ commands?
    Last edited by wajika; 03-11-2020, 03:16.

    Comment

    Working...