Send trap V2 in Java
•
Java
How to send SNMPv2 traps from Java applications I tried to do an example on snmp4j, but it didn't work
Solution
I use snmp4j
This Javadoc may help you write code You can use SNMP Trap() method
Edit:
Well, I don't have my own code now, but you can refer to this You must use SNMP Notify() to send V2 traps instead of SNMP Trap(), because trap() only supports sending V1 traps
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码