Snmp Check Status
Posted: Tue May 16, 2023 7:37 am
Our snmp command as named OID can nagios understand them? if i run the command at shell
/usr/local/nagios/libexec/check_snmp -H [IP] -P 3 -U [USER] -L authPriv -a SHA -A [KEY] -x AES -X [KEY] -o IF-MIB::ifOperStatus.10150
SNMP OK - up(1)
it return everything ok
if nagios core run the command it return an error
$USER1$/check_snmp -H $HOSTADDRESS$ -P 3 -U $USER3$ -L authPriv -a SHA -A $USER4$ -x AES -X $USER5$ -o IF-MIB::ifOperStatus.10150 (undefined)
-> IF-MIB::ifOperStatus.10150 <- this appear in RED. How can i resolve it?
/usr/local/nagios/libexec/check_snmp -H [IP] -P 3 -U [USER] -L authPriv -a SHA -A [KEY] -x AES -X [KEY] -o IF-MIB::ifOperStatus.10150
SNMP OK - up(1)
it return everything ok
if nagios core run the command it return an error
$USER1$/check_snmp -H $HOSTADDRESS$ -P 3 -U $USER3$ -L authPriv -a SHA -A $USER4$ -x AES -X $USER5$ -o IF-MIB::ifOperStatus.10150 (undefined)
-> IF-MIB::ifOperStatus.10150 <- this appear in RED. How can i resolve it?