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
95298
Files:
FileDescription
check_catalyst_load.plcheck_catalyst_load.pl
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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!