⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 disman-nslookup-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 2 页
字号:
         completed(3)."    ::= { lookupCtlEntry 5 } lookupCtlTime OBJECT-TYPE    SYNTAX      Unsigned32    UNITS       "milliseconds"    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Reports the number of milliseconds that a lookup        operation required to be completed at a remote host.        Completed means operation failure as well as        success."    ::= { lookupCtlEntry 6 } lookupCtlRc OBJECT-TYPE    SYNTAX      Integer32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The system specific return code from a lookup        operation.  All implementations MUST return a value        of 0 for this object when the remote lookup        operation succeeds.  A non-zero value for this        objects indicates failure.  It is recommended that        implementations that support errno use it as the        value of this object to aid a management        application in determining the cause of failure."    ::= { lookupCtlEntry 7 } lookupCtlRowStatus OBJECT-TYPE    SYNTAX      RowStatus    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "This object allows entries to be created and deleted        in the lookupCtlTable.        A remote lookup operation is started when an        entry in this table is created via an SNMP SET        request and the entry is activated.  This        occurs by setting the value of this object        to CreateAndGo(4) during row creation or        by setting this object to active(1) after        the row is created.        A value MUST be specified for lookupCtlTargetAddress        prior to a transition to active(1) state being        accepted.        A remote lookup operation starts when its entry        first becomes active(1).  Transitions in and        out of active(1) state have no effect on the        operational behavior of a remote lookup        operation, with the exception that deletion of        an entry in this table by setting its RowStatus        object to destroy(6) will stop an active        remote lookup operation.        The operational state of a remote lookup operation        can be determined by examination of its        lookupCtlOperStatus object."    REFERENCE        "See definition of RowStatus in RFC 2579,        'Textual Conventions for SMIv2.'"    ::= { lookupCtlEntry 8 }-- Lookup Results Table lookupResultsTable OBJECT-TYPE    SYNTAX      SEQUENCE OF LookupResultsEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Defines the Lookup Results Table for providing        the capability of determining the results of a        operation at a remote host.        One or more entries are added to the        lookupResultsTable when a lookup operation,        as reflected by an lookupCtlEntry, completes        successfully.  All entries related to a        successful lookup operation MUST be added        to the lookupResultsTable at the same time        that the associating lookupCtlOperStatus        object is transitioned to completed(2).        The number of entries added depends on the        results determined for a particular lookup        operation.  All entries associated with an        lookupCtlEntry are removed when the        lookupCtlEntry is deleted.        A remote host can be multi-homed and have more        than one IP address associated with it        (gethostbyname results) and/or it can have more        than one symbolic name (gethostbyaddr results).        The gethostbyaddr function is called with a        host address as its parameter and is used        primarily to determine a symbolic name to        associate with the host address.  Entries in        the lookupResultsTable MUST be made for each        host name returned.  The official host name MUST        be assigned a lookupResultsIndex of 1.        The gethostbyname function is called with a        symbolic host name and is used primarily to        retrieve a host address.  If possible the        primary host address SHOULD be assigned a        lookupResultsIndex of 1."   ::= { lookupObjects 4 } lookupResultsEntry OBJECT-TYPE    SYNTAX      LookupResultsEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Defines an entry in the lookupResultsTable.  The        first two index elements identify the        lookupCtlEntry that a lookupResultsEntry belongs        to.  The third index element selects a single        lookup operation result."    INDEX {             lookupCtlOwnerIndex,             lookupCtlOperationName,             lookupResultsIndex          }    ::= { lookupResultsTable 1 } LookupResultsEntry ::=    SEQUENCE {        lookupResultsIndex        Unsigned32,        lookupResultsAddressType  InetAddressType,        lookupResultsAddress      InetAddress     } lookupResultsIndex OBJECT-TYPE    SYNTAX      Unsigned32 (1..'ffffffff'h)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "Entries in the lookupResultsTable are created when        the result of a lookup operation is determined.        Entries MUST be stored in the lookupResultsTable in        the order that they are retrieved.  Values assigned        to lookupResultsIndex MUST start at 1 and increase        in order."    ::= { lookupResultsEntry 1 } lookupResultsAddressType OBJECT-TYPE    SYNTAX      InetAddressType    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Indicates the type of result of a remote lookup        operation.  A value of unknown(0) implies that        either the operation hasn't been started or that        it has failed."    ::= { lookupResultsEntry 2 } lookupResultsAddress OBJECT-TYPE    SYNTAX      InetAddress    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "Reflects a result for a remote lookup operation        as per the value of lookupResultsAddressType."    ::= { lookupResultsEntry 3 } -- Conformance information -- Compliance statements lookupCompliances OBJECT IDENTIFIER ::= { lookupConformance 1 } lookupGroups      OBJECT IDENTIFIER ::= { lookupConformance 2 } -- Compliance statements lookupCompliance MODULE-COMPLIANCE    STATUS  current    DESCRIPTION            "The compliance statement for the DISMAN-NSLOOKUP-MIB."    MODULE  -- this module        MANDATORY-GROUPS {                            lookupGroup                          }        OBJECT lookupMaxConcurrentRequests        MIN-ACCESS  read-only        DESCRIPTION            "The agent is not required to support SET            operations to this object."        OBJECT lookupPurgeTime        MIN-ACCESS  read-only        DESCRIPTION            "The agent is not required to support a SET            operation to this object."    ::= { lookupCompliances 1 } -- MIB groupings lookupGroup OBJECT-GROUP   OBJECTS {             lookupMaxConcurrentRequests,             lookupPurgeTime,             lookupCtlOperStatus,             lookupCtlTargetAddressType,             lookupCtlTargetAddress,             lookupCtlTime,             lookupCtlRc,             lookupCtlRowStatus,             lookupResultsAddressType,             lookupResultsAddress           }   STATUS  current   DESCRIPTION       "The group of objects that comprise the remote       Lookup operation."    ::= { lookupGroups 1 }END

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -