[mrtg] Re: Can you split up the output (workdir) over multiple sub-directories?

David Keefer mrtg at awebhosting.net
Thu Sep 20 00:20:16 MEST 2001


Norm,

That is exactly what I want to do, so the dedicated servers can login to
a password protected directory, and just view their stats.

I tried to add the Directory[ ] line, and then I got errors.
I am running 2.9.17 on Windows 2000 Server.

Where in the config would I put the individual WorkDir path?

Below is a sample of my config:
(Ips, etc have been modified for security)


### Interface 1 >> Descr: 'port1:10Base-T/100Base-TX' | Name: '' | Ip:
'' | Eth: ' ###

Target[1.1.1.1_1]: 1:switch_f at 1.1.1.1:
SetEnv[1.1.1.1_1]: MRTG_INT_IP=""
MRTG_INT_DESCR="port1:10Base-T/100Base-TX"
MaxBytes[1.1.1.1_1]: 12500000
Title[1.1.1.1_1]: Traffic Analysis for UMDS LINUX LC 1001 
PageTop[1.1.1.1_1]: <H1>Traffic Analysis for UMDS LINUX LC 1001 </H1> #
<TABLE> 
#   <TR><TD>System:</TD>     <TD> in Florida - USA</TD></TR>
#   <TR><TD>Maintainer:</TD> <TD></TD></TR>
#   <TR><TD>Description:</TD><TD>port1:10Base-T/100Base-TX  </TD></TR>
#   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
#   <TR><TD>ifName:</TD>     <TD></TD></TR>
#   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
# </TABLE>


### Interface 2 >> Descr: 'port2:10Base-T/100Base-TX' | Name: '' | Ip:
'' | Eth: '' ###

Target[1.1.1.1_2]: 2:switch_f at 1.1.1.1:
SetEnv[1.1.1.1_2]: MRTG_INT_IP=""
MRTG_INT_DESCR="port2:10Base-T/100Base-TX"
MaxBytes[1.1.1.1_2]: 12500000
Title[1.1.1.1_2]: Traffic Analysis for Co-Location 9001 
PageTop[1.1.1.1_2]: <H1>Traffic Analysis for Co-Location 9001 </H1> #
<TABLE>
#   <TR><TD>System:</TD>     <TD> in Florida - USA</TD></TR>
#   <TR><TD>Maintainer:</TD> <TD></TD></TR>
#   <TR><TD>Description:</TD><TD>port2:10Base-T/100Base-TX  </TD></TR>
#   <TR><TD>ifType:</TD>     <TD>ethernetCsmacd (6)</TD></TR>
#   <TR><TD>ifName:</TD>     <TD></TD></TR>
#   <TR><TD>Max Speed:</TD>  <TD>12.5 MBytes/s</TD></TR>
# </TABLE>

..
..
Etc

workdir: (path to the dir)
options[_]: growright, bits


Thanks,
David
-----Original Message-----
From: Norm Carlevato [mailto:normc at c79.net] 
Sent: Tuesday, September 18, 2001 6:50 PM
To: David Keefer
Subject: Re: [mrtg] Can you split up the output (workdir) over multiple
sub-directories?


I have done it for switches so each switch has its own directory and
each directory could be password protected.  Each switch has its own
workdir. Is this the type of thing you want to do?

David Keefer wrote:

> I would like to split up the output of the .html files into multiple
> directories so a user can just access that one directory with password

> protection to view his bandwidth.
>
> Does anyone know if this can be done, and if so how?
>
> Thank You,
> David
>
> --
> 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