[mrtg] Re: MRTG 3?
oetiker at ee.ethz.ch
Wed Jun 19 15:33:03 MEST 2002
Today David Mitchell wrote:
> >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
> 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
David by using speedy cgi you can save all that config scanning ...
it speeds up things DRAMATICALLY
I think rrd-mrtg.cgi (see the mrtg website) does this natively ...
> 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
______ __ _
/_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
/ // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg