[rrd-users] Help creating database

Frank Pineau frank at pineaus.com
Mon Jan 1 19:21:48 MET 2001


Ok, I've been beating my head against this for three freaking days and It's just
not making any sense.  I want a database that gets five numbers once per hour,
and keeps min, max, avg, and last for 12.5 days.  The problem is, no matter how
I make the databse, I can't seem to get anything other than NAN's.  Here's my
latest try:

rrdtool create test.rrd \
  --step 3600 \
  DS:field1:GAUGE:600:U:U \
  DS:field2:GAUGE:600:U:U \
  DS:field3:GAUGE:600:U:U \
  DS:field4:GAUGE:600:U:U \
  DS:field5:GAUGE:600:U:U \
  RRA:AVERAGE:0.5:1:300 \
  RRA:MIN:0.5:1:300 \
  RRA:MAX:0.5:1:300 \
  RRA:LAST:0.5:1:300

"rrdtool update test.rrd N:2:4:6:8:10"   (Just sample test data) doesn't return
any errors.  Dumping data in with a cron job run every hour also doesn't return
any errors.  Neither one results in anything besides NAN's.  It seems like the
only time I can make it take data is if I specify an exact PDP timestamp.
Obviously, that's not very useful and rrdtool is supposed to account for that.
Please, for the love of god, someone help me before I rip *all* my hair out!

FP


-- 
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
Frank Pineau  ------------>

        frank at pineaus.IHATESPAM.com
          http://www.pineaus.com

     Time is the best teacher.  Unfortunately,
           it kills all of its students.
<*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*><*>
PGP Public Key:
http://www.pineaus.com/frankpineau.asc

No mail from web-based mail systems such as Hotmail
or Yahoo will be accepted.

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