[mrtg] Mrtg 2.15.0, cfgmaker and SNMP v3 - help

Ed LaFrance edl at colocationonline.info
Mon Jun 14 22:07:20 CEST 2010


At 04:23 PM 6/11/2010, Stuart Henderson wrote:
>On 2010-06-11, Ed LaFrance <edl at colocationonline.info> wrote:
> > Hello -
> >
> > I'm having fits trying to get mrtg 2.15.0 to run against my
> > linux-based router using mrtg v3. I can poll the router using v1 with
> > no problem, but in v3 I get no joy. The router OS does support v3.
>
>This is more than three years old and there have been 7 releases in
>the meantime.
>
>Why not try a newer MRTG and see if it's been fixed already?

Hello Stuart -

I went ahead and installed the latest MRTG. I call cfgmaker as follows:

/usr/local/mrtg-2.16.4/bin/cfgmaker --global 'Workdir: 
/path/to/workdir' --global 'Options[_]: bits, growright' 
--ifref=descr --output /path/to/output.cfg --enablesnmpv3 
--username=<username> --authprotocol=MD5 --authpassword=<authpass> 
--privprotocol=des --privpassword=<privpass> 
--contextengineid=0x0102030405 --contextname=default 
--snmp-options=:::::3 <target.ip>

... and I get

SNMPWALK Problem for 1.3.6.1.2.1.1 on 
public@<target.ip>:::::3:v4only: No response from remote host 
"r.va.0" at /usr/local/mrtg-2.16.4/bin/../lib/mrtg2/Net_SNMP_util.pm line 1805

Yes I can do a v3 query fine with snmpwalk:

snmpwalk -u public -v 3 -a MD5 -A <authpwd> -l authPriv -x DES -X 
<privpass> <router.ip>

Any ideas?

Ed




More information about the mrtg mailing list