Hello,

I am running snmpd on a Windows PC and am trying to get SNMP V3
traps/informs to work.
No issues with V2c Traps/Informs.
net-snmp-5.8

I created the V3 users and it is retrievable from the usmUserTable.

Name/OID:
usmUserSecurityName.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OctetString): LHayesTest
Name/OID:
usmUserCloneFrom.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OID): .0.0
Name/OID:
usmUserAuthProtocol.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OID): usmHMACMD5AuthProtocol
Name/OID:
usmUserAuthKeyChange.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OctetString):
Name/OID:
usmUserOwnAuthKeyChange.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OctetString):
Name/OID:
usmUserPrivProtocol.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OID): usmDESPrivProtocol
Name/OID:
usmUserPrivKeyChange.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OctetString):
Name/OID:
usmUserOwnPrivKeyChange.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OctetString):
Name/OID:
usmUserPublic.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (OctetString):
Name/OID:
usmUserStorageType.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (Integer): readOnly (5)
Name/OID:
usmUserStatus.7.128.0.41.136.120.120.136.10.76.72.97.121.101.115.84.101.115.116;
Value (Integer): active (1)


When I generate a condition that should trigger an Inform
I see the following in the log of snmpd.

usm: USM processing has begun (offset 113)
usm: getting user LHayesTest
usm: match on user LHayesTest
usm: Failed to find engine data.
usm: Signing failed.
snmpd: send_trap: USM authentication failure (incorrect password or key)

My engineBoots always has a value of 1 in the persist file snmpd.conf.
Not sure if this is somehow causing an issue, but worth noting as I have
read engineBoots of 1 might affect V3.

The process I use to manage the daemon:
1) write trap/inform directives in a snmpd.local.conf
2) kill snmpd, remove all usmUser directives
3) add createUser directives
4) start snmpd again.

So can anyone help with why I am seeing the 'Failed to find engine data'
which I think is the cause of the inform not being sent out?
Or other suggestions.

Thanks in advance
Larry Hayes
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to