[rrd-users] Whole numbers.

Paul Halliday paul.halliday at gmail.com
Fri Jan 7 15:24:33 CET 2011


My declaration is this:

--start $rrd_time DS:hc:GAUGE:600:U:U RRA:AVERAGE:0.5:1:105120
RRA:MAX:0.5:1:105120

I am dumping whole numbers at exact intervals but still getting this:

<!-- 2011-01-07 06:40:00 AST / 1294396800 --> <row><v>5.8333333333e-01</v></row>
<!-- 2011-01-07 06:45:00 AST / 1294397100 --> <row><v>3.7333333333e-01</v></row>
<!-- 2011-01-07 06:50:00 AST / 1294397400 --> <row><v>6.7000000000e-01</v></row>
<!-- 2011-01-07 06:55:00 AST / 1294397700 --> <row><v>1.0000000000e+00</v></row>
<!-- 2011-01-07 07:00:00 AST / 1294398000 --> <row><v>1.0000000000e+00</v></row>
<!-- 2011-01-07 07:05:00 AST / 1294398300 --> <row><v>1.0000000000e+00</v></row>
<!-- 2011-01-07 07:10:00 AST / 1294398600 --> <row><v>1.5666666667e-01</v></row>
<!-- 2011-01-07 07:15:00 AST / 1294398900 --> <row><v>8.8666666667e-01</v></row>

I thought that if you kept the times sane you would get what you put
in. Am I doing something wrong?

Thanks!

-- 
Paul Halliday
http://www.pintumbler.org



More information about the rrd-users mailing list