Search Exchange
Search All Sites
Login
check_peer_status - Check Asterisk SIP/IAX Peer Status
Current Version
0.2.0
Last Release Date
2013-02-14
Compatible With
- Nagios 3.x
Owner
E-mail
Hits
6938
Files:
| File | Description |
|---|---|
| check_peer_status | check_peer_status |
In alternative it can list all peers.
Then it Returns the Status (OK, Lagged or Unreachble) with a proper Sig code.
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
Contact me for any questions: a.zorzetto AT gmail DOT com
Reviews (0)
Be the first to review this listing!


New Listings


