}
public static void sendTrap(String address, String community,
String message, int trapType, int port) throws SNMPException {
address= address + "/" + port;
Address targetAddress = GenericAddress.parse(address);
logger.info("sendig trap to: " + address + ", message: " + message);
CommunityTarget target = new CommunityTarget();
target.setCommunity(new OctetString(community));
target.setAddress(targetAddress);