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-cisco-po

Rating
0 votes
Favoured:
0
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!
check cisco port-channel members status
I took examples from some other scripts out there that are doing the same thing but I've written a more modular one

Syntax:
check-cisco-po.pl -H [Ip/Dns Name of the Switch] -C [snmp community] -P [port-channel number] -s [speed of each interface in the po(Mbps)] -n [number of ints in the po]


the check is based on the fact the interface of your port-channel are at the same speed

so for example:
Say your switch ip is 1.1.1.1 with the public community
you have Po1 with 2 Gigabyte interfaces configure at 1 Gb.

In this situation you'll run the script as follows

check-cisco-po.pl -H 1.1.1.1 -C public -P 1 -s 1000 -n 2

I hope you'll find it useful but I don't guarantee that it will work for you out-of-the so please double check and let me know if you have any errors.