[rrd-users] Re: rrdtool without accurate time

This is a discussion on [rrd-users] Re: rrdtool without accurate time within the RRD Users forums, part of the Networking and Network Related category; On Thu, Nov 30, 2006 at 02:30:40PM -0800, Joel Lindsay wrote: [snip: no accurate time] > For the ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-01-2006
Alex van den Bogaerdt
 
Posts: n/a
Default [rrd-users] Re: rrdtool without accurate time

On Thu, Nov 30, 2006 at 02:30:40PM -0800, Joel Lindsay wrote:

[snip: no accurate time]

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


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


I don't think you can, at least not without hacking the source code.
Currently I don't have 1.0 source code around, but assuming this part
hasn't changed much, you'd have to look in rrd_graph.c function
vertical_grid , look for strftime (end of the function).

Is there no way, at all, for you to get accurate time?
Perhaps add a chip to your computer that keeps time, or perhaps
using a time server on the internet?

--
Alex van den Bogaerdt
http://www.vandenbogaerdt.nl/rrdtool/

--
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:31 AM.


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