[mrtg] Re: Multiple *.cfg files
Rainer Bawidamann
Rainer.Bawidamann at rz.uni-ulm.de
Tue Nov 14 11:38:02 MET 2000
In article <sa111791.011 at mailint.commcare.ch>,
Peter.Baumann at commcare.ch ("Peter Baumann") writes:
>
> I have a lot of routers to monitor. At the moment I have all entrys in
> ONE mrtg.cfg and a special config with directorys (I'm using the
> directory tag in mrtg.cfg). So every customer have his own directory.
>
> I can split now every customer in own mrtg.cfg files and directorys.
> But how can I manage that mrtg is taking all the config-files and
> grabbing the traffic-datas ??
>
> Maybe someone got a nice script which is taking all the different
> configs ??
MRTG has an undocumented (?) feature: You can include a config file into
another config file with the keyword "include: /an/other/file/cfg".
Create a master file with the global overall config and include-lines
for all the other config files.
Rainer
--
Rainer.Bawidamann at rz.uni-ulm.de
--
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