[mrtg] Re: FW: Problem changing Options[] for a target

Koelstra, J. (Jan) JKoelstra at MINSZW.NL
Tue May 17 10:31:46 MEST 2005


Mike,

Your assumption that by specifying Options[xxx], it will override the default setting is correct.
In my config (w2k, perl 5.8.3, MRTG 2.11.1) this works fine.
What happens when you put the first default option below the xxx.err targets?
Some things that come in mind:
- Is your config called from an other configfile with the include statement?
- Is there any Options[$] or Options[^] in your configfile?

Hth,

Jan.

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch] On Behalf Of Dean, Mike
Sent: Sunday, May 15, 2005 4:40 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] FW: Problem changing Options[] for a target


In my config, I set a default option set (at the top of the config):
Options[_]: bits,growright

For some of my targets (port errors), I don't want the bits option.  For those targets where I don't want bits I do the following:

Options[target-name.err]: gauge
Target[target-name.err]: OID, ....

My understanding is that by specifying Options[xxx], it will override the default setting.  I am not finding that to be the case. I have also tried:

Options[_]:
Options[target-name.err]: gauge
Target[target-name.err]: OID, ....
.
.
Options[_]: bits,growright
Target[target-with-bits-set]: OID ...

The configuration runs without errors.  But the values for the xxx.err targets (with the modified Option setting) are still being multiplied by 8.

What am I missing?

Thanks

Mike



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