"Slow" ping... how to?


#1

Hi all,
if I use a “-n 10” option in check_icmp (or “-p 10” in check_ping), how can I force nagios to send an icmp packet every 1 sec? If I manually run the command from CLI, it answers after 2 or 3 seconds, which means that the icmp packet are being sent almostly in a “flood” fashion…
Thanks,
Alessandro


#2

Sounds strange… look like something on the machines ping…

Just checked on my solaris 8 :

root(sun58)# time ./check_ping -H 192.168.10.48 -p 10 -w 2000,20% -c 3000,50%
PING OK - Packet loss = 0%, RTA = 1.00 ms

real 0m9.039s
user 0m0.020s
sys 0m0.020s

which is correct. as the time between the first and the last packet is 9 secs…

Luca


#3

I get, instead,
real 0m0.441s
user 0m0.000s
sys 0m0.003s
:frowning:


#4

what happens with the standard ping command?

Luca