<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=us-ascii" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Steve,<br>
I could be way off, but isn't this one of those things that changes to
whatever it's set to last? In other worlds as MRTG parses the config
files and include files one at a time, it uses the last 'set' for
WorkDir as it traverses the files and polls network elements.<br>
<br>
So that in your master mrtg.cfg file, you set WorkDir to
/home/httpd/html/mrtg, it stays to that setting until mrtg trips over
an include file that sets the WorkDir to something else(say
/home/httpd/html/mrtg/new_router) and continues to use that value
until/unless it's changed.<br>
<br>
Lyle Giese<br>
LCR Computer Services, Inc.<br>
<br>
Steve Shipway wrote:
<blockquote
cite="mid:28E447343A85354483BCF7C3E9D5EAA5149A8520@uxcn10-1.UoA.auckland.ac.nz"
type="cite">
<blockquote type="cite">
<pre wrap="">in an MRTG conf file, shouldn't "WorkDir" be inherited in included files
(if there's no "WorkDir" in these included files)?
</pre>
</blockquote>
<pre wrap=""><!---->
Err, I think it *is*, isn't it? In fact, I set WorkDir in an included file, and it applies to everything.
STeve
Steve Shipway
University of Auckland ITS
UNIX Systems Design Lead
<a class="moz-txt-link-abbreviated" href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>
Ph: +64 9 373 7599 ext 86487
_______________________________________________
mrtg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mrtg@lists.oetiker.ch">mrtg@lists.oetiker.ch</a>
<a class="moz-txt-link-freetext" href="https://lists.oetiker.ch/cgi-bin/listinfo/mrtg">https://lists.oetiker.ch/cgi-bin/listinfo/mrtg</a>
</pre>
</blockquote>
<br>
</body>
</html>