Uses of Class
org.snmp4j.smi.OID
Package
Description
Provides classes and interfaces for creating, sending, and receiving SNMP
messages.
Provides classes and interfaces for SNMP4J event processing.
Provides classes and interfaces for the SNMP message processing.
Provides classes and interfaces for authentication and privacy of SNMP(v3)
messages.
Provides classes for the representation of SMIv1/v2 data types (which also
includes some basic ASN.1 primitive data types).
Contains table retrieval utilities and multi-threading support classes as
well as miscellaneous utility classes.
-
Uses of OID in org.snmp4j
Modifier and TypeMethodDescriptionPDUv1.getEnterprise()
Gets the "enterprise" OID of the SNMPv1 trap.Modifier and TypeMethodDescriptionPDU.getBindingList
(OID prefix) Gets a list ofVariableBinding
s whose OID prefix matches the supplied prefix.PDU.getVariable
(OID prefix) Gets the first variable whose OID starts with the specified OID.void
PDUv1.setEnterprise
(OID enterprise) Sets the "enterprise" OID of the SNMPv1 trap. -
Uses of OID in org.snmp4j.event
Modifier and TypeMethodDescriptionCounterEvent.getOid()
Gets the instance object identifier of the counter.ModifierConstructorDescriptionCounterEvent
(Object source, OID oid) Creates aCounterEvent
for the specified counter.CounterEvent
(Object source, OID oid, long increment) Creates aCounterEvent
for the specified counter.CounterEvent
(Object source, OID oid, Object index, long increment) Creates aCounterEvent
for the specified counter. -
Uses of OID in org.snmp4j.mp
Modifier and TypeFieldDescriptionstatic final OID
SnmpConstants.authenticationFailure
static final OID
SnmpConstants.coldStart
static final OID
SnmpConstants.linkDown
static final OID
SnmpConstants.linkUp
static final OID
SnmpConstants.oosnmpUsmAesCfb192Protocol
static final OID
SnmpConstants.oosnmpUsmAesCfb192ProtocolWith3DESKeyExtension
static final OID
SnmpConstants.oosnmpUsmAesCfb256Protocol
static final OID
SnmpConstants.oosnmpUsmAesCfb256ProtocolWith3DESKeyExtension
static final OID
SnmpConstants.snmp4jStatsReqTableRetries
The total number of retries sent on behalf of requests to this target.static final OID
SnmpConstants.snmp4jStatsReqTableRuntime
The number of milliseconds a successful request took from sending the request to receiving the corresponding response with the same msgID for this target.static final OID
SnmpConstants.snmp4jStatsReqTableTimeouts
The total number of requests that timed out for this target (Counter32).static final OID
SnmpConstants.snmp4jStatsReqTableWaitTime
The total number of milliseconds this SNMP entity spend waiting for responses on its own requests to this target.static final OID
SnmpConstants.snmp4jStatsRequestRetries
The total number of retries sent on behalf of requests.static final OID
SnmpConstants.snmp4jStatsRequestRuntime
The number of milliseconds a successful request took from sending the request to receiving the corresponding response with the same msgID.static final OID
SnmpConstants.snmp4jStatsRequestTimeouts
The total number of requests that timed out (Counter32).static final OID
SnmpConstants.snmp4jStatsRequestWaitTime
The total number of milliseconds this SNMP entity spend waiting for responses on its own requests (Counter64).static final OID
SnmpConstants.snmp4jStatsResponseIgnoredRetries
The total number of retries ignored by the command responder while processing requests.static final OID
SnmpConstants.snmp4jStatsResponseProcessTime
The total number of milliseconds the command responder took to process a request.static final OID
SnmpConstants.snmp4jStatsResponseTimeouts
The number of response processings that ended due to an internal timeout before that maximum number of response variables (GETBULK) has been reached.static final OID
SnmpConstants.snmpEngineID
static final OID
SnmpConstants.snmpInASNParseErrs
static final OID
SnmpConstants.snmpInBadCommunityNames
static final OID
SnmpConstants.snmpInBadCommunityUses
static final OID
SnmpConstants.snmpInBadVersions
static final OID
SnmpConstants.snmpInPkts
static final OID
SnmpConstants.snmpInvalidMsgs
static final OID
SnmpConstants.snmpProxyDrops
static final OID
SnmpConstants.snmpSetSerialNo
static final OID
SnmpConstants.snmpSilentDrops
static final OID
SnmpConstants.snmpSshtmSessionCloses
static final OID
SnmpConstants.snmpSshtmSessionInvalidCaches
static final OID
SnmpConstants.snmpSshtmSessionNoChannels
static final OID
SnmpConstants.snmpSshtmSessionNoSessions
static final OID
SnmpConstants.snmpSshtmSessionNoSubsystems
static final OID
SnmpConstants.snmpSshtmSessionOpenErrors
static final OID
SnmpConstants.snmpSshtmSessionOpens
static final OID
SnmpConstants.snmpSshtmSessionUserAuthFailures
static final OID
SnmpConstants.snmpTlstmSessionAccepts
static final OID
SnmpConstants.snmpTlstmSessionClientCloses
static final OID
SnmpConstants.snmpTlstmSessionInvalidCaches
static final OID
SnmpConstants.snmpTlstmSessionInvalidClientCertificates
static final OID
SnmpConstants.snmpTlstmSessionInvalidServerCertificates
static final OID
SnmpConstants.snmpTlstmSessionNoSessions
static final OID
SnmpConstants.snmpTlstmSessionOpenErrors
static final OID
SnmpConstants.snmpTlstmSessionOpens
static final OID
SnmpConstants.snmpTlstmSessionServerCloses
static final OID
SnmpConstants.snmpTlstmSessionUnknownServerCertificate
static final OID
SnmpConstants.snmpTrapAddress
static final OID
SnmpConstants.snmpTrapCommunity
static final OID
SnmpConstants.snmpTrapEnterprise
static final OID
SnmpConstants.snmpTrapOID
static final OID
SnmpConstants.snmpTraps
static final OID
SnmpConstants.snmpTsmConfigurationUsePrefix
static final OID
SnmpConstants.snmpTsmInadequateSecurityLevels
static final OID
SnmpConstants.snmpTsmInvalidCaches
static final OID
SnmpConstants.snmpTsmInvalidPrefixes
static final OID
SnmpConstants.snmpTsmUnknownPrefixes
static final OID
SnmpConstants.snmpUnavailableContexts
static final OID
SnmpConstants.snmpUnknownContexts
static final OID
SnmpConstants.snmpUnknownPDUHandlers
static final OID
SnmpConstants.snmpUnknownSecurityModels
static final OID
SnmpConstants.sysContact
static final OID
SnmpConstants.sysDescr
static final OID
SnmpConstants.sysLocation
static final OID
SnmpConstants.sysName
static final OID
SnmpConstants.sysObjectID
static final OID
SnmpConstants.sysOREntry
static final OID
SnmpConstants.sysServices
static final OID
SnmpConstants.system
static final OID
SnmpConstants.sysUpTime
static final OID
SnmpConstants.usm3DESEDEPrivProtocol
static final OID
SnmpConstants.usmAesCfb128Protocol
static final OID
SnmpConstants.usmDESPrivProtocol
static final OID
SnmpConstants.usmHMACMD5AuthProtocol
static final OID
SnmpConstants.usmHMACSHAAuthProtocol
static final OID
SnmpConstants.usmNoAuthProtocol
static final OID
SnmpConstants.usmNoPrivProtocol
static final OID
SnmpConstants.usmStatsDecryptionErrors
static final OID
SnmpConstants.usmStatsNotInTimeWindows
static final OID
SnmpConstants.usmStatsUnknownEngineIDs
static final OID
SnmpConstants.usmStatsUnknownUserNames
static final OID
SnmpConstants.usmStatsUnsupportedSecLevels
static final OID
SnmpConstants.usmStatsWrongDigests
static final OID
SnmpConstants.warmStart
static final OID
SnmpConstants.zeroDotZero
Modifier and TypeMethodDescriptionstatic OID
SnmpConstants.getTrapOID
(OID enterprise, int genericID, int specificID) Modifier and TypeMethodDescriptionAdds a counter to this counter listener.MPv3.getAuthProtocol
(OID id) Gets an authentication protocol for the supplied ID.static int
SnmpConstants.getGenericTrapID
(OID oid) Gets the generic trap ID from a notification OID.MPv3.getPrivProtocol
(OID id) Gets an privacy protocol for the supplied ID.static OID
SnmpConstants.getTrapOID
(OID enterprise, int genericID, int specificID) Removes a counter from this listener and returns it. -
Uses of OID in org.snmp4j.security
Modifier and TypeFieldDescriptionstatic final OID
AuthHMAC128SHA224.ID
static final OID
AuthHMAC192SHA256.ID
static final OID
AuthHMAC256SHA384.ID
static final OID
AuthHMAC384SHA512.ID
static final OID
AuthMD5.ID
static final OID
AuthSHA.ID
static final OID
Priv3DES.ID
Unique ID of this privacy protocol.static final OID
PrivAES128.ID
Unique ID of this privacy protocol.static OID
PrivAES192.ID
Unique ID of this privacy protocol.static OID
PrivAES256.ID
Unique ID of this privacy protocol.static final OID
PrivDES.ID
Unique ID of this privacy protocol.Modifier and TypeMethodDescriptionUsmUser.getAuthenticationProtocol()
Gets the authentication protocol ID.PrivAES192.getDefaultID()
PrivAES256.getDefaultID()
AuthenticationProtocol.getID()
Gets the OID uniquely identifying the authentication protocol.AuthMD5.getID()
AuthSHA.getID()
AuthSHA2.getID()
Priv3DES.getID()
Gets the OID uniquely identifying the privacy protocol.PrivacyProtocol.getID()
Gets the OID uniquely identifying the privacy protocol.PrivAES128.getID()
Gets the OID uniquely identifying the privacy protocol.PrivAES192.getID()
Gets the OID uniquely identifying the privacy protocol.PrivAES256.getID()
Gets the OID uniquely identifying the privacy protocol.PrivDES.getID()
Gets the OID uniquely identifying the privacy protocol.SecurityProtocol.getID()
Gets the OID uniquely identifying the privacy protocol.UsmUser.getPrivacyProtocol()
Gets the privacy protocol ID.Modifier and TypeMethodDescriptionUSM.addLocalizedUser
(byte[] engineID, OctetString userName, OID authProtocol, byte[] authKey, OID privProtocol, byte[] privKey) Adds a localized user to the USM.SecurityProtocols.getAuthenticationProtocol
(OID id) Get theAuthenticationProtocol
with the given ID.SecurityProtocols.getPrivacyProtocol
(OID id) Get the PrivacyProtocol with the given ID.SecurityProtocols.getSecurityProtocol
(OID protocolID) Get the security protocol (AuthenticationProtocol
orPrivacyProtocol
) for the specified protocol OID.byte[]
SecurityProtocols.passwordToKey
(OID authProtocolID, OctetString passwordString, byte[] engineID) Generates the localized key for the given password and engine id for the authentication protocol specified by the supplied OID.byte[]
SecurityProtocols.passwordToKey
(OID privProtocolID, OID authProtocolID, OctetString passwordString, byte[] engineID) Generates the localized key for the given password and engine id for the privacy protocol specified by the supplied OID.void
void
ModifierConstructorDescriptionDeprecated.AuthSHA2
(String protocolName, OID protocolOID, int digestLength, int authenticationCodeLength, int hmacBlockSize) Creates a SHA authentication protocol with the specified digest length.UsmUser
(OctetString securityName, OID authenticationProtocol, OctetString authenticationPassphrase, OID privacyProtocol, OctetString privacyPassphrase) Creates a USM user.UsmUser
(OctetString securityName, OID authenticationProtocol, OctetString authenticationPassphrase, OID privacyProtocol, OctetString privacyPassphrase, OctetString localizationEngineID) Creates a localized USM user.UsmUserEntry
(byte[] engineID, OctetString securityName, OID authProtocol, byte[] authKey, OID privProtocol, byte[] privKey) Creates a localized user entry. -
Uses of OID in org.snmp4j.security.dh
Modifier and TypeFieldDescriptionstatic final OID
DHOperations.oidUsmDHKickstartMgrPublic
static final OID
DHOperations.oidUsmDHKickstartMyPublic
static final OID
DHOperations.oidUsmDHKickstartSecurityName
Modifier and TypeMethodDescriptionDHOperations.DHKeyInfo.getAuthProtocol()
DHOperations.DHKeyInfo.getPrivProtocol()
ModifierConstructorDescriptionDHKeyInfo
(OctetString userName, byte[] privateKey, OID authProtocol, OID privProtocol) -
Uses of OID in org.snmp4j.security.nonstandard
Modifier and TypeFieldDescriptionstatic OID
PrivAES192With3DESKeyExtension.ID
Unique ID of this privacy protocol.static OID
PrivAES256With3DESKeyExtension.ID
Unique ID of this privacy protocol.protected OID
PrivAESWith3DESKeyExtension.oid
Modifier and TypeMethodDescriptionNonStandardSecurityProtocol.getDefaultID()
Gets the default ID for this non-standard privacy protocol.PrivAES192With3DESKeyExtension.getDefaultID()
PrivAES256With3DESKeyExtension.getDefaultID()
PrivAESWith3DESKeyExtension.getID()
-
Uses of OID in org.snmp4j.smi
Modifier and TypeMethodDescriptionfinal OID
OID.append
(int subID) Appends a sub-identifier to this OID.final OID
Appends a dotted String OID to thisOID
.final OID
Appends anOID
to this OID.final OID
OID.appendUnsigned
(long subID) Appends an unsigned long sub-identifier value to this OID.VariableBinding.getOid()
Gets the object instance identifier of the variable binding.OID.mask
(OctetString mask) Returns a copy of this OID where sub-identifiers have been set to zero for all n-th sub-identifier where the n-th bit of mask is zero.static OID
Returns the greater of the two OID values.static OID
Returns the lesser of the two OID values.final OID
OID.nextPeer()
Returns the next following OID with the same or lesser size (length).final OID
OID.predecessor()
Returns the predecessor OID for this OID.final OID
OID.successor()
Returns the successor OID for this OID.abstract OID
AbstractVariable.toSubIndex
(boolean impliedLength) Converts the value of thisVariable
to a (sub-)index value.Counter32.toSubIndex
(boolean impliedLength) Counter64.toSubIndex
(boolean impliedLength) GenericAddress.toSubIndex
(boolean impliedLength) Integer32.toSubIndex
(boolean impliedLength) IpAddress.toSubIndex
(boolean impliedLength) Null.toSubIndex
(boolean impliedLength) OctetString.toSubIndex
(boolean impliedLength) final OID
OID.toSubIndex
(boolean impliedLength) UnsignedInteger32.toSubIndex
(boolean impliedLength) Variable.toSubIndex
(boolean impliedLength) Converts the value of thisVariable
to a (sub-)index value.VariantVariable.toSubIndex
(boolean impliedLength) OID.trim()
Returns a new copy of this OID with the last sub-indentifier removed.Modifier and TypeMethodDescriptionfinal OID
Appends anOID
to this OID.static VariableBinding[]
VariableBinding.createFromOIDs
(OID[] oids) Create an array ofVariableBinding
s based on the provided OIDs.abstract void
AbstractVariable.fromSubIndex
(OID subIndex, boolean impliedLength) Sets the value of thisVariable
from the supplied (sub-)index.void
Counter32.fromSubIndex
(OID subIndex, boolean impliedLength) void
Counter64.fromSubIndex
(OID subIndex, boolean impliedLength) void
GenericAddress.fromSubIndex
(OID subIndex, boolean impliedLength) void
Integer32.fromSubIndex
(OID subIndex, boolean impliedLength) void
IpAddress.fromSubIndex
(OID subIndex, boolean impliedLength) void
Null.fromSubIndex
(OID subIndex, boolean impliedLength) void
OctetString.fromSubIndex
(OID subIndex, boolean impliedLength) final void
OID.fromSubIndex
(OID subIndex, boolean impliedLength) void
UnsignedInteger32.fromSubIndex
(OID subIndex, boolean impliedLength) void
Variable.fromSubIndex
(OID subIndex, boolean impliedLength) Sets the value of thisVariable
from the supplied (sub-)index.void
VariantVariable.fromSubIndex
(OID subIndex, boolean impliedLength) int
OID.leftMostCompare
(int n, OID other) Compares the n leftmost sub-identifiers with the givenOID
in left-to-right direction.static OID
Returns the greater of the two OID values.static OID
Returns the lesser of the two OID values.int
OID.rightMostCompare
(int n, OID other) Compares the n rightmost sub-identifiers in direction right-to-left with those of the givenOID
.void
Sets the object instance identifier for the variable binding.boolean
OID.startsWith
(OID other) Check if the OID starts with the given OID.ModifierConstructorDescriptionCopy constructor.VariableBinding
(OID oid) Creates a variable binding with the supplied object instance identifier and aNull
value.VariableBinding
(OID oid, String variableText) Creates a variable binding with the supplied OID and a text value.VariableBinding
(OID oid, Variable variable) Creates a variable binding with the supplied OID and value. -
Uses of OID in org.snmp4j.tools.console
Modifier and TypeMethodDescriptionSnmpRequest.getAuthProtocol()
SnmpRequest.getLowerBoundIndex()
SnmpRequest.getPrivProtocol()
SnmpRequest.getTrapOID()
SnmpRequest.getUpperBoundIndex()
Modifier and TypeMethodDescriptionvoid
SnmpRequest.setAuthProtocol
(OID authProtocol) void
SnmpRequest.setLowerBoundIndex
(OID lowerBoundIndex) void
SnmpRequest.setPrivProtocol
(OID privProtocol) void
SnmpRequest.setTrapOID
(OID trapOID) void
SnmpRequest.setUpperBoundIndex
(OID upperBoundIndex) -
Uses of OID in org.snmp4j.util
Modifier and TypeMethodDescriptionstatic OID
SnmpConfigurator.getAuthProtocolOid
(String authP) TableEvent.getIndex()
Gets the row index OID.static OID
SnmpConfigurator.getPrivProtocolOid
(String privP) Modifier and TypeMethodDescriptionTableUtils.createRow
(Target target, OID rowStatusColumnOID, OID rowIndex, VariableBinding[] values) Creates a SNMP table row for a table that supports the RowStatus mechanism for row creation.protected TableUtils.TableRequest
TableUtils.createTableRequest
(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) TableUtils.destroyRow
(Target target, OID rowStatusColumnOID, OID rowIndex) Destroys a SNMP table row from a table that support the RowStatus mechanism for row creation/deletion.Returns a textual representation of the supplied variable against the optionally supplied instance OID.Returns a textual representation of the supplied variable against the optionally supplied instance OID.void
TableUtils.getDenseTable
(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) Gets SNMP tabular data from one or more tables.org.snmp4j.util.TableUtils.Row
TreeUtils.getSubtree
(Target target, OID rootOID) Gets a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target synchronously.void
TreeUtils.getSubtree
(Target target, OID rootOID, Object userObject, TreeListener listener) Gets a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target asynchronously.Gets synchronously SNMP tabular data from one or more tables.void
TableUtils.getTable
(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex) Gets SNMP tabular data from one or more tables.This operation is not supported bySimpleVariableTextFormat
.Parses a textual representation of a variable against its associated OBJECT-TYPE OID.Walks a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target asynchronously.void
TreeUtils.walk
(Target target, OID[] rootOIDs, Object userObject, TreeListener listener) Walks a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target asynchronously.ModifierConstructorDescriptionTableEvent
(TableUtils.TableRequest source, Object userObject, OID index, VariableBinding[] cols) Creates a table event with row data.TableRequest
(Target target, OID[] columnOIDs, TableListener listener, Object userObject, OID lowerBoundIndex, OID upperBoundIndex)
AuthSHA2(String, OID, int, int, int)
instead to specify the correct HMAC block size