Re: Help in getting inform work in v3

2010-04-13 Thread Dave Shield
On 13 April 2010 06:02, Manjit wrote: > Hi, > How to configure a user for noauth using snmptrapd.conf. $ man snmptrapd.conf authUser TYPES [-s MODEL] USER [LEVEL [OID | -v VIEW ]] authorises SNMPv3 notifications with the specified user to trig- ger the t

Re: Help in getting inform work in v3

2010-04-12 Thread Manjit
Hi, How to configure a user for noauth using snmptrapd.conf. Regards, Manjit Wes Hardaker wrote: >> On Mon, 12 Apr 2010 06:20:44 -0700, Fatima Peter >> said: >> > > FP> So, for "noauth" user, we have to specify "disableAuthorization yes" > FP> in the snmptrapd confgurati

Re: Help in getting inform work in v3

2010-04-12 Thread Wes Hardaker
> On Mon, 12 Apr 2010 06:20:44 -0700, Fatima Peter > said: FP> So, for "noauth" user, we have to specify "disableAuthorization yes" FP> in the snmptrapd confguration. You don't have to; instead you need to still configure a user in the usmTable for snmptrapd and authorization that allow

Re: Help in getting inform work in v3

2010-04-12 Thread Fatima Peter
What Manjit says seems to be correct. It worked fine even when I specify the "-e ", it goes through engineID discovery first. I also found that the engineID of "snmptrapd" changes at every invocation as 2nd part of engineID seems to be the "start time" of snmptrapd. Thanks, Fatima On Mon, Apr 12

Re: Help in getting inform work in v3

2010-04-12 Thread Manjit
Hi All, I believe if you send a snmp inform request with *noauth p*rotocol, snmptrapd.conf need to be configure differently: Follwing are working for me : snmptrap -d -Ci -v 3 -l noauth -u informtest localhost 0 .1.3.6.1.6.3.1.1.5.4.0 Content of snmptrapd.conf : disableAuthorization yes Or you

Re: Help in getting inform work in v3

2010-04-12 Thread Dave Shield
On 9 April 2010 16:30, Fatima Peter wrote: >   If we remove the "engineID" from "snmptrap", I think the other end > will reject due to engineID. Not quite. If you remove engineID from the "snmptrap -Ci" call, then the client will first probe the trap receiver to determine the appropriate engine I

Re: Help in getting inform work in v3

2010-04-09 Thread Fatima Peter
Dave, If we remove the "engineID" from "snmptrap", I think the other end will reject due to engineID. I an anycase, I tried it and here is what I found. "snmptrapd" responds to the first message probably with the engineID which "snmptrap" is not responding to correctly. At the "snmptrap" end: "

Re: Help in getting inform work in v3

2010-04-09 Thread Manjit
To receive inform the snmptrapd.conf need not to have -e engineID . Please check http://www.net-snmp.org/wiki/index.php/TUT:Configuring_snmptrapd_to_receive_SNMPv3_notifications#Configuring_a_SNMPv3_INFORM_User If you remove -e from snmptrap command then also snmptrapd will receive infrom because

Re: Help in getting inform work in v3

2010-04-09 Thread Dave Shield
On 9 April 2010 11:53, Fatima Peter wrote: > snmptrap is sending inform message but is not getting inform response > back. I enabled debug with -d and here is the exchange. If I entered > just ".1.3.6.1.6.3.1.1.5.4.", I got an usage error: The t->local etc > are output from snmptrap. It is sending

Re: Help in getting inform work in v3

2010-04-09 Thread Fatima Peter
Thanks Dave for the response. snmptrap is sending inform message but is not getting inform response back. I enabled debug with -d and here is the exchange. If I entered just ".1.3.6.1.6.3.1.1.5.4.", I got an usage error: The t->local etc are output from snmptrap. It is sending INFORM(A6) but getti

Re: Help in getting inform work in v3

2010-04-09 Thread Dave Shield
On 9 April 2010 03:16, Fatima Peter wrote: > I sent an inform message to the trap-server with the following command: > > $ sudo snmptrap Why "sudo"? Sending an SNMP request does not require special privileges, so there seems no reason to run this as root. > -Ci -v 3 -e 0x80001f888085b

Fwd: Help in getting inform work in v3

2010-04-08 Thread Fatima Peter
- Forwarded message -- From: Fatima Peter Date: Wed, Apr 7, 2010 at 1:20 PM Subject: Re: Help in getting inform work in v3 To: net-snmp-coders@lists.sourceforge.net I meant: snmpd-trapsess -v 3 -t 1 -r 3 -e 0x80001f888085b94c4882d8bc4b -l noauth -u inter -Ci 10.10.16.118:16

Re: Help in getting inform work in v3

2010-04-07 Thread Fatima Peter
I meant: snmpd-trapsess -v 3 -t 1 -r 3 -e 0x80001f888085b94c4882d8bc4b -l noauth -u inter -Ci 10.10.16.118:162 or snmpd-trapsess -v 3 -t 1 -r 3 -e 0x80001f888085b94c4882d8bc4b -l noauth -u inter -n inter -Ci 10.10.16.118:162 Here is my snmptrapd.conf file: " # snmptrapd.conf doNotRetainNotifica

Help in getting inform work in v3

2010-04-07 Thread Fatima Peter
Hello, We are using net-snmp version 5.5. I have v1/v2c/v3 traps working fine and inform also seems to work well in v2c. We have tested it with snmptrapd as well as with a 3rd party vendor tool. I seem to have problem getting inform work in v3. The informRequest goes out to snmptrapd which i