Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
check the vss link between two cisco 6500
Current Version
0.1
Last Release Date
2009-11-23
Owner
dwizz
Compatible With
Check if the VSS and the vsl link work.
It check also if the first 6500 it the primary or no
A few fixes... language to English, corrected OID and regex (as mentioned in other reviews). Changed the "primary isn't active, its standby" from a critical to a warning, since in my book, if its functioning, that's not enough to wake me up at night. I may disable that alltogether in what I put into production, since I don't really care which is primary (I have other stuff to catch events that cause switchovers). 59c59 print "No host defined!n";help(); exit $ERREUR{"UNKNOWN"}; 83c83 print "Switch: Standalone "; 89c89 print "Switch: VSS mode in transit "; 93c93 elsif ( /388.1.3.1.1.3s+= S+:s+2/ ) 95c95 print "VSL: not active "; 101c101 print "VSS: OK "; 109c109 print "No SNMP Response: Critical"; 141c141 print " Primary Chassis is Active: Ok"; 145,146c145,146 $retour=$ERREUR{"WARNING"}; 155c155 print " Secondary Chassis is Standby: Ok "; 159,160c159,160 $retour=$ERREUR{"WARNING"}; 163c163,164 elsif ( /388.1.2.2.1.2.(S+)s+=s+S+:s+1/ ) > # elsif ( /388.1.2.2.1.1.(S+)s+=s+S+:s+1/ ) 167c168 print " Primary Chassis is standalone: CRITICAL "; 171c172 print " Secondary Chassis is standalone: CRITICAL "; 175c176 print " Chassis condition cannot be verified: CRITICAL "; 196c197 print " VSL $1 name $2: and ";
Hi, It doesnt work completely. (dont mind the translation) I get: VSS: OK VSL: not active Primary Chassis Active: Ok Secondary Chassis standby: OK VSL 209: OK VSL 210: OK When i go to my VSS and check: sh switch virtual link VSL Status : UP VSL Uptime : 2 years, 33 weeks, 3 days, 23 hours, 33 minutes VSL SCP Ping : Pass VSL ICC Ping : Pass VSL Control Link : Te1/5/5 What is going wrong here?
pad99 was right, the regex in line 163 is wrong, also. Line 163 should look like this: elsif ( /388.1.2.2.1.2.(S+)s+=s+S+:s+1/ ) Anyway, nice script, thanks to the author.
The lines 163 to 178 are unused in the program, the programm will never pass there. The regex may be wrong
I implemented this script with the OID change recommended in the first review and it appears to be working. I also translated the output form French to English. Thanks, very useful.
Thanks for this check. Just one annotation: In line 93 this check is using OID 1.3.6.1.4.1.9.9.388.1.1.6 to check the VSL status. According to cisco documents, this OID is cvsVSLChangeNotifEnable. Wouldn't 1.3.6.1.4.1.9.9.388.1.3.1.1.3 (cvsVSLConnectOperStatus) be correct?
You must be logged in to submit a review.
To:
From: