Cisco interface change?

Is there plugin out there that monitors for status change on interface status?

Patrick Proys check_snmp_int is nearly what i want with its regex matching and such. Basically im looking for the same functionality, but instead of always exiting CRITICAL when an int is down Id like to cache the status. A WARN/CRIT would be issued if an interface has gone up/down since last check. This way I could use one service check of “^FastEth” on multiple routers and only alert when a previously working interface goes up/down.

Nagios sends alert upon “STATE CHANGE” So your requirement “alert when a previously working interface goes up/down” would be met in that case.

As for “status change on interface status” I use check_snmp for many many interfaces on routers/switches/ethernet cards.
The oid to walk and look at all the interfaces is:
Then add the interface index to the end of that to query that particular interface.
For example to qery the E52 interface on a BLN router, you could use oid:
The check command would look like:
check_command check_snmp!public!.!1!ifOperStatus!RFC1213-MIB

define command{
command_name check_snmp
command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -r $ARG3$ -l $ARG4$ -m $ARG5$