Search found 3 matches

by duffrecords
Wed May 23, 2012 8:27 pm
Forum: Open Source Nagios Projects
Topic: Check routing table of remote server
Replies: 6
Views: 10287

Re: Check routing table of remote server

It should be RFC1213. For example, the OID for ipRouteNextHop is 1.3.6.1.2.1.4.21.1.7. On the remote server I can query it and get a bunch of info: $ snmpwalk -v2c -c public -m +RFC1213-MIB localhost 1.3.6.1.2.1.4.21.1.7 RFC1213-MIB::ipRouteNextHop.0.0.0.0 = IpAddress: (redacted) RFC1213-MIB::ipRout...
by duffrecords
Tue May 22, 2012 4:39 pm
Forum: Open Source Nagios Projects
Topic: Check routing table of remote server
Replies: 6
Views: 10287

Re: Check routing table of remote server

How do I find the correct OID for the routing table? I did a web search and found a few possible ones but they all result in the same error:

Code: Select all

External command error: Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: iso.3.6.1.2.1.4.21
by duffrecords
Tue May 22, 2012 3:18 pm
Forum: Open Source Nagios Projects
Topic: Check routing table of remote server
Replies: 6
Views: 10287

Check routing table of remote server

I need to check a remote server's routing table to make sure a specific route is included and, if not, send an alert. The remote server has SNMP set up but I'm not really familiar with the MIB syntax. If I were to use the check_snmp plugin, what would the appropriate check_command be? I want to make...