[rrd-users] Re: rrd-tool, mrtg, 14all.cgi and multiple devices

Alison Greenwald alison at andrew.cmu.edu
Thu Mar 29 17:55:55 MEST 2001


> From: "Omar Abas" <oabas at dingoblue.net.au>
> Date: Thu, 29 Mar 2001 21:09:17 +1000
> 
> Hi,
> 
> I recently got my mrtg system working with rrdtool and 14all.cgi. From what
> i've understood from the documentation, I HAVE to create a a .cgi file for
> EVERY .cfg file

If you have all of the .cfg files in the same directory, you can
modify 14all.cgi with:
$cfgfiledir='/path/to/configs/' 
and then call:
http://my.host/cgi-bin/14all.cgi?cfg=config-file-name.cfg

If they are in different directories, you could set
$cfgfiledir=param("cfgfiledir") and then add a &cfgfiledir=whatever in 
the URL.

Or am I completely not understanding the question?

-Alison


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