Uses of Class
org.snmp4j.smi.OID
Packages that use 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
Methods in org.snmp4j that return OIDModifier and TypeMethodDescriptionPDUv1.getEnterprise()Gets the "enterprise" OID of the SNMPv1 trap.Methods in org.snmp4j with parameters of type OIDModifier and TypeMethodDescriptionPDU.getBindingList(OID prefix) Gets a list ofVariableBindings whose OID prefix matches the supplied prefix.PDU.getVariable(OID prefix) Gets the first variable whose OID starts with the specified OID.voidPDUv1.setEnterprise(OID enterprise) Sets the "enterprise" OID of the SNMPv1 trap. -
Uses of OID in org.snmp4j.event
Methods in org.snmp4j.event that return OIDModifier and TypeMethodDescriptionCounterEvent.getOid()Gets the instance object identifier of the counter.Constructors in org.snmp4j.event with parameters of type OIDModifierConstructorDescriptionCounterEvent(Object source, OID oid) Creates aCounterEventfor the specified counter.CounterEvent(Object source, OID oid, long increment) Creates aCounterEventfor the specified counter.CounterEvent(Object source, OID oid, Object index, long increment) Creates aCounterEventfor the specified counter. -
Uses of OID in org.snmp4j.mp
Fields in org.snmp4j.mp declared as OIDModifier and TypeFieldDescriptionstatic final OIDSnmpConstants.authenticationFailurestatic final OIDSnmpConstants.coldStartstatic final OIDSnmpConstants.linkDownstatic final OIDSnmpConstants.linkUpstatic final OIDSnmpConstants.oosnmpUsmAesCfb192Protocolstatic final OIDSnmpConstants.oosnmpUsmAesCfb192ProtocolWith3DESKeyExtensionstatic final OIDSnmpConstants.oosnmpUsmAesCfb256Protocolstatic final OIDSnmpConstants.oosnmpUsmAesCfb256ProtocolWith3DESKeyExtensionstatic final OIDSnmpConstants.snmp4jStatsReqTableRetriesThe total number of retries sent on behalf of requests to this target.static final OIDSnmpConstants.snmp4jStatsReqTableRuntimeThe 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 OIDSnmpConstants.snmp4jStatsReqTableTimeoutsThe total number of requests that timed out for this target (Counter32).static final OIDSnmpConstants.snmp4jStatsReqTableWaitTimeThe total number of milliseconds this SNMP entity spend waiting for responses on its own requests to this target.static final OIDSnmpConstants.snmp4jStatsRequestRetriesThe total number of retries sent on behalf of requests.static final OIDSnmpConstants.snmp4jStatsRequestRuntimeThe number of milliseconds a successful request took from sending the request to receiving the corresponding response with the same msgID.static final OIDSnmpConstants.snmp4jStatsRequestTimeoutsThe total number of requests that timed out (Counter32).static final OIDSnmpConstants.snmp4jStatsRequestWaitTimeThe total number of milliseconds this SNMP entity spend waiting for responses on its own requests (Counter64).static final OIDSnmpConstants.snmp4jStatsResponseIgnoredRetriesThe total number of retries ignored by the command responder while processing requests.static final OIDSnmpConstants.snmp4jStatsResponseProcessTimeThe total number of milliseconds the command responder took to process a request.static final OIDSnmpConstants.snmp4jStatsResponseTimeoutsThe number of response processings that ended due to an internal timeout before that maximum number of response variables (GETBULK) has been reached.static final OIDSnmpConstants.snmpEngineIDstatic final OIDSnmpConstants.snmpInASNParseErrsstatic final OIDSnmpConstants.snmpInBadCommunityNamesstatic final OIDSnmpConstants.snmpInBadCommunityUsesstatic final OIDSnmpConstants.snmpInBadVersionsstatic final OIDSnmpConstants.snmpInPktsstatic final OIDSnmpConstants.snmpInvalidMsgsstatic final OIDSnmpConstants.snmpProxyDropsstatic final OIDSnmpConstants.snmpSetSerialNostatic final OIDSnmpConstants.snmpSilentDropsstatic final OIDSnmpConstants.snmpSshtmSessionClosesstatic final OIDSnmpConstants.snmpSshtmSessionInvalidCachesstatic final OIDSnmpConstants.snmpSshtmSessionNoChannelsstatic final OIDSnmpConstants.snmpSshtmSessionNoSessionsstatic final OIDSnmpConstants.snmpSshtmSessionNoSubsystemsstatic final OIDSnmpConstants.snmpSshtmSessionOpenErrorsstatic final OIDSnmpConstants.snmpSshtmSessionOpensstatic final OIDSnmpConstants.snmpSshtmSessionUserAuthFailuresstatic final OIDSnmpConstants.snmpTlstmSessionAcceptsstatic final OIDSnmpConstants.snmpTlstmSessionClientClosesstatic final OIDSnmpConstants.snmpTlstmSessionInvalidCachesstatic final OIDSnmpConstants.snmpTlstmSessionInvalidClientCertificatesstatic final OIDSnmpConstants.snmpTlstmSessionInvalidServerCertificatesstatic final OIDSnmpConstants.snmpTlstmSessionNoSessionsstatic final OIDSnmpConstants.snmpTlstmSessionOpenErrorsstatic final OIDSnmpConstants.snmpTlstmSessionOpensstatic final OIDSnmpConstants.snmpTlstmSessionServerClosesstatic final OIDSnmpConstants.snmpTlstmSessionUnknownServerCertificatestatic final OIDSnmpConstants.snmpTrapAddressstatic final OIDSnmpConstants.snmpTrapCommunitystatic final OIDSnmpConstants.snmpTrapEnterprisestatic final OIDSnmpConstants.snmpTrapOIDstatic final OIDSnmpConstants.snmpTrapsstatic final OIDSnmpConstants.snmpTsmConfigurationUsePrefixstatic final OIDSnmpConstants.snmpTsmInadequateSecurityLevelsstatic final OIDSnmpConstants.snmpTsmInvalidCachesstatic final OIDSnmpConstants.snmpTsmInvalidPrefixesstatic final OIDSnmpConstants.snmpTsmUnknownPrefixesstatic final OIDSnmpConstants.snmpUnavailableContextsstatic final OIDSnmpConstants.snmpUnknownContextsstatic final OIDSnmpConstants.snmpUnknownPDUHandlersstatic final OIDSnmpConstants.snmpUnknownSecurityModelsstatic final OIDSnmpConstants.sysContactstatic final OIDSnmpConstants.sysDescrstatic final OIDSnmpConstants.sysLocationstatic final OIDSnmpConstants.sysNamestatic final OIDSnmpConstants.sysObjectIDstatic final OIDSnmpConstants.sysOREntrystatic final OIDSnmpConstants.sysServicesstatic final OIDSnmpConstants.systemstatic final OIDSnmpConstants.sysUpTimestatic final OIDSnmpConstants.usm3DESEDEPrivProtocolstatic final OIDSnmpConstants.usmAesCfb128Protocolstatic final OIDSnmpConstants.usmDESPrivProtocolstatic final OIDSnmpConstants.usmHMACMD5AuthProtocolstatic final OIDSnmpConstants.usmHMACSHAAuthProtocolstatic final OIDSnmpConstants.usmNoAuthProtocolstatic final OIDSnmpConstants.usmNoPrivProtocolstatic final OIDSnmpConstants.usmStatsDecryptionErrorsstatic final OIDSnmpConstants.usmStatsNotInTimeWindowsstatic final OIDSnmpConstants.usmStatsUnknownEngineIDsstatic final OIDSnmpConstants.usmStatsUnknownUserNamesstatic final OIDSnmpConstants.usmStatsUnsupportedSecLevelsstatic final OIDSnmpConstants.usmStatsWrongDigestsstatic final OIDSnmpConstants.warmStartstatic final OIDSnmpConstants.zeroDotZeroMethods in org.snmp4j.mp that return OIDModifier and TypeMethodDescriptionstatic OIDSnmpConstants.getTrapOID(OID enterprise, int genericID, int specificID) Methods in org.snmp4j.mp with parameters of type OIDModifier and TypeMethodDescriptionAdds a counter to this counter listener.MPv3.getAuthProtocol(OID id) Gets an authentication protocol for the supplied ID.static intSnmpConstants.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 OIDSnmpConstants.getTrapOID(OID enterprise, int genericID, int specificID) Removes a counter from this listener and returns it. -
Uses of OID in org.snmp4j.security
Fields in org.snmp4j.security declared as OIDModifier and TypeFieldDescriptionstatic final OIDAuthHMAC128SHA224.IDstatic final OIDAuthHMAC192SHA256.IDstatic final OIDAuthHMAC256SHA384.IDstatic final OIDAuthHMAC384SHA512.IDstatic final OIDAuthMD5.IDstatic final OIDAuthSHA.IDstatic final OIDPriv3DES.IDUnique ID of this privacy protocol.static final OIDPrivAES128.IDUnique ID of this privacy protocol.static OIDPrivAES192.IDUnique ID of this privacy protocol.static OIDPrivAES256.IDUnique ID of this privacy protocol.static final OIDPrivDES.IDUnique ID of this privacy protocol.Methods in org.snmp4j.security that return OIDModifier 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.Methods in org.snmp4j.security with parameters of type OIDModifier 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 theAuthenticationProtocolwith the given ID.SecurityProtocols.getPrivacyProtocol(OID id) Get the PrivacyProtocol with the given ID.SecurityProtocols.getSecurityProtocol(OID protocolID) Get the security protocol (AuthenticationProtocolorPrivacyProtocol) 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.voidvoidConstructors in org.snmp4j.security with parameters of type OIDModifierConstructorDescriptionDeprecated.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
Fields in org.snmp4j.security.dh declared as OIDModifier and TypeFieldDescriptionstatic final OIDDHOperations.oidUsmDHKickstartMgrPublicstatic final OIDDHOperations.oidUsmDHKickstartMyPublicstatic final OIDDHOperations.oidUsmDHKickstartSecurityNameMethods in org.snmp4j.security.dh that return OIDModifier and TypeMethodDescriptionDHOperations.DHKeyInfo.getAuthProtocol()DHOperations.DHKeyInfo.getPrivProtocol()Constructors in org.snmp4j.security.dh with parameters of type OIDModifierConstructorDescriptionDHKeyInfo(OctetString userName, byte[] privateKey, OID authProtocol, OID privProtocol) -
Uses of OID in org.snmp4j.security.nonstandard
Fields in org.snmp4j.security.nonstandard declared as OIDModifier and TypeFieldDescriptionstatic OIDPrivAES192With3DESKeyExtension.IDUnique ID of this privacy protocol.static OIDPrivAES256With3DESKeyExtension.IDUnique ID of this privacy protocol.protected OIDPrivAESWith3DESKeyExtension.oidMethods in org.snmp4j.security.nonstandard that return OIDModifier and TypeMethodDescriptionNonStandardSecurityProtocol.getDefaultID()Gets the default ID for this non-standard privacy protocol.PrivAES192With3DESKeyExtension.getDefaultID()PrivAES256With3DESKeyExtension.getDefaultID()PrivAESWith3DESKeyExtension.getID()Methods in org.snmp4j.security.nonstandard with parameters of type OID -
Uses of OID in org.snmp4j.smi
Methods in org.snmp4j.smi that return OIDModifier and TypeMethodDescriptionfinal OIDOID.append(int subID) Appends a sub-identifier to this OID.final OIDAppends a dotted String OID to thisOID.final OIDAppends anOIDto this OID.final OIDOID.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 OIDReturns the greater of the two OID values.static OIDReturns the lesser of the two OID values.final OIDOID.nextPeer()Returns the next following OID with the same or lesser size (length).final OIDOID.predecessor()Returns the predecessor OID for this OID.final OIDOID.successor()Returns the successor OID for this OID.abstract OIDAbstractVariable.toSubIndex(boolean impliedLength) Converts the value of thisVariableto 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 OIDOID.toSubIndex(boolean impliedLength) UnsignedInteger32.toSubIndex(boolean impliedLength) Variable.toSubIndex(boolean impliedLength) Converts the value of thisVariableto a (sub-)index value.VariantVariable.toSubIndex(boolean impliedLength) OID.trim()Returns a new copy of this OID with the last sub-indentifier removed.Methods in org.snmp4j.smi with parameters of type OIDModifier and TypeMethodDescriptionfinal OIDAppends anOIDto this OID.static VariableBinding[]VariableBinding.createFromOIDs(OID[] oids) Create an array ofVariableBindings based on the provided OIDs.abstract voidAbstractVariable.fromSubIndex(OID subIndex, boolean impliedLength) Sets the value of thisVariablefrom the supplied (sub-)index.voidCounter32.fromSubIndex(OID subIndex, boolean impliedLength) voidCounter64.fromSubIndex(OID subIndex, boolean impliedLength) voidGenericAddress.fromSubIndex(OID subIndex, boolean impliedLength) voidInteger32.fromSubIndex(OID subIndex, boolean impliedLength) voidIpAddress.fromSubIndex(OID subIndex, boolean impliedLength) voidNull.fromSubIndex(OID subIndex, boolean impliedLength) voidOctetString.fromSubIndex(OID subIndex, boolean impliedLength) final voidOID.fromSubIndex(OID subIndex, boolean impliedLength) voidUnsignedInteger32.fromSubIndex(OID subIndex, boolean impliedLength) voidVariable.fromSubIndex(OID subIndex, boolean impliedLength) Sets the value of thisVariablefrom the supplied (sub-)index.voidVariantVariable.fromSubIndex(OID subIndex, boolean impliedLength) intOID.leftMostCompare(int n, OID other) Compares the n leftmost sub-identifiers with the givenOIDin left-to-right direction.static OIDReturns the greater of the two OID values.static OIDReturns the lesser of the two OID values.intOID.rightMostCompare(int n, OID other) Compares the n rightmost sub-identifiers in direction right-to-left with those of the givenOID.voidSets the object instance identifier for the variable binding.booleanOID.startsWith(OID other) Check if the OID starts with the given OID.Constructors in org.snmp4j.smi with parameters of type OIDModifierConstructorDescriptionCopy constructor.VariableBinding(OID oid) Creates a variable binding with the supplied object instance identifier and aNullvalue.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
Fields in org.snmp4j.tools.console declared as OIDMethods in org.snmp4j.tools.console that return OIDModifier and TypeMethodDescriptionSnmpRequest.getAuthProtocol()SnmpRequest.getLowerBoundIndex()SnmpRequest.getPrivProtocol()SnmpRequest.getTrapOID()SnmpRequest.getUpperBoundIndex()Methods in org.snmp4j.tools.console with parameters of type OIDModifier and TypeMethodDescriptionvoidSnmpRequest.setAuthProtocol(OID authProtocol) voidSnmpRequest.setLowerBoundIndex(OID lowerBoundIndex) voidSnmpRequest.setPrivProtocol(OID privProtocol) voidSnmpRequest.setTrapOID(OID trapOID) voidSnmpRequest.setUpperBoundIndex(OID upperBoundIndex) -
Uses of OID in org.snmp4j.util
Methods in org.snmp4j.util that return OIDModifier and TypeMethodDescriptionstatic OIDSnmpConfigurator.getAuthProtocolOid(String authP) TableEvent.getIndex()Gets the row index OID.static OIDSnmpConfigurator.getPrivProtocolOid(String privP) Methods in org.snmp4j.util with parameters of type OIDModifier 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.TableRequestTableUtils.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.voidTableUtils.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.RowTreeUtils.getSubtree(Target target, OID rootOID) Gets a subtree with GETNEXT (SNMPv1) or GETBULK (SNMP2c, SNMPv3) operations from the specified target synchronously.voidTreeUtils.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.voidTableUtils.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.voidTreeUtils.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.Constructors in org.snmp4j.util with parameters of type OIDModifierConstructorDescriptionTableEvent(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