Home Directory Plugins Telephony Check RTPProxy Media

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

Directory Tree

Check RTPProxy Media

Current Version
1.0.0
Last Release Date
2014-11-17
Compatible With
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
Owner
License
GPL
Hits
14339
Files:
FileDescription
check_rtpproxy_mediamain script
check_media_relayseconday script that simulates the media streans
test1.wavpublic 10 second wav file
Nagios CSP

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!
For the latest version(s) visit the GitHub source

This script queries an rtpproxy and reports the active sessions, active streams, sessions created and (if supported by your version) the number of additional possible calls.
It also correctly detects failed communication being either ICMP responses (closed port), packet loss, or corrupted responses. It also returns how long it takes the rtpproxy to respond. If all that works then it query the rtpproxy for IPs and ports and the run /usr/local/nagios/libexec/check_media_relay. This script will collect and return ten additional metrics : Packet loss (%), Packets late [out of order](%), Strange/corrupted/bizarre packets (%), ICMP packets (%), Duplicate Packets (%), Average packet travel time (ms) Standard Deviation Travel Time (ms), Packets not sent (due to errors in the script and/or monitoring server), Average Jitter, and Standard Deviation Jitter
-h, Display this help information
-H, Hostname or IP to check
-M, Specify a message to return on failure
-P, Port to check
-R, Restart command to use
-t, Timeout (ms) for each communication attempt.
The default is 1000
-r, Number of times to retry communications.
The default is 4
-w, Warning level % RTP packet loss.
-c, Critical level % RTP packet loss.
Either use both -w && -c or neither
-m, Media file used to generate the RTP.
Default is /usr/local/nagios/libexec/test1.wav
-n, Number of media packets to send on each leg (Default 500).
The script will run /usr/local/nagios/libexec/check_media_relay
Script written by Noah Guttman and Copyright (C) 2014 Noah Guttman.
This script is released and distributed under the terms of the GNU
General Public License. >>>> http://www.gnu.org/licenses/
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
>>>> http://www.gnu.org/licenses/