>>>>> On Mon, 6 Feb 2006 18:22:23 +0000, Birgit Arkesteijn <[EMAIL PROTECTED]> 
>>>>> said:

Birgit> trapsess -v 3 -l noAuthNoPriv -u noAuthUser <host>:162

Birgit> I receive the PDU fine, but I noticed that the trap doesn't have the
Birgit> correct authoritative engine ID, engine boots and engine time;
Birgit> - authoritative engine ID: null (or empty),
Birgit> - engine boots: 0,
Birgit> - engine time: 0


Birgit> As far as I can work out from the snmpd.log, it seems that your engine
Birgit> tries to find the usm details for user 'noAuthUser' and fails.
Birgit> (That figures, since I don't set the -e & -Z flags in snmpd.conf.)

That's correct.  Even if you're not using authentication or encryption
you still need to add a user to the user database of both the software
(agent) sending the notification as well as the receiver (trapd)

Birgit> However, (as far as my knowledge goes for SNMPv3) when sending
Birgit> traps in SNMPv3, the engine acts as an authoritative engine
Birgit> and should therefor sends its own (!) authoritative engine ID,
Birgit> engine boots and engine time, and not the synchronisation
Birgit> parameters of the other party.

That's true, the agent should be sending it's own engineid, boots and
time assuming you're sending a trap and not an inform.  

Birgit> Unless my understanding and assumptions are incorrect, it seems that
Birgit> the net-snmp behaviour is incorrect.

Yes, I'd agree.  Though the usefulness of the missing data is pretty
much 0, but that doesn't excuse that it should be filling it in
anyway.


-- 
Wes Hardaker
Sparta, Inc.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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

Reply via email to