[mrtg] SNMPv3 & MRTG cfgmaker followup

Lamerson, Brian blamerson at stancoe.org
Thu Sep 14 00:39:43 MEST 2006


I wanted to follow up to this since I've received a few e-mails and
phone calls recently regarding others who are not able to produce
configs using SNMPv3 and cfgmaker.  

I haven't been able to get this to work yet, and it appears that others
are having the same problem.  Here's all the trial and error I've been
through with regards to this:

Using MRTG-2.14.7 and other 2.14 versions:
./cfgmaker --username="MRTG" 10.32.254.2:::::3
SNMP V3 requires a --username parameter as part of the User Security
Model for router public at 10.32.254.2:::::3 at ./cfgmaker line 121.

Using MRTG-2.13.2 and other 2.13 versions (Daniel McDonald reported
getting cfgmaker to work using version mrtg-2.13.2-0.1.102mdk):
./cfgmaker --username="MRTG" 10.32.254.2:::::3
Undefined subroutine &main::snmpmapOID called at ./cfgmaker line 1480.

This is both on Windows and Linux systems.  I have used the entire
command line before as shown in the previous e-mail below and still have
problems.  I was wondering if others have had success implementing a new
configuration using cfgmaker under MRTG 2.14?  I am still able to query
the specific OIDs using snmpget and snmpwalk.  So, anyone have any
thoughts?  Anyone have success reported using any of the existing stable
releases?  Thanks!


Brian Lamerson
Network Specialist
Stanislaus County Office of Education
(209) 525-5018

-----Original Message-----
From: mrtg-bounce at list.ee.ethz.ch [mailto:mrtg-bounce at list.ee.ethz.ch]
On Behalf Of Lamerson, Brian
Sent: Tuesday, July 25, 2006 5:20 PM
To: mrtg at list.ee.ethz.ch
Subject: [mrtg] SNMPv3 & MRTG cfgmaker

Hello all.  I am attempting to get SNMPv3 to run on our Cisco equipment
and work with MRTG.  So far I have SNMPv3 working perfectly on the Cisco
equipment.  I applied the following to get it to work:
snmp-server group MRTG v3 priv
snmp-server user MRTG MRTG v3 auth md5 authpassword priv des
privpassword

I can in turn query it using:

snmpget -v 3 -a md5 -u MRTG -x des -A authpassword -X privpassword -l
authpriv <routerip> 1.3.6.1.2.1.1.3.0

Everytime, it returns the uptime.

However, when I try to use MRTG with it, I receive the following:
perl cfgmaker --global "EnableSnmpV3: yes" --snmp-options=:::::3
--username MRTG --authpassword authpassword --privpassword privpassword
<routerip>

SNMP V3 requires a --username parameter as part of the User Security
Model for router 10.32.254.2:::::3 at cfgmaker line 121.

I've tried moving the location of -username, I've tried adding
-username=MRTG, I've tried -username="MRTG" (Windows box).  I've
basically tried all different iterations of it.  Is this a bug with the
cfgmaker program or is it highly picky about something I'm doing?
Obviously SNMPv3 is working on the device from the snmpget command, just
I cannot get the syntax for the cfgmaker command.  While we are a
Windows shop, I have tried running cfgmaker both from a Windows machine
and a Linux machine with the same results.  I'm using MRTG version
2.14.5.  Thanks in advance!! 

Brian Lamerson
Network Specialist
Stanislaus County Office of Education
(209) 525-5018



--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://lists.ee.ethz.ch/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the mrtg mailing list