Home Directory Plugins Telephony Check Asterisk's Channels duration

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

Check Asterisk's Channels duration

Rating
0 votes
Favoured:
0
Current Version
1.0
Last Release Date
2016-03-29
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
License
Other
Hits
7355
Files:
FileDescription
check_stuck_channels.plcheck_stuck_channels.pl
check_stuck_channels.plcheck_stuck_channels.pl
Nagios CSP

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 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
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.