
Telephony
Check Asterisk’s Channels duration
Description:
This plugin checks Asterisk channels for defined duration and hangs up the channel if duration exceeded from the critical value.
More plugins and latest commits can be accessed at https://github.com/azharkhn/nagios-plugins
Current Version
1.0
Last Release Date
2016-03-29
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
Owner
License
Other
Project Files
File | Description |
---|---|
check_stuck_channels.pl | |
check_stuck_channels.pl |
Project Notes
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.
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
7,282