Phil, To globally inhibit trap sending, set the RowStatus all rows of the snmpNotifyTable to notInService(2).
Regards, Frank Phil Pidgeon wrote: > Frank, > > I am using the TestAgent example as the basis for an SNMP agent. I need to > be able to lock the agent so that it doesn't respond to set/get requests and > also to inhibit the agent from sending traps. I have worked out how to > inhibit the set/get response, BUT: > > Given the number of classes involved in establishing targets and sending > traps, > is there a standard method to globally inhibit the sending of any traps > using the example snmp4j-agent TestAgent/BaseAgent or is a custom > modification needed to be used to inhibit traps? I can probably figure out a > way but I thought I would ask before changing snmp-agent library classes. > > If I lock the agent I want to maintain all registered targets, close the > snmp session, release the udp port, but stop any traps from being sent. > > Regards, > Phil. > _______________________________________________ > SNMP4J mailing list > [email protected] > http://lists.agentpp.org/mailman/listinfo/snmp4j -- AGENT++ http://www.agentpp.com http://www.snmp4j.com http://www.mibexplorer.com http://www.mibdesigner.com _______________________________________________ SNMP4J mailing list [email protected] http://lists.agentpp.org/mailman/listinfo/snmp4j
