On 4/27/07, Daniel J McDonald <[EMAIL PROTECTED]> wrote:
> On Fri, 2007-04-27 at 09:32 -0500, falz wrote:
> > 2) Fix my include syntax and somehow force MRTG to not overwrite the
> > WorkDir variable. Not sure if this is realistic or not, but it seems
> > that the "Include" is documented anywhere that I can see.
>
> Why not put
> Directory[_]: routers
>
> at the top of the routers cfg, and Directory[_]: servers at the top of
> the servers config.  Default directives are applied until supplanted.

Thanks for the tip. I tried it, worked perfectly! The docs for
cfgmaker's directory variables were a bit confusing, I didn't realize
you could use this syntax, which worked perfectly in my case:

cfgmaker [..stuff..] --global Directory[_]: routers [..stuff..]

--falz

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to