[mrtg-developers] Re: SNMPv2c Documentation error
Tobias Oetiker
oetiker at ee.ethz.ch
Thu Jun 6 19:20:55 MEST 2002
Today Steve Campbell wrote:
>
> Tobias,
> I've just noticed an error in the MRTG 2.9.18 configuration reference
> (http://people.ee.ethz.ch/~oetiker/webtools/mrtg/reference.html) where
> it states:
>
>
> for SNMP version if you have a fast router you might want to put a '2'
> here. This will make mrtg try to poll the 64 bit counters. And thus
> prevent excessive counter wrapping. Not all routers support this
> though.
>
> Example:
>
> 3:public at router1:::::2
>
>
> This is incorrect - the code requires that you use '2c' as the version
> rather than just '2'.
>
>
> I had been wondering why I wasn't seeing any change after switching to
> 2!
Dear Steve,
What makes you think the code would require 2c ?
In SNMP_utils I see
$SNMP_util::Session = ($version =~ /^2c?$/i)
? SNMPv2c_Session->open($host, $community, $port, undef,
which matches both 2 and 2c
cheers
tobi
>
> Steve.
>
>
> --
> Unsubscribe mailto:mrtg-developers-request at list.ee.ethz.ch?subject=unsubscribe
> Help mailto:mrtg-developers-request at list.ee.ethz.ch?subject=help
> Archive http://www.ee.ethz.ch/~slist/mrtg-developers
>
--
______ __ _
/_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
/ // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi
--
Unsubscribe mailto:mrtg-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:mrtg-developers-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/mrtg-developers
More information about the mrtg-developers
mailing list