[rrd-users] Re: Defining the time range via HTML Form

Hsiao, Chang-Ping CHsiao at corp.untd.com
Fri Mar 22 20:18:27 MET 2002


Reini:

	I have done this, and it's quite simple.

	In your HTML form, have a text field saving a string (4h, 4d or 4w
in your case) for the date or time you are interested, send it (or them if
you also want the end time to be changeable) to your CGI script.  In your
CGI script, just pass the parameter(s) to your executable (namely rrdtool
graph or RRDs::graph).

	Give it a try and good luck.

Chang-Ping Hsiao

> -----Original Message-----
> From: Reinhard Weissenbrunner [mailto:reini at leox.net]
> Sent: Thursday, March 21, 2002 7:15 PM
> To: rrd-users at list.ee.ethz.ch
> Subject: [rrd-users] Defining the time range via HTML Form
> 
> 
> 
> hi folks,
> Is someone graphing a "customized" time range from rrd-files ?
> I am thinking of a "HTML-Form where you can select "start" 
> and "end" time
> and then, generating and displaying the png file as "result"..
> in fact, "end" will be equal "now" in most cases,
> but the "start" value could easily defined, since rrdtool 
> graph accepts
> values like "-4h, -4d, -4w"..
> 
> the RRDTool backend is working fine, and a html-form based 
> frontend would be
> great, especially for
> "zooming" in to interestning time segments..
> 
> It seems to be the right challenge for a perl-newbie like me...
> Every hint or tip is highly apreciated..
> 
> <swoosh - perl-books crashing against my head>....
> ok ok. :-)
> a few examples:
> http://www.access.at/reinitest/
> 
> cheers
> Reini
> 
> 
> --
> Unsubscribe 
> mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
> Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
> Archive     http://www.ee.ethz.ch/~slist/rrd-users
> WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi
> 


__________________________________________ 
NetZero is now part of United Online
Sign Up for NetZero Platinum Today
Only $9.95 per month! http://www.netzero.net

--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list