[mrtg] Re: MRTG 3?

David Mitchell mitchelld at sunman.co.uk
Wed Jun 19 15:29:49 MEST 2002


Paul
<snip>
>There's no need for a "hybrid" solution, that's what 14all does already.
>If I want a specific rrd's file information, I just put a link like so...

>From what I understand that is not what 14all does - you pass 14all the name
of an object, the CGI then scans the config file to find out the info for
that object - EG Where the RRD file is, what type of graph is required, the
units, scaling, maximum values etc  - all of which takes a substantial time,
a more efficient method would be to scan the static information once and
then generate a line calling the CGI with all the relevant information
passed directly to the CGI. I think the previous version of 14all went
partway towards this by generating a 'cache' file of the config information.

So the CGI would be called like

http://webserver/cgi-bin/simple.cgi?rrd=<path to RRD file>&png=<graph
type>&colours=<hexmask>&lines=[I][O]&showmax=[I][O]...

basically a parameter for every option that might be set in the CFG file so
all the CGI does is convert these to an RRDs Call - no CFG file scanning at
all.

David

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list