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

check-cisco-po

Rating
0 votes
Favoured:
0
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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.