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

Serge Maandag serge.maandag at staff.zeelandnet.nl
Sat Mar 23 10:56:49 MET 2002


You could quite easily create a year graph and use a imagemap to divide
it into 12 sections. If one of the sections gets clicked you could
generate a zoomed in version, again divided by an imagemap. And so on.

Thiss way you have an easy interface and you can zoom in on any part
you're interested in. Place a zoom out and reset button under the graph
and bingo, you're there!

Serge.

(basic setup: use epoch timestamps to define start and end of the graph.
Use hidden fields in the form to store  them. If timespan is a year
(31536000 secs), divide the graph in 12 parts, if it's a month, divide
in 4 parts, week=7 parts, day=24 parts, hour=4 parts...) 

-----Original Message-----
From: Reinhard Weissenbrunner [mailto:reini at leox.net]
Sent: vrijdag 22 maart 2002 4:15
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


--
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