[rrd-users] DS GAUGE and RRA:LAST => incorrect (fraction) values on graph

Joh-n as.fd0993 at gmail.com
Sat Jan 2 20:32:49 CET 2010


Hi All!

Please help me in my problem:

1) Create DB 

STEP_SEC=60
let "heartbeat=$STEP_SEC*2"
rrdtool create $DB_PATH --start N --step $STEP_SEC       \
DS:src1:GAUGE:$heartbeat:U:U    \
DS:src2:GAUGE:$heartbeat:U:U    \
RRA:LAST:0.5:1:365                    

2) Update DB:  rrdtool update $DB_PATH $TIME:$number.
First time number=285; next time number=368;

3)rrdtool fetch output is:
2.8500000000e+02
3.6661666667e+02

Why second value in DB is fraction ? 
I need 
2.8500000000e+02
3.6800000000e+02. How I can reach this?
-- 
View this message in context: http://n2.nabble.com/DS-GAUGE-and-RRA-LAST-incorrect-fraction-values-on-graph-tp4243517p4243517.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.



More information about the rrd-users mailing list