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
112685
Files:
FileDescription
check_ping.plcheck ping
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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