[rrd-users] Re: "UNKNOWN" data

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Oct 4 17:39:24 MEST 2001


Kempf, Reed wrote:

> I am a relative newby to rrdtool and am having trouble populating the
> rrdtool database.  I come up with all "UNKNOWN" pdps (primary data points).
> 
> I have a unix ksh script which through the use of pl/sql requests web pages
> and records the number of seconds, the pl/sql dumps the request times to a
> flat file which rrdtool then picks up and populates the rrdtool database.
> It seems to work pretty slick until I changed the code to use two different
> rrdtool datasources.

[snip scripts create and update]

Yeah, but how do you fetch the data. I guess that this is your problem.
If you create a database {now}, it will start at {now-size} end end at
{now}.  If you then update it a few times, the database will start at
time {last_update-size} and end at {last_update}.

If you query for a part of the database that has not yet been
populated (or if you view it after dumping it) you won't see
anything else than NaN values.

Also, you specified a heartbeat time of 1200.  If your updates are
further apart than 1200 seconds, unknowns occur.

Last but not least, you should modify your script so that the
rrdtool update command is written to disk.  You can then replay
your create and update, even more important so can we.  After
debugging you can disable this of course.

cheers,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. | 
+----------------------------------------------------------------------+
| http://faq.mrtg.org/                                                 |
| http://rrdtool.eu.org  --> tutorial                                  |
+----------------------------------------------------------------------+

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