Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_cisco_interfaces

Current Version
1.0
Last Release Date
2012-10-27
Compatible With
  • Nagios 3.x
  • Nagios XI
Owner
License
GPL
Hits
61395
Files:
FileDescription
check_cisco_interfaces.plcheck_cisco_interfaces.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This is a Nagios Plugin destined to check the state and bandwidth of specified interface of Cisco device via SNMP.
The 'snmp' package must be installed on the Nagios box. The plugin is destined for SNMP version 2.

The plugin checks both administrative status and operational status. If specified it can check both inbound and outbound bandwidth against warning / critical thresholds. It has been successfully tested on the following Cisco devices:

- Aironet 1250 AP
- ASA 5505
- ASA 5510
- 2811 router

Usage:
check_asa_interfaces.pl [options] (-help || -?)

Options:
Mandatory:

-H IP address of monitored Cisco ASA device

-C SNMP community

-I Interface name

Optional:

-warn Warning threshold in Mb/s

-crit Critical threshold in Mb/s
Reviews (3)
byS54326, August 16, 2015
Testing this pluging it was taking far too long to complete, over 2 minutes!!!
Looking through the script, there is a function called countInterfaceBandwith and in there is a 'sleep 60' command. The function gets called twice for inbound and outbound hence 2 minutes.
It does its job very well but is very slow..i had to increase all the services timeout in
/usr/local/nagios/etc/nagios.cfg
to get it working in nagiosxi
bytfgroup, July 16, 2014
This works as designed but is extremely slow to poll results. If I run it straight from the nagios box, it takes about 3 minutes to return the numbers. When i run it as a service, it times out after 60 seconds. Thoughts?