[mrtg] Re: "include" in mrtg.cfg?

Tobias Oetiker oetiker at ee.ethz.ch
Tue Aug 15 22:57:56 MEST 2000


Today you sent me mail regarding [mrtg] "include" in mrtg.cfg?:

*> 
*> Hey,
*> 
*> Should there be a way to include other configuration files in a master mrtg
*> configuration file?
*> 
*> E.g.  I have my cron to run /usr/local/bin/mrtg /etc/mrtg/mrtg.cfg.
*> mrtg.cfg contains some global commands, but then has statements like: 
*> Include: /etc/mrtg/router1.cfg
*> Include: /etc/mrtg/router2.cfg
*> 
*> That way I can easily add, remove, or temporarily disable monitoring of
*> routers without having to mangle with one large file.
*> 
*> A possible scenario: I have a router with 10 interfaces that I monitor, but
*> I'm doing maintenance on it for an hour.  I don't want to stop mrtg from
*> running, but I also don't want it to have to timeout on 10 interfaces.
*> Also, I don't want to go in and comment out a bunch of lines in the config.

good point will look into this ... would it help to be able to
specify multiple mrtg.cfg files on the commandline ?

cheers
tobi
*> 
*> Dani D. Roisman
*> droisman at station.sony.com
*> 
*> 
*> --
*> 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
*> 
*> 

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
 / // _ \/ _ \/ / TEL: +41(0)1-6325286  FAX:...1517  ICQ: 10419518 
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker


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