Re: Error using SNMPv3 in SUSE 9,3

Nils Achtergarde <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Yeah, great. Parsing problem was the right hint. The entry made by the
create-user command was:

createUser nagios AuNg6ud4thaiK8EJ "MD5" AuNg6ud4thaiK8EJ DES


But the algorithm has to be in front of the password:

createUser nagios "MD5" AuNg6ud4thaiK8EJ DES AuNg6ud4thaiK8EJ 

Then, after restarting the daemon, everything works like expected.

Thanks a lot for your help. I think on my own, I never would have seen
this error (I'm not so experienced with netsnmp till now)

Regards.
Nils





On 06.08.2010 15:12, Ron Rader wrote:
> Nils:
>
>   
>> adding the following line to /var/lib/net-snmp/snmpd.conf:
>>    createUser nagios AuNg6ud4thaiK8EJ "MD5" AuNg6ud4thaiK8EJ DES
>> adding the following line to /usr/share/snmp/snmpd.conf:
>>    rouser nagios
>>     
>   OK, now what ends up in your snmpd log file after you restart the
> agent?  You must restart snmpd before you can use any new createUser
> lines.  Also note that your persistent createUser lines in
> /var/lib/net-snmp/snmpd.conf will change to more cryptic usmUser lines
> after they're processed by the agent.
>
>   
>> the password I've set is actually 16 chars long, just didn't want to
>> write it here
>>     
>   That's fair.
>
>   
>>>> Logfile says:
>>>>
>>>>         
>>>>> /var/lib/net-snmp/snmpd.conf: line 35: Error: Unknown
>>>>>           
> authentication
>   
>>>> protocol
>>>>
>>>> line 35 is
>>>>
>>>>         
>>>>> oldEngineID 0x80001f8880b7ecfe285bdf654300000000
>>>>>           
>   I suspect the line number weirdness might have something to do with
> the createUser -> usmUser transformation.  I am also a bit mystified as
> to why the script used "MD5" as the authentication protocol; as far as I
> know this datum should not be double quoted but should read MD5.  Notice
> how the encryption selection is not quoted (DES)?
>
>   It might be useful to add your own createUser lines by hand to
> experiment.
>
>   
>>>   Any encryption requires that your SUSE platform has the OpenSSL
>>> libraries installed
>>>       
>   
>> On the system is openssl 0.9.7e , openssl-32bit 9.3 and openssl-devel
>> 0.9.7e  installed.
>>     
>   That's good.  You didn't seem to get snmpd errors complaining about
> invalid encryption selections, which are expected when the agent doesn't
> have access to OpenSSL.
>
>   I think you're suffering from some sort of parsing problem between
> net-snmp-config and snmpd.
>
>   Ron
>
>
>
> The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting all copies. Thank you.
>   



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.