[rrd-users] rrdtool without accurate time

This is a discussion on [rrd-users] rrdtool without accurate time within the RRD Users forums, part of the Networking and Network Related category; Hi, I have no clock on my embedded system so am having problem using rrdtool correctly. I can add a ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-30-2006
Joel Lindsay
 
Posts: n/a
Default [rrd-users] rrdtool without accurate time

Hi,
I have no clock on my embedded system so am having problem using rrdtool
correctly. I can add a fake date and therefore enter info into the RRD but
2 problems exist.

1) A reboot changes the date back to the start and then can't add to the rrd
database until time elapses past the last uptime
2) I can't get x-axis to use relative numbers instead of absolute.

I could recreate the database everytime I boot and this could work OK but
only keep records from last reboot. Or I could try setting the date based
on the last entry in the rrd + 1 minute and then continue adding new values
after reboot (assume always up so no downtime) This wouldn't be perfect but
would work.

For the graph though, I would like my x-axis to show the last hour, day or
week but with relative times instead of absolute time, since the absolute
times stored in the database are not right anyway. At present, my labels
show the absolute time, and shift the gridlines to correspond.

For example - Right now if I do a last hour (with labels at 15 minutes)
graph I see the gridlines shift and labels show up as 00 15 30 45, shifted
to correspond to the fake time in the database. Instead, I would like to
have labels that say -60 -45 -30 -15 0, where -60 is always at the x axis
intersecting with the y axis and 0 is always at the far right of graph (no
shifting)

Is this possible? Can anyone give me some tips to do this right? Can I use
relative time for my graph labels?

I am using rrd-tool 1.0.45 because I couldn't get newer versions to cross
compile with the arm ixp-4xx processor due to ieee floating point configure
errors.

Thanks,

Joel Lindsay, B.Eng
Project Engineer
Waveteq Communications
(250) 766-9229
--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://lists.ee.ethz.ch/rrd-users
WebAdmin http://lists.ee.ethz.ch/lsg2.cgi

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:35 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0