Home Directory Plugins Telephony Asterisk check_asterisk_ami

check_asterisk_ami

Bookmark and Share

Current Version
1.1.0.6
Last Release Date
2011-09-08
Compatible With
  • Nagios 3.x
  • Nagios XI
E-mail
License
GPL
Hits
52999
Files:
FileDescription
check_asterisk_amicheck_asterisk_ami
Plugin to check Asterisk using AMI,
Plugin to check Asterisk via AMI

Currently has the following information
channels in use
calls active
number of IAX2 peers
number of SIP peers

Requires manager.conf user with access to:
write:system,command

Returns performance data for statistics.

requires netcat and uses utils.sh


check_asterisk_ami v1.1.0.6 (nagios-plugins 1.4.15)
The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute
copies of the plugins under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

Nagios Plugin to check Asterisk using AMI

Usage: check_asterisk_ami [-H hostname] [-q query] [-u username] [-p password] [-P port] [-w warning] [-c critical]
-H Hostname
-q Command to query
-u AMI Username
-p AMI Password
-P (optional) AMI PORT
-w (optional) warning threshold
-c (optional) critical threshold

SupportedCommands:
channels (check number of current channels in-use)
calls (check number of current calls)
sippeers (check number of current calls)
iaxpeers (check number of current calls)

Usage: check_asterisk_ami --help
Usage: check_asterisk_ami --version

Asterisk Call Status Check. Jason Rivers 2011
Reviews (1)
by808blogger, September 17, 2011
Works exactly as described.

Would have 5 stars if the netcat path was either autodetermined or a variable so that i didn't have to change it in the code.

combine with pnp4nagios for some nice graphs.