[mrtg] Re: MRTG config files

Bishop, Dean dean.bishop at tcdsb.org
Fri Sep 27 16:18:06 MEST 2002


isn't cfgmaker a perl script?  Perhaps instead of writting a net-new perl
script you should consider modifying cfgmaker.

my 2 cents. keep the change,
dean

-----Original Message-----
From: Alex Ponnath [mailto:alexp at iccinternet.com]
Sent: Friday, September 27, 2002 9:52 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] MRTG config files



Hi,

I was wondering if there is a way to specify certain settings for a cfg
file
Before you run cfgmaker. The reason bhind this question is that I would
like 
To run cfgmaker as a cron job everynight to make sure all my configs are
in 
Sync with my actual devices since they change daily.

My problem is that we use mrtg only to gather the data and rrdtool as a
store
For the collected data. So that this works correctly I need to specify
the 
Folowing global config in each file

LogFormat: rrdtool
PathAdd: /usr/local/rrdtool-1.0.39/bin/
LibAdd: /usr/local/rrdtool-1.0.39/lib/perl/
WorkDir: /export/home/mrtg/sjo

So before I write a perlscript which opens the file and updates it with
this 
Setting I was wondering if it can be set somewhere else...

Thanks

Alex 

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