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_udp-packet-loss.sh

Current Version
1.1
Compatible With
  • Nagios 2.x
  • Nagios 3.x
Hits
106547
Files:
FileDescription
check_udp-packet-loss.shThe script (Version 1.1)
LICENSEGNU GPLv2 License
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!
check_udp-packet-loss.sh
sh-compliant script to check for UDP packet loss and receive errors.
Description
check_udp-packet-loss.sh is a Nagios plugin to monitor the UDP packet loss via netstat. It writes a temporary file to a configurable directory and compares it's values against the ones from the check before. That means the actual result shows the amount of overall packets, received, receive errors and/or packets recieved to unknown port for the last check interval you've chosen.
Version

-h/--help Output
Version 1.1, 2009, Mike Adolphs (http://fooforge.com/)
-h/--help Output

./check_udp-packet-loss.sh [-w/--warning] [-c/--critical] [-t/--path-tmp]

Options:
--warning|-w)
Sets a warning level for packet receive errors.
Default is: off
--critical|-c)
Sets a critical level for packet receive errors.
Default is: off
--path-tmp|-t)
Sets the path for the temporary file. Default is:
/tmp

Changelog
* 2009-05-14
o Small bugfix of an exit code

* 2009-05-10
o Data now represents UDP statistics for the last
check interval