What Manjit says seems to be correct.

It worked fine even when I specify the "-e <engineID" in the
"snmptrap" call for all users but for the "noauth" user.
So, for "noauth" user, we have to specify "disableAuthorization yes"
in the snmptrapd confguration.

Without the "-e <engineID>", 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, 2010 at 3:08 AM, Manjit <manjit.si...@globaledgesoft.com> wrote:
> 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 need to change the authentication protocol eg
> snmptrap -d -Ci -v 3 -a SHA -A mypassword -x AES -X mypassword -l authPriv
> -u informtest localhost 0 .1.3.6.1.6.3.1.1.5.4.0
>
> content of snmptrapd.conf :
> createUser informtest SHA mypassword AES
> authUser log,execute,net informtest
>
> Regards,
> Manjit
> Dave Shield wrote:
>>
>> On 9 April 2010 16:30, Fatima Peter <fatima.pe...@gmail.com> 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 ID.
>> This ID will then be used to send the notification.
>>
>>
>> Note that this only applies to "snmptrap -Ci"   (aka "snmpinform").
>> Unacknowledged SNMPv3 traps (i.e. without the -Ci flag) work
>> differently.
>>
>> There's a tutorial page on the project website that explains this
>> in more detail.
>>
>> Dave
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> Net-snmp-coders mailing list
>> Net-snmp-coders@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>>
>>
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to