check_xi_service_snmp
Posted: Wed Jul 02, 2014 10:23 am
I did an SNMP walk and setup a device (it found the OID that I wanted to monitor, I think).
I installed the MIB via the XI GUI and checked "process trap"
Found it in the list called ROOMALERT3E
Error I get is: External command error: Cannot find module (ROOMALERT3E): At line 1 in (none)
I ssh'd to the server and can't run:
./check_snmp -H 172.24.52.130 -p 161 -o enterprises.20916.1.9.1.1.1.2.0 -C public -P 1 -l "Temperature" -u "F" -m ROOMALERT3E.MIB
I get the following:
External command error: Cannot find module (ROOMALERT3E.MIB): At line 0 in (none)
If I remove "-m ROOMALERT3E.MIB" it works fine (BTW: I also tried "-m ROOMALERT3E", same problem
./check_snmp -H 172.24.52.130 -p 161 -o enterprises.20916.1.9.1.1.1.2.0 -C public -P 1 -l "Temperature" -u "F" -w 7100 -c 7500
SNMP OK - Temperature 6607 F | Temperature=6607F;7100;7500;
./check_snmp -H 172.24.52.130 -p 161 -o enterprises.20916.1.9.1.1.1.2.0 -C public -P 1 -l "Temperature" -u "F" -w 6000 -c 7500
SNMP WARNING - Temperature *6652* F | Temperature=6652F;6000;7500;
./check_snmp -H 172.24.52.130 -p 161 -o enterprises.20916.1.9.1.1.1.2.0 -C public -P 1 -l "Temperature" -u "F" -w 6000 -c 6100
SNMP CRITICAL - Temperature *6652* F | Temperature=6652F;6000;6100;
I'm running: Nagios XI 2014R1.2
Guidance please
I installed the MIB via the XI GUI and checked "process trap"
Found it in the list called ROOMALERT3E
Error I get is: External command error: Cannot find module (ROOMALERT3E): At line 1 in (none)
I ssh'd to the server and can't run:
./check_snmp -H 172.24.52.130 -p 161 -o enterprises.20916.1.9.1.1.1.2.0 -C public -P 1 -l "Temperature" -u "F" -m ROOMALERT3E.MIB
I get the following:
External command error: Cannot find module (ROOMALERT3E.MIB): At line 0 in (none)
If I remove "-m ROOMALERT3E.MIB" it works fine (BTW: I also tried "-m ROOMALERT3E", same problem
./check_snmp -H 172.24.52.130 -p 161 -o enterprises.20916.1.9.1.1.1.2.0 -C public -P 1 -l "Temperature" -u "F" -w 7100 -c 7500
SNMP OK - Temperature 6607 F | Temperature=6607F;7100;7500;
./check_snmp -H 172.24.52.130 -p 161 -o enterprises.20916.1.9.1.1.1.2.0 -C public -P 1 -l "Temperature" -u "F" -w 6000 -c 7500
SNMP WARNING - Temperature *6652* F | Temperature=6652F;6000;7500;
./check_snmp -H 172.24.52.130 -p 161 -o enterprises.20916.1.9.1.1.1.2.0 -C public -P 1 -l "Temperature" -u "F" -w 6000 -c 6100
SNMP CRITICAL - Temperature *6652* F | Temperature=6652F;6000;6100;
I'm running: Nagios XI 2014R1.2
Guidance please