RE: Error using SNMPv3 in SUSE 9,3

2010-08-06 Thread Ron Rader
Dave: > The script was re-written for the 5.3 release, and has worked > properly ever since, But the 5.2.x line (and earlier) is broken, > and nobody has noticed until now! Wow! I started out on net-snmp with 5.4.1, and I've always composed my own createUser configurations (either by hand or

Re: Error using SNMPv3 in SUSE 9,3

2010-08-06 Thread Dave Shield
On 6 August 2010 15:20, Nils Achtergarde wrote: >> Which version of the create-user command are you using? > > Im running version 5.2.1, which is the preinstalled one on the system. Aha! I've just checked that script, and it's got the -A/-a processing the wrong way round. (And similarly for -X/-

RE: Error using SNMPv3 in SUSE 9,3

2010-08-06 Thread Ron Rader
Nils: > 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 Oh man, I was staring right at the problem, I e

Re: Error using SNMPv3 in SUSE 9,3

2010-08-06 Thread Dave Shield
On 6 August 2010 14:35, Nils Achtergarde wrote: > 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: Which version of the crea

Re: Error using SNMPv3 in SUSE 9,3

2010-08-06 Thread Nils Achtergarde
On 06.08.2010 16:15, Dave Shield wrote: > On 6 August 2010 14:35, Nils Achtergarde wrote: > >> 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 b

Re: Error using SNMPv3 in SUSE 9,3

2010-08-06 Thread Nils Achtergarde
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 restart

RE: Error using SNMPv3 in SUSE 9,3

2010-08-06 Thread Ron Rader
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

Re: Error using SNMPv3 in SUSE 9,3

2010-08-06 Thread Nils Achtergarde
Hi Ron, thanks for answering so fast. On 05.08.2010 21:34, Ron Rader wrote: > Nils: > > >> I created a SNMPv3 user with (and got success message afterwards) >> >>> net-snmp-config --create-snmpv3-user -ro -x DES -a MD5 -A "mypw" -X >>> >> "mypw" nagios >> > What success mes

RE: Error using SNMPv3 in SUSE 9,3

2010-08-05 Thread Ron Rader
Nils: > I created a SNMPv3 user with (and got success message afterwards) > > net-snmp-config --create-snmpv3-user -ro -x DES -a MD5 -A "mypw" -X > "mypw" nagios What success message? "mypw" is too short to work with the net-snmp agents (v5.4.1 and v5.5) that I've used. These require a mini

Error using SNMPv3 in SUSE 9,3

2010-08-05 Thread Nils Achtergarde
Hi there, I've got a SUSE 9.3 server I created a SNMPv3 user with (and got success message afterwards) > net-snmp-config --create-snmpv3-user -ro -x DES -a MD5 -A "mypw" -X "mypw" nagios then I changed /usr/share/snmp/snmpd.conf to > rouser nagios AuthPriv for forcing encryption then I startet