[smokeping-users] Re: fetch loss

Tobias Oetiker oetiker at ee.ethz.ch
Tue Mar 11 23:13:38 MET 2003


Today dbarba at soluziona.com wrote:

> Hi all!
>
> I'm using "rrdtool fetch" command to extract RRD data from the last day,
> but I don't understand the format of "loss" row. In each line, does it show
> loss percent from the 20 pings?
>
> For example, I execute:
> rrdtool fetch file.rrd AVERAGE
>
>                         uptime      loss                    median                  ping1                    ........
> 1047294900:       NaN   1.0000000000e+00  1.5476023333e-01  1.5155410000e-01  ........
> ..................
>
> Does "1.0000000000e+00" mean that 1% of the 20 pings are lost? it's imposible...

The formula in base.pm is:

 my $entries = @{$self->{rtts}{$tree}};
 my $pings = $self->{cfg}{Database}{pings};
 my $loss = $pings - $entries;

 so the number you see in the rrd file is the number of lost
 packets in absolute numbers

tobi


>
> Thanks!
>
> Diego
>
>
> --
> Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/smokeping-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
>

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, CH-8092 Zurich, Switzerland
 / // _ \/ _ \/ /  System Manager Coach Time Lord Developer Designer
/_/ \.__/_.__/_/   http://people.ee.ethz.ch/~oetiker +41(0)1-632-5286

--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list