[mrtg] Re: Options in cfgmaker

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Fri Mar 17 10:02:29 MET 2006


Stefano,

If you use 'Options[_]: growright, bits' in your MRTG config file, all targets below this line will get the 'growright' and 'bits' options set as a default.
It is possible to use the 'Options:[_]:' line more than once in the same cfg file the create several sets of targets with different default values.
There is one thing you should be aware of: If you add an Options line for an individual target the default will be replaced for this individual target.
In case you have several targets with different options that have a common part you can also add 'Options[$]: <common option for all targets>' somewhere at the start of the cfg file. When running MRTG the value specified is added to each individual options line.

For example in my cfg files I have the following 2 lines at the start of the file:
Options[_]: growright, pngdate, bits
Options[$]: growright, pngdate

HTH,

Jan.



-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Stefano Giraldo
Sent: Thursday, March 16, 2006 7:16 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Options in cfgmaker


Hi,
I would like to use the option: growright,bits in all interfaces when i run
cfgmaker...
So... in the cfgmaker doc it's write:

--global "options[_]: growright,bits"Specifying --global after the last
router on the command line will create a line in the configuration file
which will appear after all the routers.

But it just put this line: Options[_]: growright,bits at the and of my file
cfg file... so, this option with [_] as target work for all the interfaces
in the file? Maybe not...

Anyone know how to put the an Options growright,bits in the file for all the
target?

Thanks a lot.

Bye,

        Ste.

PS Sorry if this question already has been made...

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