[rrd-users] RRD GAUGE problem
yerenkow at gmail.com
Thu May 16 16:01:55 CEST 2013
Thanks for hint, but this is working only when invoking at moment of time.
E.g. If I run script
tt=`jot - 1 30`
for i in $tt
rrdtool update testing.rrd $t:5; rrdtool update testing2.rrd N:5;
I still see same seesaw graph (I changed from 61 to 63 to make problem
The script was run on fresh created two files, according your command.
The problem (if there is problem) lies somewhere in some rounding time, as
it seems appear in both files, when I specify N, and time.
Here's my fresh graphs:
Could you confirm that if you run my script (with real half-hour
datamining) you will have same good-looking graph?
BTW, I'm using rrdtool-1.4.7.
2013/5/16 Donovan Baarda
> G'day Alexander,
> You need to read http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html, in
> particular the bit towards the end about "The Heartbeat and the Step". In
> particular, heartbeat on the DSS is the *maximum" time between samples,
> otherwise they are thrown away and recorded as unknown. You can think of
> step/heartbeat as the "xff" of the input data. In your case I'm guessing
> using step=60 and heartbeat=120 is probably closest to what you want.
> I looked at your seesaw-graphs blog entry and the graph you have looks
> like a kind of artefact of using a low heartbeat (resulting in very few
> valid inputs) combined with a low xff or maybe graphing options to
> interpolate the missing values. When i do the following;
> $ rrdtool create -s 60 testing.rrd DS:cnt:GAUGE:120:U:U
> RRA:AVERAGE:0.5:1:1440 RRA:AVERAGE:0.5:60:720 RRA:AVERAGE:0.5:1440:365
> $ t=`date +"%s"`
> $ for ((i=$t; i<$t+60*61; i=$i+61)); do rrdtool update testing.rrd $i:5;
> $ rrdtool graph testing.png -s $t -S 60 DEF:cnt=testing.rrd:cnt:AVERAGE
> I get the following graph;
> Which is probably what you expect.
> On 15 May 2013 11:03, Alexander Yerenkow <yerenkow at gmail.com> wrote:
>> Hello list!
>> I'm having problem with GAUGE and non-regular updates of values, I
>> described my problem fully here:
>> I'd appreciate if you point me to right place where I find why I can't
>> get what I need.
>> I already tried to tune heartbeat value, but to no avail.
>> Alexander Yerenkow
>> rrd-users mailing list
>> rrd-users at lists.oetiker.ch
> Donovan Baarda
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rrd-users