Here is what I have:
Check Command: check_xi_service_snmp
Command View: $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$
$ARG1$
Code: Select all
-o .1.3.6.1.4.1.2947.1.8.1.0 -C public -P 1 -l "Alarms" -u "Active" -c 1I feel like this should be simple.
Code: Select all
-o .1.3.6.1.4.1.2947.1.8.1.0 -C public -P 1 -l "Alarms" -u "Active" -c 1Code: Select all
/usr/local/nagios/libexec/check_snmp -H yourhostaddresshere -o .1.3.6.1.4.1.2947.1.8.1.0 -C public -P 1 -l "Alarms" -u "Active" -c 1-4 -s --verbosePlease collect the following logs and PM them over:adding:
-s, --string=STRING
Return OK state (for that OID) if STRING is an exact match
--verbose to show more details
Code: Select all
tar -czvf /tmp/logresults.txt /usr/local/nagiosxi/var/* /usr/local/nagios/var/nagios.logCode: Select all
/usr/local/nagios/libexec/check_snmp -H 10.x.x.5 -o .1.3.6.1.4.1.2947.1.8.1.0 -C public -P 1 -l "Alarms" -u "Active" -c 0 -s --verboseCode: Select all
/usr/local/nagios/libexec/check_snmp -H 10.x.x.41 -o .1.3.6.1.4.1.2947.1.8.1.0 -C public -P 1 -l "Alarms" -u "Active" -c 0 -s --verboseCode: Select all
-o .1.3.6.1.4.1.2947.1.8.1.0 -C public -P 1 -l "Alarms" -u "Active" -c 0Code: Select all
snmpwalk -v1 -c public <yourhostaddresshere> .1.3.6.1.4.1.2947.1.8.1.0Code: Select all
-o .1.3.6.1.4.1.2947.1.8.1.0 -C public -P 1 -l "Alarms" -u "Active" -c 1