Hello,

I am writing a trap receiver that only intercepts traps and analyzes them.

In our system we have two servers on which snmp agents are generating traps.
At a given time, only one server out of the two is an active server, meaning
that only this
server's traps are to be processed, while the other server's traps are to be
ignored.
These two servers have distinct ip addresses (different from one another's).

Is there a way I can open an snmp session and start listening only for traps
that
arrive from a specific ip address (i.e. from the active serve's ip address
only) ?

Of course I could check the agent address in each received trap pdu and
ignore those
traps that come from a non-active server, but I am asking here whether
snmp4j infrastructure
itself provides means of doing that.

Thanks,
Tsiyona
_______________________________________________
SNMP4J mailing list
SNMP4J@agentpp.org
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to