Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check cisco port-channel members status
Current Version
Last Release Date
December 23, 2011
Owner
Ran Leibman
Download URL
https://github.com/ranl/monitor-utils/blob/master/nagios/https://raw.github.com/ranl/IT/master/Nagios/check-cisco-po.pl
License
GPL
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.
You must be logged in to submit a review.
To:
From: