Start and End time in RRD-CGI

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Start and End time in RRD-CGI

Alex van den Bogaerdt
Hi,

In a cgi script I use:
        --end <RRD::CV::QUOTE time>
        --start end-<RRD::CV::QUOTE timespan>
By asking for "http://rrdtool/myscript.cgi?time=-2h&timespan=1h" I hoped
to see a graph from (now-3h) .. (now-2h).  This doesn't seem to work.
It uses the last entry in the rrd for "end".

Has anybody made this work ? I would like to see historical data.

Regards,
Alex

Reply | Threaded
Open this post in threaded view
|

Re: Start and End time in RRD-CGI

Tobias Oetiker
Today you sent me mail regarding [rrd-users] Start and End time in RRD-CGI:

*> Hi,
*>
*> In a cgi script I use:
*>         --end <RRD::CV::QUOTE time>
*>         --start end-<RRD::CV::QUOTE timespan>
*> By asking for "http://rrdtool/myscript.cgi?time=-2h&timespan=1h" I hoped
*> to see a graph from (now-3h) .. (now-2h).  This doesn't seem to work.
*> It uses the last entry in the rrd for "end".
*>
*> Has anybody made this work ? I would like to see historical data.

aehm ... does this work on the commandline ?

cheers
tobi
*>
*> Regards,
*> Alex
*>
*>

--
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518
/_/ \.__/_.__/_/ [hidden email] http://ee-staff.ethz.ch/~oetiker