Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_cisco_status
1.1
2011-05-20
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
- Nagios Fusion
GPL
101611
File | Description |
---|---|
check_cisco_status.pl | cisco stauts check script |
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 was born to check if a cisco MDS port is up or down using SNMP. It is rather easy to use, and even easier to modify to do what is needed.
I had a need to check a cisco MDS switch to see if a port is up or down. I found many scripts to do this, but they did not work correctly.
I decided it would be quicker to write a perl plugin to do this for me. I've created this plugin which initally checks if a port is up or down. But this script is very flexable and can be modified easily to do what you want. Version 1.1 now implements YAML file caching. This speeds up additional checks and saves SNMP load on cisco devices by looking at the cache file first. Cache file is kept in /tmp and there is one file per device.
I do ask any mods to be sent back to myself so I can update this page.
I decided it would be quicker to write a perl plugin to do this for me. I've created this plugin which initally checks if a port is up or down. But this script is very flexable and can be modified easily to do what you want. Version 1.1 now implements YAML file caching. This speeds up additional checks and saves SNMP load on cisco devices by looking at the cache file first. Cache file is kept in /tmp and there is one file per device.
I do ask any mods to be sent back to myself so I can update this page.
Reviews (1)
byxoroz, May 28, 2012
Trying a Cisco switch and getting always this
Agent not responding, tried SNMP v1 and v2
Agent not responding, tried SNMP v1 and v2