[smokeping-users] Satellite link - Packet Loss error

Chris Wilson chris+smokeping at aptivate.org
Wed Oct 10 12:04:15 CEST 2007


Hi Adrian,

On Wed, 10 Oct 2007, Adrian Minta wrote:

> fping -aef myhostlist.txt works but repeated pings to one host fail if the 
> rtr > 580ms.
>  
> fping -C 5 -q 10.10.10.33
> 10.10.10.33 : 552.39 563.67 548.83 560.51 -
> 
> So for fping the Packet Loss is 1/5 = 20%   
> I am using  fping (2.4b2-to-ipv6-14) debian default.

We see this as well. The way smokeping uses fping by default, it does not 
wait long enough for the last ping to come in. We have to hack smokeping 
by hand to do it. I edit lib/Smokeping/probes/FPing.pm and change the @cmd 
lines as follows:

    my @cmd = (
                    $self->binary,
                    '-C', $self->pings, '-q','-B1','-r1','-t10000',
                    @params,
                    @{$self->addresses});

I think -t10000 is the important one. It sets the timeout to 10 seconds 
(default is 500ms).

Cheers, Chris.
-- 
Aptivate | http://www.aptivate.org | Phone: +44 1223 760887
The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES

Aptivate is a not-for-profit company registered in England and Wales
with company number 04980791.



More information about the smokeping-users mailing list