[mrtg] Re: forking details
Paul C. Williamson
pwilliamson at mandtbank.com
Wed Nov 14 23:07:54 MET 2001
Change this:
http://booth236.net/cgi-bin/14all.cgi?log=adsl-swbell.net
to this:
http://booth236.net/cgi-bin/14all.cgi?cfg=whatever.cfg&log=adsl-swbell.net
and then in 14all.cgi, leave the cfgfile blank like:
$cfgfile = '';
and put in the cfgfiledir something like:
$cfgfiledir = '/usr/local/rrd';
That's the way my calls from 14all look.
HTH!
Paul
>>> <Greg.Volk at edwardjones.com> 11/14/01 04:57PM >>>
> You know you can pass the cfg as well as the log to 14all.
> That way you would not need to modify you scripts that
> much, would you? That way, you can have multiple
> configs, but only call 14all with an added parameter,
> namely the name of the config file.
>
> Paul
>
How do I do this? Right now my calls look like:
(for single interfaces)
http://booth236.net/cgi-bin/14all.cgi?log=adsl-swbell.net
(for indexes)
http://booth236.net/cgi-bin/14all.cgi?dir=sw1/
I looked at the 14all docs, and didn't see anything about
using a config file directive on the cgi call line. I must
be missing something obvious.
--
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
--
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