[mrtg] Re: separate interfaces in diferent directories

Bryant Loftin bloftin at Insight.com
Mon Mar 4 18:45:27 MET 2002


Hi,
Regarding directories: I used this

--subdirs=SNMPNAME_HOSTNAME public at 172.16.250.18

Which produces the following entry for each interface in my cfg
Directory[172.16.250.18_1]: AZARCO18_172.16.250.18
and then puts the logs, png etc in there corresponding subdirs for each
device.

A description for the format is in the manual for cfgmaker

Bjl


-----Original Message-----
From: Paul C. Williamson [mailto:pwilliamson at mandtbank.com] 
Sent: Saturday, March 02, 2002 10:50 AM
To: viaris at hotmail.com; mrtg at list.ee.ethz.ch
Subject: [mrtg] Re: separate interfaces in diferent directories



I'm not sure there is a --directory option with 
cfgmaker, but you could always edit the source to put in the
Directory[$target]: $target (or something close 
to that) if that is where you want to put the data.  

Paul

>>> "Luz Lopez" <viaris at hotmail.com> 03/02/02 11:57 AM >>>

Hi Thans for your answer,

I understand this directive, "Directory[192.168.0.1_1]: 192.168.0.1__R1",
But my no I have a question, exist any script for add or delete a 
interface?, now how can I to do for that automatically when I execute my 
cfgmaker, this can put a directory diferent in each target?

I am runing the cfgmaker as:

/var/mrtg/bin/cfgmaker --global 'Workdir: /www/monitoreo/vf' --global 
'Imagedir: /www/monitoreo/vf/images' --global 'LogDir: /var/log/mrtg/log '
--global 'Options[_]: bits,growright' --global 'Interval: 5' --global 
'Refresh: 300' --global 'Language: Spanish' --output /www/monitoreo/vf
/mrtg.cfg mrtg-pub at 192.168.1.1


Thansk in Advanced,


>From: "Paul C. Williamson" <pwilliamson at mandtbank.com>
>To: <viaris at hotmail.com>, <mrtg at list.ee.ethz.ch>
>Subject: [mrtg] Re: separate interfaces in diferent directories
>Date: Sat, 02 Mar 2002 07:38:36 -0500
>
>
>In each target section, add the keyword Directory.
>Look in the manual for how to use it.  It's really
>easy to implement.  Just remember right before you
>put it in to move your .log and .old files into their corresponding 
>directories.
>
>Paul
>
> >>> "Luz Lopez" <viaris at hotmail.com> 03/01/02 17:54 PM >>>
>
>Hi All,
>
>I need your help, I have on router several interface for my clients, 
>this >interfaces are serials.
>
>But I want that each interface has its own directory, so that my client
>can
>see it in a private directory, for example the interfaces
>
>at the moment all the archives of all the interfaces are in a same 
>directory.
>
>How can I do it?
>
>Regards,
>
>thanks in Advanced
>
>_________________________________________________________________
>MSN Photos is the easiest way to share and print your photos: 
>http://photos.msn.com/support/worldwide.aspx
>
>
>--
>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
>


_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


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


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