[SNMP4J] NotificationOriginator.notify with empty context not working anymore ?

ulrich berl ulrich.berl at gmx.net
Mon Dec 12 12:47:41 CET 2016


Hi!

I am playing with the TestAgent sample implementation - BUT i never get a cold start notification from testAgent1.sendColdStartNotification();

If i override the sendColdStartNotification() method and supply a context for the notify() method, the cold start trap is sent.

Also, if i configure a community required for the accessing the agent, the SNMPv2MIB authenticationFailure trap will not be sent in case of wrong community string aupplied by a snmp manager, as it will use an empty context too... i see the log 'Notification 1.3.6.1.6.3.1.1.5.5 reported with [] for context' and 'Access denied by VACM for 1.3.6.1.6.3.1.1.5.5'

br, Ulrich



More information about the SNMP4J mailing list