[mrtg] Re: cfgmaker question

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Wed Feb 15 16:28:26 MET 2006


Shane,

Maybe one master config file with an 'include' for every single mrtg config file is an option?

HTH,

Jan.

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Shane Presley
Sent: Wednesday, February 15, 2006 3:59 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] cfgmaker question


Hello,

I use cfgmaker to dynamically build configs for all my switches.  For example:

cfgmaker --output=/etc/mrtg/cisco.inc --community=mystring  --global
"options[_]: bits" --global "WorkDir: /var/www/html/mrtg-data/" --ifdesc=alias --host-template=cisco.template myserver.domain.dom:::::2 myserver2.domain.dom:::::2

However, I need to use lots of different cfgmaker scripts, since I need to define different options for certain switches.  For example on some I want to use a certain template, and some I might use a different ifdesc.

So using multiple cfgmaker scripts is great, but each one needs to output to a different file.  So that makes things a pain for me.  Is it possible to have these append to a single output file?  Or specificy different options (like ifdesc and host-template) per target?

Thanks
Shane

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi


_________________________________________________________

Het ministerie van Sociale Zaken en Werkgelegenheid sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail.
Aan dit bericht kunnen geen rechten worden ontleend.

Dit bericht is alleen bestemd voor de geadresseerde. Indien dit bericht niet voor u bestemd is, verzoeken wij u dit onmiddellijk aan ons te melden en de inhoud van dit bericht te vernietigen.
_________________________________________________________

The ministry of Social Affairs and Employment is not liable for any incorrect or incomplete transmission of the information in this e-mail or for any delay in its receipt.
This message shall not constitute any obligations.

This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and delete its content.
_________________________________________________________

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list