[Nagios-users] snmpwalk works but check_snmp doesn't
Nagios network monitoring software is enterprise server monitoring
Brought to you by:
egalstad,
sawolf-nagios
From: Athiqur R. <su...@ar...> - 2010-04-28 10:11:34
|
I am trying to monitor the status of my BGP connections on a cisco box. I can get the status of the connection via [root@watcher libexec]#snmpwalk -v2c -c public 172.16.0.1 .1.3.6.1.2.1.15.3.1.2 SNMPv2-SMI::mib-2.15.3.1.2.212.12.10.11 = INTEGER: 6 SNMPv2-SMI::mib-2.15.3.1.2.234.13.11.109 = INTEGER: 6 you can see i get state established (6) for both peers 212.12.10.11 and 234.13.11.109 But when I execute using the nagios snmp plugin i get the following [root@watcher libexec]# ./check_snmp -H 172.16.0.1 -P 2c -C public -o .1.3.6.1.2.1.15.3.1.2 SNMP OK - No Such Instance currently exists at this OID | What is the best way to go about monitoring the state of the bgp connection? thanks |