Package | Description |
---|---|
org.opennms.netmgt.scriptd.helper |
Modifier and Type | Method and Description |
---|---|
void |
SnmpTrapHelper.addVarBinding(SnmpTrapBuilder trap,
String name,
String type,
String value)
Create a new variable binding and add it to the specified SNMP V1 trap.
|
void |
SnmpTrapHelper.addVarBinding(SnmpTrapBuilder trap,
String name,
String type,
String encoding,
String value)
Create a new variable binding and add it to the specified SNMP V1 trap.
|
SnmpV2TrapBuilder |
SnmpTrapHelper.createV2Inform(String trapOid,
String sysUpTime)
Create an SNMP V2 inform with the specified trap object ID, and sysUpTime
value.
|
SnmpTrapBuilder |
SnmpTrapHelper.createV2Trap(String trapOid,
String sysUpTime)
Create an SNMP V2 trap with the specified trap object ID, and sysUpTime
value.
|
SnmpV3TrapBuilder |
SnmpTrapHelper.createV3Inform(String trapOid,
String sysUpTime)
Create an SNMP V3 trap with the specified trap object ID, and sysUpTime
value.
|
SnmpV3TrapBuilder |
SnmpTrapHelper.createV3Trap(String trapOid,
String sysUpTime)
Create an SNMP V3 trap with the specified trap object ID, and sysUpTime
value.
|
void |
SnmpTrapHelper.forwardTrap(Event event,
String destAddr,
int destPort)
Create an SNMP trap, based on the content of the specified event, and
forward the trap to the specified address and port.
|
void |
SnmpTrapHelper.forwardV1Trap(Event event,
String destAddr,
int destPort)
Create an SNMP V1 trap, based on the content of the specified event, and
forward the trap to the specified address and port.
|
void |
SnmpTrapHelper.forwardV2Trap(Event event,
String destAddr,
int destPort)
Create an SNMP V2 trap, based on the content of the specified event, and
forward the trap to the specified address and port.
|
void |
SnmpTrapHelper.sendTL1AutonomousMsgTrap(Event event,
String destAddr,
int destPort,
String trapVersion,
String community)
Create an SNMP trap, based on the content of an event derived from a
TL1 autonomous message received by Tl1d, and forward the trap to the
specified address and port.
|
void |
SnmpTrapForwarderHelper.sendV2AlarmInform(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV2AlarmTrap(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV2EventInform(Event event) |
void |
SnmpTrapForwarderHelper.sendV2EventTrap(Event event) |
void |
SnmpTrapForwarderHelper.sendV3AlarmInform(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV3AlarmTrap(Event event,
boolean sync) |
void |
SnmpTrapForwarderHelper.sendV3EventInform(Event event) |
void |
SnmpTrapForwarderHelper.sendV3EventTrap(Event event) |
Copyright © 2021. All rights reserved.