[rrd-users] RRDTOOL Good with step 300, Bad with step 600
xajepa
angles at hotmail.fr
Fri Mar 11 22:24:19 CET 2011
Hello,
This first script do excactly what I want: print 2, 1 and 4
Good code :
rrdtool create ${FICRRD}.rrd --step 300 --start 978303900
DS:b300:GAUGE:300:0:U \
RRA:AVERAGE:0:1:3
rrdtool update ${FICRRD}.rrd \
978304200:2 \
978304500:1 \
978304800:4
rrdtool graph /usr/local/apache/htdocs/${FICRRD}.gif --start 978303900
--end 978305200 --step 300 -h 400 DEF:lineb=${FICRRD}.rrd:b300:AVERAGE
LINE:lineb#00FF00:"Line_300"
If I chose a step 600 (not equal to 300), it is bad :
Bad Code :
rrdtool create ${FICRRD}.rrd --step 600 --start 978303900
DS:b600:GAUGE:600:0:U \
RRA:AVERAGE:0:1:3
rrdtool update ${FICRRD}.rrd \
978304500:2 \
978305100:1 \
978305700:4
rrdtool graph /usr/local/apache/htdocs/${FICRRD}.gif --start 978303900
--end 978305700 --step 600 -h 400 DEF:lineb=${FICRRD}.rrd:b600:AVERAGE
LINE:lineb#00FF00:"Line_600"
Please why ?
--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/RRDTOOL-Good-with-step-300-Bad-with-step-600-tp6162910p6162910.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.
More information about the rrd-users
mailing list