[rrd-users] RRDupdate store wrong data

Sergey Velikanov [UzPAK] vgray at uzpak.uz
Sat Oct 16 09:09:46 MEST 2004


I have next rrd archive

rrdtool create /var/spool/rrd/stat.rrd \
[ 15 DS skipped]
DS:eth0_input:COUNTER:600:U:U \
DS:eth0_output:COUNTER:600:U:U \
[ 12 DS skipped]
RRA:AVERAGE:0.5:1:288 \
RRA:LAST:0.5:1:288 \

My script push next data in stat.rrd
:485138691:512347776: # Sat Oct 16 11:45:00 UZT 2004
:485158030:512368928: # Sat Oct 16 11:50:00 UZT 2004
:485169602:512382197: # Sat Oct 16 11:55:00 UZT 2004

And this is result of rrdtool dump
        <rra>
                <cf> LAST </cf>
                <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds -->
                <xff> 5.0000000000e-01 </xff>

<!-- 2004-10-16 11:45:00 UZT / 1097909100 --> <v> 5.2113414790e+01 </v><v> 5.6874675883e+01 </v>
<!-- 2004-10-16 11:50:00 UZT / 1097909400 --> <v> 4.3394112268e+01 </v><v> 4.7380003778e+01 </v>
<!-- 2004-10-16 11:55:00 UZT / 1097909700 --> <v> 6.3895761831e+01 </v><v> 6.9883720340e+01 </v>

I'm check it twice, rrdtool really store wrong information, why??

Sergey Velikanov
Technical  Division
National Data Network "UzPAK"
tel +(99871) 114-6326
e-mail:  vgray at uzpak.uz
http://www.uzpak.uz/


--
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://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list