[mrtg] Re: cfgmaker

James Overbeck grendel at interq.ad.jp
Tue Aug 28 15:09:31 MEST 2001


	I think I follow... You don't even want the commented-out interfaces,
correct?
	Quick and dirty solution is a simple grep that leaves out all commented
lines, even the possibly useful ones. But it does make the file smaller.

grep -v ^# mrtg.cfg > new-mrtg.cfg

HTH,
James


"Daniel R . Kilbourne" wrote:
> 
> Question for those of you that use cfgmaker out there. Is there a way to have cfgmaker not print out any down interfaces? I usually hand-edit configs after building them, but I am trying to automate some stuff, and would like to leave any down interfaces out of the config for clarity.....
> 
> I do not believe this is a case of RTFM, the only thing I found that sounded good was the --no-down, which is not helping
> 
> --
> --------------------------------
> Daniel R. Kilbourne
> daniel.kilbourne at corecomm.com
> CoreComm Systems Engineering
> ________________________________
> 
> --
> 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