SNMP

check_catalyst_load

Description:

This script monitors the load of a Cisco catalyst via SNMP.

Current Version

1.0

Last Release Date

2010-08-31

Compatible With

  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x

License

GPL


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!
Project Files
Project Notes
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) Add a Review
Working Good except by modifying "use lib" line.
by nishith, November 30, 2022
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.
Helpful? Yes  No 
Perfomance data
by whutest, August 31, 2013
Thank you for this script! It works fine. It would be greate to add perfomance data output.
Helpful? Yes  No 
catalyst 6509
by itzmiko, August 31, 2012
worked perfectly on our catalyst 6509's

Thanks!
Helpful? Yes  No 
Another amazing Cisco check!
by lain2097, January 31, 2011
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!
Helpful? Yes  No 
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
4.4 (5)
Favorites
0
Views
95,318