I've installed Net-SNMP and added the following to zabbix_agentd.conf on Windows 2008 R2 Server.
UserParameter=snmpget[*],c:\zabbix\net-snmp\bin\snmpget.exe -OaeQtUv0 -c public -v 1 localhost $1
The MIB is being passed from the template (.1.3.6.1.4.1.674.10892.1.200.10.1.50.1).
Instead of returning the correct SNMP value, in this case "3", the Zabbix log is capturing warnings (see below) - and nothing is showing up in latest data.
Has anyone experienced this?
2432:20121016:093304.275 Run remote command [c:\zabbix\net-snmp\bin\snmpget.exe -OaeQtUv0 -c public -v 1 localhost .1.3.6.1.4.1.674.10892.1.200.10.1.50.1] Result [1259] [3
MIB search path: ]...
2432:20121016:093304.275 For key [snmpget[.1.3.6.1.4.1.674.10892.1.200.10.1.50.1]] received value [3
MIB search path: c:/usr/share/snmp/mibs
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)]
UserParameter=snmpget[*],c:\zabbix\net-snmp\bin\snmpget.exe -OaeQtUv0 -c public -v 1 localhost $1
The MIB is being passed from the template (.1.3.6.1.4.1.674.10892.1.200.10.1.50.1).
Instead of returning the correct SNMP value, in this case "3", the Zabbix log is capturing warnings (see below) - and nothing is showing up in latest data.
Has anyone experienced this?
2432:20121016:093304.275 Run remote command [c:\zabbix\net-snmp\bin\snmpget.exe -OaeQtUv0 -c public -v 1 localhost .1.3.6.1.4.1.674.10892.1.200.10.1.50.1] Result [1259] [3
MIB search path: ]...
2432:20121016:093304.275 For key [snmpget[.1.3.6.1.4.1.674.10892.1.200.10.1.50.1]] received value [3
MIB search path: c:/usr/share/snmp/mibs
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (HOST-RESOURCES-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (NOTIFICATION-LOG-MIB): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (NET-SNMP-AGENT-MIB): At line 0 in (none)
Cannot find module (DISMAN-EVENT-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)]
Comment