Ad Widget

Collapse

Get network adapter configuration with WMI

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deadbeef
    Junior Member
    • Jul 2017
    • 1

    #1

    Get network adapter configuration with WMI

    Hello,

    I'm trying to get items about network information like dnsdomain, ipsubnet, ipaddress, ipgateway with the Zabbix_agent.

    I'd like to use this kind of command, but I'm getting stuck
    Code:
    PS C:\zabbix_agent\bin\win64> .\zabbix_agentd.exe  --config C:\zabbix_agent\conf\zabbix_agentd.win.conf -t "wmi.get[root\cimv2,select ipaddress from win32_networkadapterconfiguration]"
    wmi.get[root\cimv2,select ipaddress from win32_networkadapterconfiguration] [m|ZBX_NOTSUPPORTED] [Cannot obtain WMI information.]
    I'm pretty new on Zabbix, sorry if I'd missed something.

    Cheers
  • sk3pp3r
    Junior Member
    • Nov 2015
    • 18

    #2
    Originally posted by deadbeef
    Hello,

    I'm trying to get items about network information like dnsdomain, ipsubnet, ipaddress, ipgateway with the Zabbix_agent.

    I'd like to use this kind of command, but I'm getting stuck
    Code:
    PS C:\zabbix_agent\bin\win64> .\zabbix_agentd.exe  --config C:\zabbix_agent\conf\zabbix_agentd.win.conf -t "wmi.get[root\cimv2,select ipaddress from win32_networkadapterconfiguration]"
    wmi.get[root\cimv2,select ipaddress from win32_networkadapterconfiguration] [m|ZBX_NOTSUPPORTED] [Cannot obtain WMI information.]
    I'm pretty new on Zabbix, sorry if I'd missed something.

    Cheers
    try this:

    Comment

    • sk3pp3r
      Junior Member
      • Nov 2015
      • 18

      #3
      zbxwmi

      Contribute to dav3860/zabbix_scripts development by creating an account on GitHub.

      Comment

      Working...