Nagios server :centos 6.7 32bit
Nagios version: 4.0.8
./check_snmp -H localhost -C public -o .1.3.6.1.2.1.25.2.2
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.2.1.25.2.2
how to solve it ,please help !
Nagios plugin-check_snmp
Re: Nagios plugin-check_snmp
A couple of things to check for this is do you have SNMP installed and enabled through the firewall for the localhost?
In your example, you are not specifying the SNMP version, most newer systems are running SNMP version 2 and if the localhost is running version 2, try running the command as below.
Let us know if this works or not.
In your example, you are not specifying the SNMP version, most newer systems are running SNMP version 2 and if the localhost is running version 2, try running the command as below.
Code: Select all
./check_snmp -H localhost -C public -o .1.3.6.1.2.1.25.2.2 -P 2cBe sure to check out our Knowledgebase for helpful articles and solutions!