[patch] to register the notification log MIB at default context

2010-08-06 Thread Claus Klein
Hi, I want to have the notificationLogMib module at snmpd without a running snmptrapd. I changed the following files to get this table back to the snmpd master agent. I is till possible to start the snmptrapd with -x option (with register the same MIB) at snmptrapd context. It is based

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: Re: net-snmp init_XXX() get data periodically( or cyclic ) problem

2010-08-06 Thread Dave Shield
On 6 August 2010 10:52, Alexander King wrote: > is it the meaning use "mib2c -S cache=-1 -c mib2c.iterate.conf uit" No. You are confusing different things. The command to generate the code template would be mib2c -S cache=1 mib2c.iterate.conf uit Here the value '1' means "include the code

Re: Re: net-snmp init_XXX() get data periodically( or cyclic ) problem

2010-08-06 Thread Alexander King
Thank you all kind man! I will do my best get a prototype the way Dave teaching me ASAP. Also, I thought -1 was the value for "load every time". >>I saw the letter later Dave's wrote back,is it the meaning use "mib2c -S >>cache=-1 -c mib2c.iterate.conf uit" can get the really data on t

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: A question of net-snmp

2010-08-06 Thread AC.
Thank for your help. I resolve my problem, although I don't know that is the true resolution. the resoloved flow is as following: 1. use 64-bits linux os (centos) 2. unpacking the source tarball 3. use default parameter to configure (# ./configure) 4. make it, and it's no error message. (# ma