[mrtg] Re: MRTG SNMPv2c configuration...
nlax at cisco.com
Mon Nov 13 17:38:29 MET 2000
Thanks, Rainer, for your prompt reply. I've tried what you suggested, and
was pleased to learn that MRTG supports the 64 bit counters. However, I'm
still having a couple of problems:
Here is the my configuration:
#----- begin config ----#
Workdir: (some dir)
Target[10.1.7.120.18]: 18:public at 10.1.7.120:::::2
Title[10.1.7.120.18]: FRSW-1 (No hostname defined for IP address): POS5/0
#----- end config ----#
When I run mrtg with this config, I get the following error:
ott-devtest3:19> mrtg dpawsey.cfg
backoff (:2) must be a number >= 1.0 at SNMP_Session.pm line 117.
Can you help? Is there a newer version of mrtg that I need to install? (I
am running 2.8.12) Also, what should I set the maxbytes parameter to? When
I try to set maxbytes to a number that can handle 64 bit counters, I get an
error message, saying 'Maxbytes must be smaller than maxint', which is a 32
Thanks very much for your help,
At 04:59 AM 11/13/00, you wrote:
>In article <184.108.40.206.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.Bawidamann at rz.uni-ulm.de
>Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
>FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg