[mrtg] Re: Work dirs..

AS, Raj Kumar RajKumar at solectron.com
Fri May 16 08:59:31 MEST 2003


Hi Brett,
I have setup mrtg to use rrdtool, but when I try to open
http://localhost/cgi-bin/14all.cgi I get an error message " The specified
CGI application exceeded the allowed time for processing. The server has
deleted the process." 

Any suggestions are appreciated. Thanks for your time in advance.

Best Regards,
Raj.


-----Original Message-----
From: Brett Marler [mailto:brett at asroma.homeip.net]
Sent: Saturday, March 01, 2003 11:59 AM
To: RajKumar at solectron.com
Cc: mrtg at list.ee.ethz.ch
Subject: Re: [mrtg] Work dirs.. 



> Is it possible to have two working  dirs and two mrtg.cfg file, both being
> active?? The reason being I don't want to add too many ip address into one
> file.
I find the easiest way to maintain my setup is to have a very basic and
short 
mrtg.cfg (defining WorkDir and a few other options) and then have seperate 
configuration files for different hosts/routers and use the "Include" global

parameter. So my mrtg.cfg looks like:

--
WorkDir: /var/www/html/mrtg/
IconDir: /var/www/html/mrtg/
Refresh: 300
Include: /usr/local/mrtg-2.9.25/mrtg-rrd-host1.cfg
Include: /usr/local/mrtg-2.9.25/mrtg-rrd-host2.cfg
Include: /usr/local/mrtg-2.9.25/mrtg-rrd-host3.cfg
Include: /usr/local/mrtg-2.9.25/mrtg-rrd-router1.cfg
Options[_]: bits,growright
RunAsDaemon: Yes
PathAdd: /usr/local/rrdtool-1.0.39/bin/
LibAdd: /usr/local/rrdtool-1.0.39/lib/perl/
LogFormat: rrdtool
--

Then I use "14all.cgi" to view the different configuration files. Very
simple to setup and once setup, requires no further administering.

Oh, almost forgot, you can only define 1 WorkDir (as its a global parameter)
but you can specify different directories for the files). It's all outlined
in the manual.


Regards.
-- 
Brett Marler <brett at asroma.homeip.net>
WWW:	http://asroma.homeip.net/




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