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
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
Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
0 (0)
Favorites
0
Views
7,288