Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check Asterisk's Channels duration
1.0
2016-03-29
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
Other
7284
File | Description |
---|---|
check_stuck_channels.pl | check_stuck_channels.pl |
check_stuck_channels.pl | check_stuck_channels.pl |
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!
More plugins and latest commits can be accessed at https://github.com/azharkhn/nagios-plugins
In order to run the script, following is usage details:
Usage: check_stuck_channels.pl -w 1800 -c 3600 -h 0
--------------------------------------------------------
|Status | argument | Unit |
--------------------------------------------------------
|Warning | -w | Seconds |
|Critical | -c | Seconds |
|Forcefully Hangup Call | -h | Binary i.e 0 or 1 |
--------------------------------------------------------
Above example generates warning, if channels exceeds 1800 seconds duration limit and generates critical alert, if channels exceeds 3600 seconds duration. If -h is 1 then it will hang up the channels which exceeds critical duration limit, while if -h is 0 then it will not hang up any channel but will generate relevant alerts only.
Usage: check_stuck_channels.pl -w 1800 -c 3600 -h 0
--------------------------------------------------------
|Status | argument | Unit |
--------------------------------------------------------
|Warning | -w | Seconds |
|Critical | -c | Seconds |
|Forcefully Hangup Call | -h | Binary i.e 0 or 1 |
--------------------------------------------------------
Above example generates warning, if channels exceeds 1800 seconds duration limit and generates critical alert, if channels exceeds 3600 seconds duration. If -h is 1 then it will hang up the channels which exceeds critical duration limit, while if -h is 0 then it will not hang up any channel but will generate relevant alerts only.
Reviews (0)
Be the first to review this listing!