[mrtg] How to use include in mrtg.cfg
Steve Shipway
s.shipway at auckland.ac.nz
Wed May 11 00:10:17 CEST 2011
> Hi, Does anyone know how to use INCLUDE in mrtg.cfg?
> For documents, in mrtg.cfg, there could be INCLUDE field.
You can use Include: in the MRTG files like this:
Include: filename.cfg
Since version 2.17.1? of MRTG (IE, the latest version) I believe you can also use wildcards in the Include statement:
Include: subdir/*.cfg
The Routers2 frontend understands the Include statement fine; however for the second wildcarded form you need the later version of Routers2 for it to work consistently.
I don't know if indexmaker understands this or not as we don't use native mode.
Steve
Steve Shipway
ITS Unix Services Design Lead
University of Auckland, New Zealand
Floor 1, 58 Symonds Street, Auckland
Phone: +64 (0)9 3737599 ext 86487
DDI: +64 (0)9 924 6487
Mobile: +64 (0)21 753 189
Email: s.shipway at auckland.ac.nz
Please consider the environment before printing this e-mail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4928 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/mrtg/attachments/20110510/dc439864/attachment-0001.bin
More information about the mrtg
mailing list