[SNMP4J] Sending SNMP V3 Traps with or without Agent?

Frank Fock fock at agentpp.com
Fri Jan 23 00:46:44 CET 2015


Hi Imene,

(V3) traps can be sent without implementing a command responder SNMP entity (=agent).

Nevertheless, I would recommend to implement an agent, because SNMP favours the trap-directed-polling
pattern, where a trap receiver periodically polls key MIB objects to detect failures or alarm conditions that it
might have missed because of lost traps.

Thus, the traps only reduce the time a certain conditions is detected by the receiver and not that it is detected at all.

Hope this helps.

Best regards,
Frank


> On 22 Jan 2015, at 22:28, Boussour, Imene (6076618) <imene.boussour at bell.ca> wrote:
> 
> Hi SNMP4J Team,
> Thank you for all your efforts developing  the snmp4j stack. And for taking the time to answering our questions.
> I am using SNMP4J to send V3 Traps to a third party Trap manager application hosted in a remote Windows Server.
> I already implemented a Java Class to send V3 Traps. I would like to know if I need to implement an SNMP Agent in order to send my Traps to a Trap receiver software. Knowing that, This software must discover SNMP devices in order to receive Traps from those devices that appears on its list. But What happen in a case of an Application?
> Does my SNMP Trap sending Class work alone without an Agent if the Trap receiving server discovered the machine hosting my application? Or, I need that Trap receiving app to discover an SNMP Agent that I would implement in order to accept Traps from my application?
> The fact is that I am not able to test the solution yet!
> I hope my question is clear, otherwise, please let me know to clarify some parts.
> Thanks in advance,
> Imene.
> _______________________________________________
> SNMP4J mailing list
> SNMP4J at agentpp.org
> https://oosnmp.net/mailman/listinfo/snmp4j




More information about the SNMP4J mailing list