[SNMP4J] Agent Notification Example

Frank Fock fock at agentpp.com
Tue Apr 4 23:47:09 CEST 2006


Jesse,

Creating a single NotificationOriginator(Impl) is enough.
The BaseAgent already has one. To send a notification call
for example:

     notificationOriginator.notify(new OctetString(),
                                   SnmpConstants.coldStart,
                                   new VariableBinding[0]);

Best regards,
Frank

Prusi, Jesse R wrote:
> Can someone please give an example for sending notifications from an
> agent?  Does a new NotificationOriginator need to be created for each
> notification message?
> 
> Thanks,
> Jesse
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> http://lists.agentpp.org/mailman/listinfo/snmp4j

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list