[drraw-users] Hardcoding a time in templates?

Pranay Khurana pranay at hudson-trading.com
Tue Nov 11 09:43:40 MST 2008


To provide an example:

Let's assume we're using this RRD file, as per an example in your tutorials:


rrdtool create test.rrd             \
            --start 920804400          \
            DS:speed:COUNTER:600:U:U   \
            RRA:AVERAGE:0.5:1:24       \
            RRA:AVERAGE:0.5:6:10


I'd like to setup the templates so that start time for any graph is going to
be: 920804401, and then end time will be: start + 6hours30mins

Is this possible?

On Tue, Nov 11, 2008 at 11:34 AM, Pranay Khurana
<pranay at hudson-trading.com>wrote:

> Is it possible to access the --starttime of an RRD file and set that as the
> default start time of a graph?
>
> I have an RRD file that is created daily, and want to create templates that
> show the values from starttime+1 second ----> starttime +6hours30min...
> since the rest of the data for the day doesn't really matter to me.
>
> So, ideally, any time I load a graph with an RRD file, I'd like the Start
> Time for the graph to be set to --starttime + 1 second.
>
> Is this possible?
>
> On Fri, Nov 7, 2008 at 9:20 PM, Christophe Kalt <kalt at taranis.org> wrote:
>
>> Take a look at the configuration, the "Past 28 Hours" is a setting found
>> in there: @dv_def & @dv_name.
>>
>> Christophe
>>
>
>
>
> --
> -----
> Pranay Khurana
>



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


More information about the drraw-users mailing list