[SNMP4J] TestAgent Trap

Frank Fock fock at agentpp.com
Wed Dec 14 22:29:18 CET 2005


Hi Jack,

The TestAgent initiates a coldStart trap when it starts as follows:

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

Hope this helps.

Best regards,
Frank

Houghton, Jack SPAWAR wrote:

>Hi:
>This is hopefully an easy one: How would you initiate a trap with
>TestAgent?
>Thanks,
>Jack Houghton
>_______________________________________________
>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