Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Cisco - Check MSFC
92646
File | Description |
---|---|
check_cisco_msfc.sh | check_cisco_msfc.sh -=v2.2=- |
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!
This script check Cisco MSFC (tested on Cisco MSFC 6509 and 6513).
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)
### OPTIONNAL ###
-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)
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"=powerDenied, "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"=ok, "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
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)
### OPTIONNAL ###
-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)
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"=powerDenied, "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"=ok, "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
Reviews (0)
Be the first to review this listing!