Check_snmp Usage
Posted: Mon May 23, 2016 2:37 pm
Hello Everybody i am having issue with check_snmp this is for a Tripp Lite UPS
so if i run this command
./check_snmp -H xx.xx.xx.xx -C xxxxx -o .1.3.6.1.2.1.33.1.1.2
./check_snmp -H xx.xx.xx.xx -P 1 -C xxxx -o .1.3.6.1.2.1.33.1.1.2
i get an output of
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.33.1.1.2
so i decided to run this command
./check_snmp -H xx.x.xx.xx -P 1 -C xxxxx -o .1.3.6.1.2.1.33.1.1.2 -m UPS-MIB
and i get this error msg (i verify this with snmpwalk so i now this exist)
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UPS-MIB::upsIdentModel
so i verify that this is the correct info and ran this
snmptranslate .1.3.6.1.2.1.33.1.1.2
UPS-MIB::upsIdentModel
then this snmptranslate .1.3.6.1.2.1.33.1.1.2 -On
.1.3.6.1.2.1.33.1.1.2
so i ran this
./check_snmp -H xx.xx.xx.xx -P 1(and 2c) -C xxxxx -o .1.3.6.1.2.1.33.1.1.2 -m UPS-MIB
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UPS-MIB::upsIdentModel
so i ran this command
./check_snmp -H xx.x.xx.xx -P 1 -C univoice -o .1.3.6.1.2.1.33.1.1.2 -m UPS-MIB -On
the first time i run this i get the info that i am looking for
SNMP OK - SU5000RT4U |
then i run again back to back serveral times and it rotates the this to outputs
SNMP OK - SU5000RT4U |
SNMP OK - 09 | UPS-MIB::upsIdentUPSSoftwareVersion.0=09
these are the MIBS that i am have loaded in /etc/snmpd/snmp.conf
mibs +UPS-MIB
mibs +TRIPPLITE-MIB
mibs +PowerNet-MIB
mibs +BROTHER-MIB
how can i get a straight answer from check_snmp
those all of it look correct
so if i run this command
./check_snmp -H xx.xx.xx.xx -C xxxxx -o .1.3.6.1.2.1.33.1.1.2
./check_snmp -H xx.xx.xx.xx -P 1 -C xxxx -o .1.3.6.1.2.1.33.1.1.2
i get an output of
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.33.1.1.2
so i decided to run this command
./check_snmp -H xx.x.xx.xx -P 1 -C xxxxx -o .1.3.6.1.2.1.33.1.1.2 -m UPS-MIB
and i get this error msg (i verify this with snmpwalk so i now this exist)
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UPS-MIB::upsIdentModel
so i verify that this is the correct info and ran this
snmptranslate .1.3.6.1.2.1.33.1.1.2
UPS-MIB::upsIdentModel
then this snmptranslate .1.3.6.1.2.1.33.1.1.2 -On
.1.3.6.1.2.1.33.1.1.2
so i ran this
./check_snmp -H xx.xx.xx.xx -P 1(and 2c) -C xxxxx -o .1.3.6.1.2.1.33.1.1.2 -m UPS-MIB
External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: UPS-MIB::upsIdentModel
so i ran this command
./check_snmp -H xx.x.xx.xx -P 1 -C univoice -o .1.3.6.1.2.1.33.1.1.2 -m UPS-MIB -On
the first time i run this i get the info that i am looking for
SNMP OK - SU5000RT4U |
then i run again back to back serveral times and it rotates the this to outputs
SNMP OK - SU5000RT4U |
SNMP OK - 09 | UPS-MIB::upsIdentUPSSoftwareVersion.0=09
these are the MIBS that i am have loaded in /etc/snmpd/snmp.conf
mibs +UPS-MIB
mibs +TRIPPLITE-MIB
mibs +PowerNet-MIB
mibs +BROTHER-MIB
how can i get a straight answer from check_snmp
those all of it look correct