[rrd-users] Re: Gauge understanding problem or error ?
Christian Volkmann
CVolkmann at orga-systems.com
Thu Aug 18 14:45:24 MEST 2005
A little more confusing for me.
If I round like "let mytime=$mytime/$STEP*$STEP" a part of the graphics
is like I expect for 60 seconds step.
It looks for me that an average is used for the related time also if I use "LAST" or "MAX".
Still happens also with rounding: act 20 MAX "ok" " GAUGE, Not OK ? Value 80 shown with a too long duration ?"
Christian
PS: Sorry for the double posting. I expected the 12:21 mail to be lost
because I had not been complete subscribed.
diff -Nur strange{.send,}
--- strange.send 2005-08-18 14:19:39.000000000 +0200
+++ strange 2005-08-18 14:32:50.000000000 +0200
@@ -32,9 +32,10 @@
1100000600:20
EOP
do
- rrdtool update ${NAME}test.rrd $line
mytime=${line%:*}
value=${line##*:}
+ let mytime=$mytime/$STEP*$STEP
+ rrdtool update ${NAME}test.rrd $mytime:$value
echo -e "`date -d \"1970-01-01 UTC $mytime seconds\" '+%H\\:%M\\:%S'` $value, \c" >> $HELPTXT
done
#rrdtool dump ${NAME}test.rrd
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
More information about the rrd-users
mailing list