[smokeping-users] fping occasional warning

Aragon Gouveia aragon at phat.za.net
Sun Dec 2 14:01:52 CET 2012


Hi,

Occasionally smokeping elicits an fping warning:

### assuming you are using an fping copy reporting in milliseconds

It occurs when then fping initialiser performs its fping test against 
localhost, and the response time is 0.00 ms:


localhost : [0], 96 bytes, 0.00 ms (0.00 avg, 0% loss)

localhost : 0.00


in FPing.pm:74:

if ($return =~ m/bytes, ([0-9.]+)\sms\s+.*\n.*\n.*:\s+([0-9.]+)/ and $1 
 > 0){

In the case of 0.00 ms, $1 == 0.

Not sure what the safest fix is... anyone know?


Thanks,
Aragon



More information about the smokeping-users mailing list