Package | Description |
---|---|
org.opennms.netmgt.snmp.joesnmp |
Use JoeSNMP for SNMP support in OpenNMS.
|
org.opennms.protocols.snmp |
SNMP protocol datastructure implementation (PDUs, sessions, requests, etc.)
|
Modifier and Type | Method and Description |
---|---|
static void |
JoeSnmpStrategy.send(String destAddr,
int destPort,
String community,
SnmpPduTrap trap) |
static void |
JoeSnmpStrategy.sendTest(String destAddr,
int destPort,
String community,
SnmpPduTrap pdu) |
void |
JoeSnmpTrapNotifier.snmpReceivedTrap(SnmpTrapSession session,
InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu)
Process the recieved SNMP v1 trap that was received by the underlying
trap session.
|
Constructor and Description |
---|
V1TrapInformation(InetAddress agent,
String community,
SnmpPduTrap pdu)
Constructs a new trap information instance that contains the sending
agent, the community string, and the Protocol Data Unit.
|
Modifier and Type | Method and Description |
---|---|
int |
SnmpSession.send(SnmpPduTrap pdu)
Sends the SNMP PDU Trap to the remote agent.
|
int |
SnmpSession.send(SnmpPduTrap pdu,
SnmpHandler handler)
Send the SNMP PDU Trap to the remote agent.
|
void |
SnmpTrapSession.send(SnmpPeer peer,
SnmpPduTrap trap)
Transmits the specified SnmpPduTrap to the SnmpPeer defined The
SnmpPduTrap is encoded using the peer AsnEncoder, as defined by the
SnmpParameters.
|
void |
SnmpTrapHandler.snmpReceivedTrap(SnmpTrapSession session,
InetAddress agent,
int port,
SnmpOctetString community,
SnmpPduTrap pdu)
This method is define to handle SNMPv1 traps that are received by the
session.
|
Constructor and Description |
---|
SnmpPduTrap(SnmpPduTrap second)
Constructs a new trap pdu that is identical to the passed pdu.
|
Copyright © 2021. All rights reserved.