[mrtg] Re: includes and default options

Sawyer, David david.sawyer at mckesson.co.uk
Thu May 9 10:22:06 MEST 2002


Yes it does carry over the global parameters, but since you have specified
nopercent & gauge in the target1_uptime target it over rides all global
default settings.

HTH
David Sawyer

Email: david.sawyer at mckesson.co.uk

 www.geocities.com/mrtg_daemon
   MRTG/RRDTool daemon for Windows9x/ME/2k
   MRTG GUI ConfigMaker for Windows9x/ME/2k
   TopTalker - See who the top talkers are on your network
   TFTP Cisco configs automagically



-----Original Message-----
From: Jason Signalness [mailto:jsignalness at btinet.net]
Sent: 08 May 2002 19:41
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] includes and default options



Hello,

I have one file, mrtg.cfg, that is the mrtg "config" file.  This file 
includes others using the Include line.  This mrtg.cfg file specifies a 
lot of default values for keywords.  It seems like they aren't being 
carried over into the includes.  How do I fix this?

In particular, I want the targets specified in bti.inc to have the 
"growright" option specified.  The option is specified in the file that 
includes it, but the option seems to be ignored.  (see below)

Thanks in advance.

- Jason


My mrtg.cfg file:
<--------- snip ----------->

Options[_]:          growright,bits,noinfo
.
.
Include: bti.inc
.
.
Options[target1_uptime]:          nopercent,gauge
<--------- snip ----------->


----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------


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