[mrtg] Re: How to configure mrtg with SNMPv3

Michael Sun michaelsun_ym at yahoo.com
Mon May 8 09:03:44 MEST 2006


Dear Daniel,
Thank you for your response.

Unfortunatelly it did not work. Same result.

Are there any version restrictions for perl modules that have to be installed.
I have installed latest Net::SNMP and other requested modules
from CPAN and install tests worked fine.

Best regards,

Michael

Daniel J McDonald <dan.mcdonald at austinenergy.com> wrote: On Fri, 2006-05-05 at 04:45 -0700, Michael Sun wrote:
> Hi,
> I am trying to configure mrtg to work with SNMPv3. I have
> installed Net::SNMP and other dependent modules. After that
> I  have tried to run cfgmaker with the following options
> 
> /usr/local/mrtg-2/bin/cfgmaker 
> --global 'WorkDir: /path/to/httpd' 
> --global 'Options[_]: bits,growright' 
> --global 'EnableSnmpV3: yes' 
> --output /path/to/mrtg.cfg 
> --username 'censored-user' 
> --authprotocol 'sha' 
> --authpassword 'censored-pwd' 
> --privprotocol 'aescfb128' 
> --privpassword 'censored-pwd'  
> ip.ip.ip.ip:::::3

Here's the syntax I use:
/usr/bin/cfgmaker --if-template=iosv3.iftemplate --ifref=name
--interfaces --host-template=iosv3.template --subdir=west/HOSTNAME
--username='obfuscated' --authkey='0xReallyLongHexString'
--authproto='sha' --privkey='0xAnotherLongHexString' --privproto='des'
--output=/var/mrtg/cfg/west/hiddenvalley-net.cfg
'fakecommunitystring'@hiddenvalley-net.austin-energy.net::2:1:1:3


I think if you add the '=' it will work...

-- 
Daniel J McDonald, CCIE #2495, CNX, CISSP #78281
Austin Energy

gpg Key: http://austinnetworkdesign.com/pgp.key
Key fingerprint = B527 F53D 0C8C D38B DCC7  901D 2F19 A13A 22E8 A76A

--
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



		
---------------------------------
Get amazing travel prices for air and hotel in one click on Yahoo! FareChase 

--
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