[rrd-users] incorrect data

Juan York noc-lists at lmasys.com
Tue Mar 27 06:39:04 MEST 2001


I am trying to graph some custom data, the data is in the form of an integer
usually betwwen 375 - 400, I have a script that goes out and collects the
data, and updates an .rrd file. However when I use the rrdtool dump command
and look at the data that is in the database it is much smaller than what
should be in there.

Here is the command I used to create the database, it's pretty much the same
as the one in the beginners tutorial.

rrdtool create snre.rrd --step 300 DS:snre:GAUGE:600:0:750
RRA:AVERAGE:0.5:1:1200 RRA:MIN:0.5:12:2400 RRA:MAX:0.5:12:2400
RRA:AVERAGE:0.5:12:2400

Here is the the valid part of the code that I'm using to update the rrd
file.

 RRDs::update ("/path/to/snre.rrd", "--template", "snre", "N:$output");
my $ERR=RRDs::error;
 die "ERROR while updating snre.rrd: $ERR\n" if $ERR;

where $output is somewhere between 375 and 400.


Here is part of the dump

 <!-- 2001-03-26 21:30:00 EST --> <row><v> 1.7421875000e+00 </v></row>
                        <!-- 2001-03-26 21:35:00 EST --> <row><v>
1.6677213542e+00 </v></row>
                        <!-- 2001-03-26 21:40:00 EST --> <row><v>
1.6677213542e+00 </v></row>
                        <!-- 2001-03-26 21:45:00 EST --> <row><v>
1.5937500000e+00 </v></row>
                        <!-- 2001-03-26 21:50:00 EST --> <row><v>
1.5937500000e+00 </v></row>
                        <!-- 2001-03-26 21:55:00 EST --> <row><v>
1.7734375000e+00 </v></row>
                        <!-- 2001-03-26 22:00:00 EST --> <row><v>
1.7929036458e+00 </v></row>
                        <!-- 2001-03-26 22:05:00 EST --> <row><v>
1.5983072917e+00 </v></row>
                        <!-- 2001-03-26 22:10:00 EST --> <row><v>
1.4687500000e+00 </v></row>
                        <!-- 2001-03-26 22:15:00 EST --> <row><v>
1.7879947917e+00 </v></row>
                        <!-- 2001-03-26 22:20:00 EST --> <row><v>
1.5944010417e+00 </v></row>
                        <!-- 2001-03-26 22:25:00 EST --> <row><v>
1.7460937500e+00 </v></row>
                        <!-- 2001-03-26 22:30:00 EST --> <row><v>
1.8434244792e+00 </v></row>
                        <!-- 2001-03-26 22:35:00 EST --> <row><v>
1.7113802083e+00 </v></row>
                        <!-- 2001-03-26 22:40:00 EST --> <row><v>
1.5045963542e+00 </v></row>
                        <!-- 2001-03-26 22:45:00 EST --> <row><v>
1.7695312500e+00 </v></row>
                        <!-- 2001-03-26 22:50:00 EST --> <row><v>
1.5787630208e+00 </v></row>
                        <!-- 2001-03-26 22:55:00 EST --> <row><v>
1.6562500000e+00 </v></row>
                        <!-- 2001-03-26 23:00:00 EST --> <row><v>
1.5433463542e+00 </v></row>
                        <!-- 2001-03-26 23:05:00 EST --> <row><v>
1.7031250000e+00 </v></row>
                        <!-- 2001-03-26 23:10:00 EST --> <row><v>
1.5551822917e+00 </v></row>
                        <!-- 2001-03-26 23:15:00 EST --> <row><v>
1.7773437500e+00 </v></row>
                        <!-- 2001-03-26 23:20:00 EST --> <row><v>
1.6177213542e+00 </v></row>
                        <!-- 2001-03-26 23:25:00 EST --> <row><v>
1.7929687500e+00 </v></row>
                        <!-- 2001-03-26 23:30:00 EST --> <row><v>
1.7189973958e+00 </v></row>
                        <!-- 2001-03-26 23:35:00 EST --> <row><v>
1.7343229167e+00 </v></row>


Any ideas on what I did wrong?

thanks

-Juan


--
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