When I look at the current checks, I see the following:
Code: Select all
COMMAND: /usr/local/nagios/libexec/check_snmp -H 10.100.84.172 -C public -o upsBatteryStatus -m USHA-MIB -c 2:2Looking at the USHA-MIB file that I want to use, I see the following trap:
Code: Select all
ushaUpsFailed TRAP-TYPE
ENTERPRISE upsTrapGroup
DESCRIPTION
"SEVERE: The ups is not working fine."
::= 6Code: Select all
COMMAND: /usr/local/nagios/libexec/check_snmp -H 10.100.84.172 -C public -o ushaUpsFailed -m USHA-MIB -c 2:2Code: Select all
OUTPUT: External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: USHA-MIB::ushaUpsFailedSo now I'm really confused. Per the first check command, we are looking at the MIB file titled USHA-MIB. However, it doesn't exist...so A) how is it looking at it B) where is it?