SNMP to check status of interfaces?


Hello All,
I am currently using Nagios’ ./check_snmp to gather Load information from our Interface links as well as the Load on the CPU itself on our Cisco devices. Those are working fine now and I wanted to know if anyone knows how to check the interface status on our routers?

I am looking for a way to check the interfaces to tell me whether the interfaces are up or down. Can I use the ./check_snmp plugin to check this and if so how?

I’ve downloaded some third party plugins such as:

But for some reason that plugin is not working. When I try to check the interface status from the command line I get an error of:

Can’t call method “get_request” on an undefined value at ./check_snmp_cisco_ifstatus line 148.

Anyway, I just want to know the up or down status of my interfaces.

All help is greatly appreciated. :slight_smile:


Simply find the correct OID.
If i’m not mistaken every switch has an OID for each port indicating “up/down”, “shut/no shut” and so on,…



ifOperStatus = .
add .1 to whatever for the if in question.
Get yourself mbrowse so you dont have to ask these silly questions. :slight_smile:
Seriously, I would have no use for nagios without mbrowse.