This script uses Asterisk Manager Interface (AMI) to retrieve peers information.
> Usage: check_asterisk_peer [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. > -w WARNING, --warning=WARNING > RTT warning threshold value. > -c CRITICAL, --critical=CRITICAL > RTT critical threshold value. > -a, --all print the whole output. > -v, --verbose print the whole output. You can view, comment on, or merge this pull request online at: https://github.com/monitoring-plugins/monitoring-plugins/pull/1418 -- Commit Summary -- * Add script to check Asterisk peer status -- File Changes -- A plugins-scripts/check_asterisk_peer.py (223) -- Patch Links -- https://github.com/monitoring-plugins/monitoring-plugins/pull/1418.patch https://github.com/monitoring-plugins/monitoring-plugins/pull/1418.diff --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/monitoring-plugins/monitoring-plugins/pull/1418