check_snmp critical but interface displayed status is ok

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
amerikarno
Posts: 1
Joined: Fri Nov 06, 2020 12:08 am

check_snmp critical but interface displayed status is ok

Post by amerikarno »

Used check_snmp to monitor firewall interface.

by running check_snmp command it's seem to be ok as below

# ./libexec/check_snmp --hostname=192.168.170.1 --community=public --oid=ifOperStatus.2 -m IF-MIB -s 'up(1)'
SNMP OK - up(1) |
# ./libexec/check_snmp --hostname=192.168.170.1 --community=public --oid=ifOperStatus.3 -m IF-MIB -s 'up(1)'
SNMP CRITICAL - *down(2)* |

but on web interface the status of wan2 is wrong as attach
Attachments
check_snmp_202011061215.png
Locked