Hi, Simply use the "notify" method of the AgentXSubAgent which implements the corresponding method of the NotificationOriginator interface:
http://www.snmp4j.org/agentX/doc/org/snmp4j/agent/agentx/subagent/AgentXSubagent.html#notify(org.snmp4j.smi.OctetString, org.snmp4j.smi.OID, org.snmp4j.smi.VariableBinding[]) Best regards, Frank Am 02.02.2012 13:18, schrieb gomathi kg: > Hi Snmp4jexperts, > > I have configured net-snmp master agent and snm4j-agentx subagent > communication. > > agentXSocket tcp:localhost:705 > agentXTimeout 5 > agentXRetries 2 > > Ping event is working successfully between master and sub agent. > I wanted to know how to send the traps from subagent via master agent to > manager. > > Thanks in advance. > > Regards, > Gomathi.K > _______________________________________________ > SNMP4J mailing list > SNMP4J@agentpp.org > http://lists.agentpp.org/mailman/listinfo/snmp4j -- --- AGENT++ Maximilian-Kolbe-Str. 10 73257 Koengen, Germany https://agentpp.com Phone: +49 7024 8688230 Fax: +49 7024 8688231 _______________________________________________ SNMP4J mailing list SNMP4J@agentpp.org http://lists.agentpp.org/mailman/listinfo/snmp4j