[mrtg] Re: What do these lines in a .cfg file mean?

David Sawyer david.sawyer at uk.mckhboc.com
Thu May 10 17:06:20 MEST 2001


Did you try...

Target[192.168.1.1_FastEthernet0_0]:1.3.6.1.4.1.9.2.2.1.1.12\FastEthernet0/0
&1.3.6.1.4.1.9.2.2.1.1.17\FastEthernet0/0:public at 192.168.1.1

1.3.6.1.4.1.9.2.2.1.1.12  =  locIfInCRC
1.3.6.1.4.1.9.2.2.1.1.17  =  locIfResets

HTH

Dave

> -----Original Message-----
> From:	Tim Sheets [SMTP:TSheets at Illinois.net]
> Sent:	Thursday, May 10, 2001 3:54 PM
> To:	mrtg at list.ee.ethz.ch
> Subject:	[mrtg] What do these lines in a .cfg file mean?
> 
> 
> Using the command line of:
> # Created by 
> # cfgmaker --global 'Options[_]: growright,Bits,Unscaled' --ifref=descr
> --ifdesc=alias --output qbtc-i2.cfg public at 192.168.1.1
> 
> I get a .cfg file that has the following for each interface (some
> commented,
> some not of course)
> 
> # Target[192.168.1.1_FastEthernet0_0]:
> \FastEthernet0/0:public at 192.168.1.1:
> # SetEnv[192.168.1.1_FastEthernet0_0]: MRTG_INT_IP=""
> MRTG_INT_DESCR="FastEthernet0/0"
> 
> This is a standard graph for line utilization.
> My question is regarding the \FastEthernet0/0: part...my assumption is
> that
> since it isn't specified otherwise, it is going to graph the line
> utilization....is there a way to specify another OID that would use the
> \FastEthernet0/0: as the instance?
> 
> If I am to explicitly specify the OID, then I have to supply the instance
> right?  Well that's fine for a system OID like CPU Util, but what about
> each
> instance like interfaces (that can change as int's are added or removed)?
> 
> 
----------------------------------------------------------------------------
The information contained in this e-mail is confidential and is intended
only for the named recipient(s). If you are not the intended recipient you
must not copy, distribute, or take any action or reliance on it.
If you have received this e-mail in error, please notify the sender.
Any unauthorised disclosure of the information contained in this e-mail
is strictly prohibited.
----------------------------------------------------------------------------



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