[mrtg] Re: MRTG not using subdirs

Britt Tabor Britt_Tabor at Jabil.com
Wed Jul 21 15:41:32 MEST 2004


I checked my .cfg file and the individual interfaces do NOT have the
Directory[] entry. But at the top of the file it shows the line that was
used to create the file and --subdirs=HOSTNAME is there. And like I
mentioned the folders get created. Can I add a line in the global section
"Directory: /var/www/mrtg/$targat_name" ???



Britt Tabor
I.T. Infrastructure Engineer
Jabil Global Services
727.803.3475  Voice
727.803.5306  Fax



-----Original Message-----
From: Eric Brander [mailto:Eric_Mailing_List at rednarb.com] 
Sent: Wednesday, July 21, 2004 9:07 AM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: MRTG not using subdirs

Britt Tabor wrote:
> When I run cfgmaker I specify that -subdirs=HOSTNAME but when MRTG starts
it
> does not place the files in the sub directories it just throws them all in
> the parent dir. Anyone know why that might be?
>  
> 

Does your resulting servers.cfg file have a Directory[] statement for 
each interface?

I personally use "--subdirs=SNMPNAME" which may or may not be different 
from HOSTNAME, but that one works for me.

Regards,

Eric Brander

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


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