Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_catalyst_load
1.0
2010-08-31
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
GPL
95343
File | Description |
---|---|
check_catalyst_load.pl | check_catalyst_load.pl |
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!
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
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)
bynishith, November 15, 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.
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!
Thanks!
bylain2097, January 8, 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!
Working on 4507R-E, 3750X stacks, 1721 and 2960G.
Got to set up the rest of my environment!