<div dir="ltr">I still got a doubt about the calculataion of packet loss.<br>For example I&#39;ve got 2 losses in the last 3 hours in two consecutives polling cycles (1/20 and 1/20).<br>The data in the graphs shows pl= 0.14% avg and 4.68% max<br>
In the rrd data I&#39;ve got:<br><br>rrdtool fetch myrrdfile.rrd AVERAGE -s -3h -e now  | cut -f 1-3 -d&#39; &#39;<br><br><br>1366717200: -nan 0,0000000000e+00<br>1366717500: -nan 0,0000000000e+00<br>1366717800: -nan 0,0000000000e+00<br>
1366718100: -nan 0,0000000000e+00<br>1366718400: -nan 0,0000000000e+00<br>1366718700: -nan 0,0000000000e+00<br>1366719000: -nan 0,0000000000e+00<br>1366719300: -nan 0,0000000000e+00<br>1366719600: -nan 0,0000000000e+00<br>
1366719900: -nan 0,0000000000e+00<br>1366720200: -nan 0,0000000000e+00<br>1366720500: -nan 9,3666666667e-01<br>1366720800: -nan 6,3333333333e-02<br>1366721100: -nan 0,0000000000e+00<br>1366721400: -nan 0,0000000000e+00<br>
1366721700: -nan 0,0000000000e+00<br>1366722000: -nan 0,0000000000e+00<br>1366722300: -nan 0,0000000000e+00<br>1366722600: -nan 0,0000000000e+00<br>1366722900: -nan 0,0000000000e+00<br>1366723200: -nan 0,0000000000e+00<br>
1366723500: -nan 0,0000000000e+00<br>1366723800: -nan 0,0000000000e+00<br>1366724100: -nan 0,0000000000e+00<br>1366724400: -nan 0,0000000000e+00<br>1366724700: -nan 0,0000000000e+00<br>1366725000: -nan 0,0000000000e+00<br>
1366725300: -nan 0,0000000000e+00<br>1366725600: -nan 0,0000000000e+00<br>1366725900: -nan 0,0000000000e+00<br>1366726200: -nan 0,0000000000e+00<br>1366726500: -nan 0,0000000000e+00<br>1366726800: -nan 0,0000000000e+00<br>
1366727100: -nan 0,0000000000e+00<br>1366727400: -nan 0,0000000000e+00<br>1366727700: -nan 0,0000000000e+00<br>1366728000: -nan -nan<br><br>And I can&#39;t understand how to obtain the value of pl=0.14% avg. I thought that the data stored in the rrd was the number of packet loss in a round or the average each 5 minutes.<br>
In the first case I get a value of pl=(number of packet losses in last 3hours/total packets sends)2/720=0.0028, then pl=0.28%.<br>Surely I&#39;m wrong in something.<br><br>Thanks <br></div><div class="gmail_extra"><br><br>
<div class="gmail_quote">On 22 April 2013 21:32, Alessandro Palermo <span dir="ltr">&lt;<a href="mailto:ok.aless@gmail.com" target="_blank">ok.aless@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Thanks very much Russell. I will try this.</p>
<p>Regards</p>
<div class="gmail_quote">El 22/04/2013 15:36, &quot;Russell Dwarshuis&quot; &lt;<a href="mailto:rjd@merit.edu" target="_blank">rjd@merit.edu</a>&gt; escribió:<div><div class="h5"><br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Here is an example (I piped it through cut so you don&#39;t have to see all 20 ping times):<br>
rrdtool fetch your.rrd AVERAGE -s -20minutes -e now  | cut -f 1-3 -d&#39; &#39;<br>
<br>
<br>
1366654200: nan 0.0000000000e+00 5.7700000000e-03 5.7600000000e-03<br>
1366654500: nan 0.0000000000e+00 5.7700000000e-03 5.7600000000e-03<br>
1366654800: nan 0.0000000000e+00 5.7700000000e-03 5.7600000000e-03<br>
1366655100: nan 0.0000000000e+00 5.7714666667e-03 5.7600000000e-03<br>
<br>
Loss is in column 3 (0.0000000000e+00)<br>
<br>
<br>
<br>
-Russell Dwarshuis<br>
<br>
----- Original Message -----<br>
From: &quot;Alessandro Palermo&quot; &lt;<a href="mailto:ok.aless@gmail.com" target="_blank">ok.aless@gmail.com</a>&gt;<br>
To: <a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a><br>
Sent: Monday, April 22, 2013 10:42:46 AM<br>
Subject: [smokeping-users] Get packet loss data in last ten days graph<br>
<br>
<br>
<br>
<br>
<br>
Hi list.<br>
I&#39;m monitoring around 300 wan links with fping probe with no problem. I have tuned smokeping to get more information I have added a plugin to show the lasts median rtt in a gauges view and a link to show the information about the route of each wan links and record the changes in the routes.<br>


Now I want to create a report to monitoring the packet loss in the last ten day and send a mail with the graph of the links that have a packet loss greater than 5% per example.<br>
How can i get this value for the .rrd files? I&#39;ve been inspected the rrd files but I just see the last loss value.<br>
<br>
Thanks in advance<br>
<br>
_______________________________________________<br>
smokeping-users mailing list<br>
<a href="mailto:smokeping-users@lists.oetiker.ch" target="_blank">smokeping-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
</blockquote></div></div></div>
</blockquote></div><br></div>