Cisco - Check MSFC - SNMP v1, v2c, v3
Description
This script check Cisco MSFC (tested on Cisco MSFC 6509 and 6513).
Usage
Modules included
Mode 1 - Modules
- number of slots
- number of modules installed
-
status for each modules
check_cisco_msfc.sh -H hostname -V version -M modules [-C|-l|-u|-a|-d|-h]
PARAMETERS
-H Hostname (IP adresse or DNS name)
-V Version (1|2c|3)
-M Mode (modules)
OPTIONAL
-C Community (name) Use on Version 1|2
-l Login (NoAuthNoPriv | AuthNoPriv | AuthPriv) Use on Version 3
-u Username Use on Version 3
-a Password Use on Version 3
-d Debug mode
-h Help (print command usage, and quit)
Examples
Sample commands:
./check_cisco_msfc.sh -H 192.168.0.1 -V 1 -M modules -C Public
OK - "WS-X6516A-GBIC"=ok, "WS-X6548-GE-TX"=ok, "WS-SVC-NAM-1"=ok, | Nb_Modules=3 Modules_OK=3 Modules_Warning=0 Modules_Critical=0 Modules_Unknown=0
#./check_cisco_msfc.sh -H 192.168.0.1 -V 3 -l AuthNoPriv -u user -a password -M modules
Critical - "WS-X6516A-GBIC"=ok, "WS-X6548-GE-TX"=powerDenied, "WS-SVC-NAM-1"=ok, | Nb_Modules=3 Modules_OK=2 Modules_Warning=0 Modules_Critical=1 Modules_Unknown=0
#./check_cisco_msfc.sh -h
Display help
#./check_cisco_msfc.sh xxxxxx -d
Active debug mod