Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
sip show peer
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
Full Arguments list for the script is:
sipshowpeer.exp
This script accepts warning threshold and error threshold arguments. If status of peer is OK (XX ms), but XX is greater than warning_threshold, script will return WARNING. If XX is even greater then error_threshold, script will returns CRITICAL.
e.g.
./sipshowpeer.exp 10.1.5.61 mtt 5 10
Status: CRITICAL (13 ms)
./sipshowpeer.exp 10.1.5.61 mtt 10 15
Status: WARNING (13 ms)
./sipshowpeer.exp 10.1.5.61 mtt 15 100
Status: OK (13 ms)
Now you can set e.g.
qualify=3000
in Asterisk SIP peer configuration, and monitor WARNING and CRITICAL levels in nagios.
The script is written in expect language. Do not forget to install expect.
sipshowpeer.exp
This script accepts warning threshold and error threshold arguments. If status of peer is OK (XX ms), but XX is greater than warning_threshold, script will return WARNING. If XX is even greater then error_threshold, script will returns CRITICAL.
e.g.
./sipshowpeer.exp 10.1.5.61 mtt 5 10
Status: CRITICAL (13 ms)
./sipshowpeer.exp 10.1.5.61 mtt 10 15
Status: WARNING (13 ms)
./sipshowpeer.exp 10.1.5.61 mtt 15 100
Status: OK (13 ms)
Now you can set e.g.
qualify=3000
in Asterisk SIP peer configuration, and monitor WARNING and CRITICAL levels in nagios.
The script is written in expect language. Do not forget to install expect.
Reviews (0)
Be the first to review this listing!