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 ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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 |