[mrtg] Re: Problems with cfgmaker using SNMPv3

Dunc dunc at thebunker.net
Thu Nov 23 16:20:17 MET 2006


Daniel J McDonald wrote:
> On Tue, 2006-11-21 at 14:13 +0000, Dunc wrote:
>> Daniel J McDonald wrote:
>>> On Tue, 2006-11-21 at 10:06 +0000, Dunc wrote:
>>>   
> 
>> Many thanks for your response Daniel, I applied those changes, but now I 
>> get an even worse error:-
>>
> 
>> diameter ~ # cfgmaker --global 'WorkDir: /tmp/mrtg_output' --global 
>> 'Options[_]: bits,growright' --enablesnmpv3=yes --snmp-options=::1:1::3  
>> --username=snmpv3test --authpassword=authpasswd --authprotocol=sha 
>> --privpassword=encryptionpasswd 127.0.0.1
>> Undefined subroutine &main::snmpmapOID called at /usr/bin/cfgmaker line 
>> 1482.
>> diameter ~ #
>>
>> Am I perhaps missing other patches too?
> 
> snmpv3 support requires the Net::SNMP module as well.
>> I now realise I was specifying the argument wrong before anyway, but the 
>> 2nd part of that patch has made me realise, so I think what I have above 
>> now is actually the correct way to do it. Can you confirm this?
> 
> Yes.  The enablesnmpv3 keyword is optional, but it looks correct.  The
> default --privprotocol is des, and I normally specify that for
> completeness, but it should work without it.
> 
>>   Also 
>> how should I go about fixing the new error
> 
> assuming linux: rpm -ivh perl-Net-SNMP
> 
> 

Sorry, I should have been able to work that out.

Thanks Daniel, it's working now.

Dunc


-- 
Duncan Lockwood			
Network Admin
The Bunker,                        tel: +44 (1304) 814 800
Ash Radar Station,                 http://www.thebunker.net
Marshborough Rd, Ash               mailto:dunc at thebunker.net
Kent, CT13 0PL
United Kingdom

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