[rrd-users] updating rrd file with ping min, max and avg times in milliseconds

2015-08-10 Thread Devante Vargas
Hello,

I am trying to update an rrd file I created. Basically I am grabbing the
min, max and average response times from a server. I created the rrd file
using the following parameters:

rrdtool.exe create latency.rrd
--start now
DS:response:GAUGE:600:U:U
RRA:MIN:0.5:12:8760
RRA:MAX:0.5:12:8760
RRA:AVERAGE:0.5:12:8760

I am trying to update it but having problems getting the following error:

ERROR: latency.rrd: found extra data on update argument: 0.40:0.88:0.73

I am typing the following to update the rrd file:

rrdtool update latency.rrd 08/10/2015_11:33:0.40:0.88:0.73

0.40 = Minimum
0.88 = Maximum
0.73 =  Average

Is it the decimal point its having issues with?

Any help would be greatly appreciated.

thank you,

Devante
___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] updating rrd file with ping min, max and avg times in milliseconds

2015-08-10 Thread Jason Gauthier
Hello,

I am trying to update an rrd file I created. Basically I am grabbing the min, 
max and average response times from a server. I created the rrd file using the 
following parameters:

rrdtool.exe create latency.rrd
--start now
DS:response:GAUGE:600:U:U
RRA:MIN:0.5:12:8760
RRA:MAX:0.5:12:8760
RRA:AVERAGE:0.5:12:8760

I am trying to update it but having problems getting the following error:

ERROR: latency.rrd: found extra data on update argument: 0.40:0.88:0.73

I am typing the following to update the rrd file:

rrdtool update latency.rrd 08/10/2015_11:33:0.40:0.88:0.73

0.40 = Minimum
0.88 = Maximum
0.73 =  Average

Is it the decimal point its having issues with?

It’s the colons in your time. Send epoch, or “N” for now, and remove the 
date/time stamp.

___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users


Re: [rrd-users] updating rrd file with ping min, max and avg times in milliseconds

2015-08-10 Thread Simon Hobson
Devante Vargas devan...@gmail.com wrote:

 I created the rrd file using the following parameters:
 
 rrdtool.exe create latency.rrd 
 --start now 
 DS:response:GAUGE:600:U:U 
 RRA:MIN:0.5:12:8760 
 RRA:MAX:0.5:12:8760 
 RRA:AVERAGE:0.5:12:8760
 
 I am trying to update it but having problems getting the following error:
 
 ERROR: latency.rrd: found extra data on update argument: 0.40:0.88:0.73

That's because you are offering 3 values to an RRD that's configured to take 
only one.

 I am typing the following to update the rrd file:
 
 rrdtool update latency.rrd 08/10/2015_11:33:0.40:0.88:0.73
 
 0.40 = Minimum
 0.88 = Maximum
 0.73 =  Average

It doesn't work like that. If you want to record the min/avg/max values from a 
ping then you need to define THREE DSs, eg response_min, response_avg, 
response_max
You can then define your RRAs as required. You cannot be selective about this, 
so you will end up with all 9 permutations of min of min, min of avg, min of 
max, avg of min, ... Only three of these (min of min, avg of avg, max of max) 
are actually useful.

___
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users