How to send trap form subagent to Master Agent?

As a jackaroo, I could not get enough information for SEA1.0.3 from developer guide.I don't know how to send trap from subagent . And I think a small sample of using trap is the most helpfull things for me . Who could tell me how to do ? ( ; ; )Many thanks in advance.
[290 byte] By [xiazy] at [2007-11-26 5:53:50]
# 1

I require the same information in my scenario: I have built a subagent with the AdventNet Toolkit which allowed me to write the subagent in Java. I would like traps to be sent to snmpdx and not directly to port 162. I see that the MasterAgent mib gives a value for sunMasterAgentTrapPort. "This is the port that master agent opens to receive SNMP trap notifications from various subagents. The master agent

forwards these traps to the managers appropriately."

This is exactly what I would need to know ahead of time so that I can configure the subagent correctly. If anyone knows how to send traps from the subagent to the Master Agent, I would greatly appreciate this information!

Thanks so much,

C. Morgillo

morgilc at 2007-7-6 13:06:15 > top of Java-index,Administration Tools,Solstice Enterprise Agents...