Here is an example (I piped it through cut so you don't have to see all 20 ping 
times):
rrdtool fetch your.rrd AVERAGE -s -20minutes -e now  | cut -f 1-3 -d' '


1366654200: nan 0.0000000000e+00 5.7700000000e-03 5.7600000000e-03
1366654500: nan 0.0000000000e+00 5.7700000000e-03 5.7600000000e-03
1366654800: nan 0.0000000000e+00 5.7700000000e-03 5.7600000000e-03
1366655100: nan 0.0000000000e+00 5.7714666667e-03 5.7600000000e-03

Loss is in column 3 (0.0000000000e+00)



-Russell Dwarshuis

----- Original Message -----
From: "Alessandro Palermo" <[email protected]>
To: [email protected]
Sent: Monday, April 22, 2013 10:42:46 AM
Subject: [smokeping-users] Get packet loss data in last ten days graph





Hi list. 
I'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. 
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. 
How can i get this value for the .rrd files? I've been inspected the rrd files 
but I just see the last loss value. 

Thanks in advance 

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to