Home Directory Plugins Telephony Asterisk check_peer_status - Check Asterisk SIP/IAX Peer Status

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
Don't miss your chance to attend the 2014 Nagios World conference!

Don't miss your chance to attend the 2014 Nagios World Conference, Oct 13-16th. Informative Sessions, Networking, Food and Cocktails! Visit go.nagios.com/conference/ for more information or to register.


check_peer_status - Check Asterisk SIP/IAX Peer Status

Bookmark and Share

Rating
2 votes
Favoured:
0
Current Version
0.2.2
Last Release Date
2013-02-14
Compatible With
  • Nagios 3.x
E-mail
Hits
23712
Files:
FileDescription
check_peer_statuscheck_peer_status
This plugin works with Nagios NRPE to check the status of a selected SIP/IAX peer on Asterisk or in alternative it can list all peers.

Then it Returns the Status (OK, Lagged, Unreachble or Unknown) with a proper Sig code (ok, warning, critical, unknown).

* Contact me if you need help: a.zorzetto AT gmail DOT com *

USAGE: Check_peer_status [options]

Options:
--version show program's version number and exit
-h, --help show this help message and exit
-u USER, --username=USER
username for AMI.
-s SECRET, --secret=SECRET
password for AMI.
-H HOSTNAME, --host=HOSTNAME
the host to connect to. The default is localhost.
-P PORT, --port=PORT the port to contact. Default is 5038.
-t TYPE, --type=TYPE sip or iax are allowed values.
-p PEER, --peer=PEER the peer name to check.
-a, --all print the whole output.
-v, --verbose print the whole output.

EXAMPLES:

to check an IAX peer:
$PATH/check_peer_status -H ip_asterisk -u username -s secret -t iax -p peername

to check an SIP peer:
$PATH/check_peer_status -H ip_asterisk -u username -s secret -t sip -p peername

to list all peers
$PATH/check_peer_status -H ip_asterisk -u username -s secret -t iax -a
$PATH/check_peer_status -H ip_asterisk -u username -s secret -t sip -a


CHANGELOG:
- 0.2.2 it can monitor the unknown status of the peers, generally when a peer is configured but never connected
Reviews (1)
bysach3000, July 29, 2013
Critical - Cannot contact Asterisk! and all
Owner's reply

You have to configure your manager.conf to accept connections from the nrpe agent on the localhost