Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Cisco - Check gateway ISDN
95406
File | Description |
---|---|
check_cisco_isdn_calls.sh | B check_cisco_isdn_calls.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 gateway ISDN (tested on Cisco 2811 and 2821).
Modules included :
### Mode 1 - bchannels ###
- b-channels used and free on gateway
=> warning or critical exit if superior to level -w or -c
=> error if free channels <0
check_isdn_calls.sh -H hostname -V version -M bchannels [-w|-c|-C|-l|-u|-a|-d|-h]
### PARAMETERS ###
-H Hostname (IP adresse or DNS name)
-V Version (1|2c|3)
-M Mode (bchannels)
### OPTIONNAL ###
-w Warning_Level (number of free channels) *** Use on bchannels mode ***
-c Critical_Level (number of free channels) *** Use on bchannels mode ***
-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_isdn_calls.sh -H 192.168.0.1 -V 1 -M bchannels -C Public -w 5 -c 2
OK - 30 channels : 26 free : 4 used (method = ISDN) | Max=30 Current_Used=4
#./check_isdn_calls.sh -H 192.168.0.1 -V 3 -l AuthNoPriv -u user -a password -M bchannels -w 29 -c 2
Warning - 30 channels : 26 free : 4 used (method = ISDN) | Max=30 Current_Used=4
#./check_isdn_calls.sh -h
Display help
#./check_isdn_calls.sh xxxxxx -d
Active debug mod
Modules included :
### Mode 1 - bchannels ###
- b-channels used and free on gateway
=> warning or critical exit if superior to level -w or -c
=> error if free channels <0
check_isdn_calls.sh -H hostname -V version -M bchannels [-w|-c|-C|-l|-u|-a|-d|-h]
### PARAMETERS ###
-H Hostname (IP adresse or DNS name)
-V Version (1|2c|3)
-M Mode (bchannels)
### OPTIONNAL ###
-w Warning_Level (number of free channels) *** Use on bchannels mode ***
-c Critical_Level (number of free channels) *** Use on bchannels mode ***
-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_isdn_calls.sh -H 192.168.0.1 -V 1 -M bchannels -C Public -w 5 -c 2
OK - 30 channels : 26 free : 4 used (method = ISDN) | Max=30 Current_Used=4
#./check_isdn_calls.sh -H 192.168.0.1 -V 3 -l AuthNoPriv -u user -a password -M bchannels -w 29 -c 2
Warning - 30 channels : 26 free : 4 used (method = ISDN) | Max=30 Current_Used=4
#./check_isdn_calls.sh -h
Display help
#./check_isdn_calls.sh xxxxxx -d
Active debug mod
Reviews (0)
Be the first to review this listing!