On Tue, 2006-07-25 at 17:20 -0700, Lamerson, Brian wrote: > 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. > This is what I use: /usr/bin/cfgmaker --if-template=iosv3.iftemplate --ifref=name --interfaces --host-template=iosv3.template --subdir=southwest/HOSTNAME --username='public' --authkey='0x296ad09[...]' --authproto='sha' --privkey='0x49d9388[...]' --privproto='des' --output=/var/mrtg/cfg/southwest/salemwalk-net.cfg 'public'@salemwalk-net.austin-energy.net::2:1:1:3 > I've tried moving the location of -username, I believe cfgmaker requires that all of the modifiers be placed before the router name. > I've tried adding > -username=MRTG, I've tried -username="MRTG" (Windows box). it should be --username="mrtg" > 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? It's pretty picky. > 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!! -- Unsubscribe mailto:[EMAIL PROTECTED] 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
