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_catalyst_load

Rating
5 votes
Favoured:
0
Current Version
1.0
Last Release Date
2010-08-31
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
License
GPL
Hits
94955
Files:
FileDescription
check_catalyst_load.plcheck_catalyst_load.pl
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
This script monitors the load of a Cisco catalyst via SNMP.
It requests some data of a catalyst via SNMP to analyze them and notifies you via Nagios if the load is getting to high.

This script should be called with -s [SWITCHIP], -C [COMMUNITYSTRING], -w [WARNLEVEL] and -c [CRITLEVEL]. For more information just run it with -h.

Tested with different IOS versions and SNMP protocol version 2c. If you want to use a different SNMP protocol version, just modify the Net::SNMP->session(...) call.

To learn how to enable SNMP in your catalyst’s IOS and more informations at https://binfalse.de
Reviews (4)
The command is generating proper output. See below.
cd /usr/local/nagios/libexec/
./check_catalyst_load.pl -s 192.168.1.11 -C nishith007 -w 55,65,75 -c 76,85,85

OK: CPU1000: 2% 2% 2% ! CPU2000: 1% 2% 2% !
==========================
Also, you may need to modify the path where the said plugin has been deployed. In my case, the path is "/usr/local/nagios/libexec/" only.

So, change the path like,
use lib "/usr/local/nagios/libexec/";

Save the file & you're good to go.
bywhutest, August 25, 2013
Thank you for this script! It works fine. It would be greate to add perfomance data output.
byitzmiko, August 30, 2012
worked perfectly on our catalyst 6509's

Thanks!
Works perfectly in my environment; flexible thresholds.

Working on 4507R-E, 3750X stacks, 1721 and 2960G.

Got to set up the rest of my environment!