<p>This script uses Asterisk Manager Interface (AMI) to retrieve peers information.</p>

<blockquote>
<p>Usage: check_asterisk_peer [options]</p>

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

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1418'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1418</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add script to check Asterisk peer status</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1418/files#diff-0">plugins-scripts/check_asterisk_peer.py</a>
    (223)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1418.patch'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1418.patch</a></li>
  <li><a href='https://github.com/monitoring-plugins/monitoring-plugins/pull/1418.diff'>https://github.com/monitoring-plugins/monitoring-plugins/pull/1418.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br /><a href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1418">Reply to this email on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AFQl2dAdUuEoga_0NKomd748kVMJS2hIks5p8kv0gaJpZM4ITDkB.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/monitoring-plugins/monitoring-plugins/pull/1418"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>