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_ping.pl

Rating
2 votes
Favoured:
0
Hits
117339
Files:
FileDescription
check_ping.plcheck ping
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!
This script is a perl substitute for the standard check_ping program.
It is a little more flexible.
Reviews (1)
byxoroz, July 25, 2016
./check_ping.pl --host wiki --loss 10,20 --rta 50,100 --timeout 2 --packages 5
PING - Packet loss = 0%, RTA = 23.46 ms|rta=23.46 ms[

added perf info by changing this line:
printf("PING - Packet loss = %i%%, RTA = %.2f ms|rta=%.2f ms", $loss, $rta, $rta);

thank you