[mrtg] Re: MRTG SNMPv2c configuration...

Rainer Bawidamann Rainer.Bawidamann at rz.uni-ulm.de
Mon Nov 13 10:59:33 MET 2000


In article <4.3.1.2.20001110144224.01af0d30 at sword.cisco.com>,
	nlax at cisco.com (Nathan Lax) writes:
> 
> I am currently trying to configure MRTG to monitor some of the ifHC* 
> counters, and I found the following section of the MRTG Configuration 
> Reference. However, I can't make heads or tails of it.

>        Target[ezwf]: 2:public at router1:::::2

> Could you elaborate a little on this functionality? I have tried entering 
> the OID for the ifHC* mibs directly, but I get an error, as it seems the 
> SNMPGet function is SNMPv1 only. This passage leads me to believe SNMPv2c 
> is supported, however.

The ":::::2" at the end of the target string selects SNMPv2c. You can
use any 64bit counter (ifHC*) as long as you set this. If you use the
target syntax given above (interface:community at host:::::2) it will
monitor the variables ifHCInOctets and ifHCOutOctets.

Rainer
-- 
Rainer.Bawidamann at rz.uni-ulm.de

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