[SNMP4J] snmp4j TestAgent example v3 trap configuration faulty ?
ulrich berl
ulrich.berl at gmx.net
Wed Jul 11 14:54:01 CEST 2018
Hi!
I try to receive the v3 trap coldStartNotification from TestAgent sample.
Using the TestAgent from test folder (2.6.3) i get the known vacm access denied error:
Found group name 'v3group' for secName 'v3notify' and secModel 3
Access denied by VACM for 1.3.6.1.6.3.1.1.5.1
After inspecting the code i can see, that
TargetParams for "v3notify" are set to NOAUTH_NOPRIV but VACM for "v3group" is set to AUTH_PRIV.
User "v3notify" has no AUTH/PRIV params configured.
Working configurations:
setting group of v3notify to v3restricted (this group has NOAUTH_NOPRIV and allows reading 1.3.6.1.6.3.1.1.5.1)
or
for TargetParams of "v3notify" setting SecurityLevel to AUTH_PRIV and secName to "SHADES", so outgoing message will be encrypted
(the usm user has to be configured in the manager application)
Was this intentionally configured or i miss something ?
br, Ulrich
More information about the SNMP4J
mailing list