[drraw-users] Hardcoding a time in templates?

Pranay Khurana pranay at hudson-trading.com
Fri Nov 7 13:01:04 MST 2008


Hi, I looked through the archives, but didn't find an answer for this
question, so here it is:

I just created a bunch of templates using rrdtool + drraw. Unfortunately,
when I try to view the template, drraw automatically scales the x-axis so
that I see the data for the last 28 hours.

The data I have in my rrd's is only valid between 9:30am and 4pm... outside
of those hours, I don't have any data to put in the rrd. Therefore, I would
like it if the template can be hard-coded to show only the data between
9:30am-4pm when I click view. Is there any possible way to force this?

Right now, I have to click on the graph when the template loads, and then I
change the start and end times for the graph manually, as follows:

14:30GMT (09:30EST) : noon yesterday +2hours30minutes2seconds

21:00GMT (16:00EST) : noon yesterday +8hours59minutes58seconds

I don't want to have to make manual changes to view the template properly...
it makes more sense if the above values are automatically loaded when the
template loads. Please assist.

-- 
-----
Pranay Khurana
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.taranis.org/pipermail/drraw-users_lists.taranis.org/attachments/20081107/1363ea68/attachment.html>


More information about the drraw-users mailing list