[mrtg] includes and default options
Jason Signalness
jsignalness at btinet.net
Wed May 8 20:40:49 MEST 2002
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:
-----------------------------------------------
######################################################################
# Global Options
######################################################################
WorkDir: /data/mrtg/firewalls
IconDir: /mrtgimages
Options[_]: growright,bits,noinfo
XSize[_]: 600
YSize[_]: 100
Colours[_]: LT GREEN#33bb33,BLUE#1000ff,DK
GREEN#009900,VIOLET#ff00ff
kMG[_]: ,k,M,G,T,P
######################################################################
######################################################################
# Include files for each system
######################################################################
Include: bti.inc
-----------------------------------------------
An example of an include (bti.inc):
-----------------------------------------------
######################################################################
# System: target1 - UPTIME
######################################################################
Target[target1_uptime]: `/mrtg/bin/snmp_get_uptime.pl`
Options[target1_uptime]: nopercent,gauge
MaxBytes[target1_uptime]: 1000000000
Suppress[target1_uptime]: dw
Directory[target1_uptime]: bti/
YLegend[target1_uptime]: System Uptime
ShortLegend[target1_uptime]:
Legend1[target1_uptime]:
Legend2[target1_uptime]: &nsbp;
LegendI[target1_uptime]: System Uptime
LegendO[target1_uptime]:
Title[target1_uptime]: System Uptime
PageTop[target1_uptime]: Uptime
-----------------------------------------------
--
Jason Signalness, Systems Administrator
Basin Telecommunications, Inc.
jsignalness at btinet.net (701)355-5727
--
--
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