Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
Check RTPProxy Media
1.0.0
2014-11-17
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
14365
File | Description |
---|---|
check_rtpproxy_media | main script |
check_media_relay | seconday script that simulates the media streans |
test1.wav | public 10 second wav file |
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!
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/
-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/
Reviews (0)
Be the first to review this listing!