[SNMP4J] Sending traps from Snmp4j-agentx subagent to net-snmp master agent
Frank Fock
fock at agentpp.com
Wed Mar 7 21:41:48 CET 2012
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 at 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
More information about the SNMP4J
mailing list