[mrtg] wrapping around cfgmaker

Andrew Best festivus at gmail.com
Thu Sep 16 05:40:18 MEST 2004


Im wanting to build a frontend for an MRTG setup that will let me
add/delete hosts to the configs.
Pretty simple thing to do except for the fact that cfgmaker insists on
putting un-needed entries in the output it produces. Things like:

> ### Global Config Options
> #  for UNIX
> # WorkDir: /home/http/mrtg
> #  or for NT
> # WorkDir: c:\mrtgdata
> ### Global Defaults
> #  to get bits instead of bytes and graphs growing to the right
> # Options[_]: growright, bits
> EnableIPv6: no

I really dont want this guff generated since its already contained in
the main config file ill be adding the host to.

Ive looked through the docs for cfgmaker to do with templates etc but
cant see anything thats going to let me supress this output.

Anyone point me in the right direction?

"If you wash lousy clothing at low temperatures, all you get is cleaner
lice" - Dr John Maunder

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