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

📄 apm-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
APM-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE,    NOTIFICATION-TYPE,    Counter32, Unsigned32                        FROM SNMPv2-SMI    TEXTUAL-CONVENTION, RowStatus, TimeStamp,    TimeInterval, TruthValue, DateAndTime,    StorageType                                  FROM SNMPv2-TC    MODULE-COMPLIANCE, OBJECT-GROUP,    NOTIFICATION-GROUP                           FROM SNMPv2-CONF    SnmpAdminString                              FROM SNMP-FRAMEWORK-MIB    rmon, OwnerString                            FROM RMON-MIB    protocolDirLocalIndex                        FROM RMON2-MIB;--  Application Performance Measurement MIBapm MODULE-IDENTITY    LAST-UPDATED "200402190000Z"  -- February 19, 2004    ORGANIZATION "IETF RMON MIB Working Group"    CONTACT-INFO        "Author:                     Steve Waldbusser             Phone:  +1-650-948-6500             Fax :   +1-650-745-0671             Email:  waldbusser@nextbeacon.com         Working Group Chair:                     Andy Bierman                     Cisco Systems, Inc.             Postal: 170 West Tasman Drive                     San Jose, CA USA 95134                Tel: +1 408 527-3711             E-mail: abierman@cisco.com         Working Group Mailing List: <rmonmib@ietf.org>         To subscribe send email to: <rmonmib-request@ietf.org>        "    DESCRIPTION        "The MIB module for measuring application performance        as experienced by end-users.        Copyright (C) The Internet Society (2004). This version of        this MIB module is part of RFC 3729; see the RFC itself for        full legal notices."    REVISION "200402190000Z"    -- February 19, 2004    DESCRIPTION        "The original version of this MIB Module, published as        RFC3729."    ::= { rmon 23 }apmMibObjects OBJECT IDENTIFIER ::= { apm 1 }apmConformance OBJECT IDENTIFIER ::= { apm 2 }apmCompliances    OBJECT IDENTIFIER ::= { apmConformance 1 }apmGroups         OBJECT IDENTIFIER ::= { apmConformance 2 }AppLocalIndex ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION        "A locally arbitrary unique identifier associated with an        application or application verb.        All objects of type AppLocalIndex are assigned by the agent        out of a common number space. In other words, AppLocalIndex        values assigned to entries in one table must not overlap with        AppLocalIndex values assigned to entries in another        table. Further, every protocolDirLocalIndex value registered        by the agent automatically assigns the same value out of the        AppLocalIndex number space.        For example, if the protocolDirLocalIndex values { 1, 3, 5, 7 }        have been assigned, and the apmHttpFilterAppLocalIndex values        { 6, 8, 9 } have been assigned:            - Assignment of new AppLocalIndex values must not use the              values { 1, 3, 5, 6, 7, 8, 9 }.            - AppLocalIndex values { 1, 3, 5, 7 } are automatically              assigned and are associated with the identical value of              protocolDirLocalIndex. In particular, an entry in the              apmAppDirTable indexed by a value provides further              information about a protocol indexed by the same value              in the protocolDirTable of RMON2.        The value for each supported application must remain constant        at least from one re-initialization of the entity's network        management system to the next re-initialization, except that        if an application is deleted and re-created, it must be        re-created with a new value that has not been used since the        last re-initialization.        The specific value is meaningful only within a given SNMP        entity. An AppLocalIndex value must not be re-used until the        next agent restart."    SYNTAX       Unsigned32 (1..2147483647)ProtocolDirNetworkAddress ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION        "A network level address whose semantics and encoding are        specified by an associated protocolDirLocalIndex        value. Objects of this type must specify which        protocolDirLocalIndex value is used. This value is encoded        according to the encoding rules for the identified        protocolDirectory entry.        For example, if the associated protocolDirLocalIndex indicates        an encapsulation of ip, this object is encoded as a length        octet of 4, followed by the 4 octets of the ip address,        in network byte order.        Objects of this type may allow this value to be the zero        length string. If so, they must identify they meaning of this        value."    SYNTAX        OCTET STRING (SIZE(0..255))DataSourceOrZero ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION        "Identifies the source of the data that the associated        function is configured to analyze. This source can be any        interface on this device.        In order to identify a particular interface, this        object shall identify the instance of the ifIndex        object, defined in [4], for the desired interface.        For example, if an entry were to receive data from        interface #1, this object would be set to ifIndex.1.        If the source of the data isn't an interface or cannot be        localized to an interface, this object would be set to 0.0"    REFERENCE    "The DataSource textual convention is defined in                 RFC 2021 [5]."    SYNTAX       OBJECT IDENTIFIERRmonClientID ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION         "A long-lived unique ID assigned to an end-system. This ID is         assigned by the agent using an implementation-specific         algorithm.         Because a client machine may be assigned multiple addresses         over any time period it can be difficult to attribute         behavior to a particular client based solely on its         address. A ClientID may be assigned to provide a more         stable handle for referencing that client. The entity that         assigns the ClientID may use various implementation         techniques to keep track of a client but if the assigning         entity is unable to track client address mappings, it may map         client identifiers to client addresses rather than to         distinct client machines.         This is named ClientID because it helps to solve a problem         seen in network clients (servers usually have well-known,         long-lived addresses). However, ClientID's may be assigned to         any end-system regardless of its role on the network."    SYNTAX      Unsigned32 (0..4294967295)TransactionAggregationType ::= TEXTUAL-CONVENTION    STATUS      current    DESCRIPTION        "Specifies one of 4 different techniques for aggregating        transactions.        The metrics for a single transaction are the responsiveness of        the transaction and whether the transaction succeeded (a        boolean). When such metrics are aggregated in this MIB Module,        these metrics are replaced by averages and distributions of        responsiveness and availability. The metrics describing        aggregates are constant no matter which type of aggregation is        being performed. These metrics may be found in the        apmReportTable.        The flows(1) aggregation is the simplest. All transactions        that share common application/server/client 3-tuples are        aggregated together, resulting in a set of metrics for all        such unique 3-tuples.        The clients(2) aggregation results in somewhat more        aggregation (i.e., fewer resulting records). All transactions        that share common application/client tuples are aggregated        together, resulting in a set of metrics for all such unique        tuples.        The servers(3) aggregation usually results in still more        aggregation (i.e., fewer resulting records). All transactions        that share common application/server tuples are aggregated        together, resulting in a set of metrics for all such unique        tuples.        The applications(4) aggregation results in the most        aggregation (i.e., the fewest resulting records). All        transactions that share a common application are aggregated        together, resulting in a set of metrics for all such unique        applications.        Note that it is not meaningful to aggregate applications, as        different applications have widely varying characteristics. As a        result, this set of aggregations is complete."    SYNTAX      INTEGER {                  flows(1),    -- Least Aggregation                  clients(2),                  servers(3),                  applications(4) -- Most Aggregation                }-- The APM Application Directory Group-- The Application Directory Table contains a record for every-- application monitored by this agent. This table is also used to-- configure whether or not an application will be measured and which-- bucket boundaries will be used for the application.---- The bucket boundaries define the break-points between bins of a-- histogram analysis for that application. As an example of how this-- works, consider an entry representing response-time for http.-- If the boundaries are set as follows:-- Boundary1: 500 milliseconds-- Boundary2: 1 second-- Boundary3: 2 seconds-- Boundary4: 5-- Boundary5: 15-- Boundary6: 60---- If the following measurements are made (all in milliseconds):-- 377, 8645, 1300, 487, 1405, 775, 1115, 850, 945, 1054, 7745, 9380---- A report run during this interval would report the following-- counts:-- Bucket1: 2-- Bucket2: 3-- Bucket3: 4-- Bucket4: 0-- Bucket5: 3-- Bucket6: 0-- Bucket7: 0apmAppDirTable OBJECT-TYPE    SYNTAX      SEQUENCE OF ApmAppDirEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The APM MIB directory of applications and application        verbs. The agent will populate this table with all        applications/verbs of any responsivenessType it has the        capability to monitor. Since the agent populates this table        with every entry it has the capability to monitor, the        entries in this table are read-write, allowing the management        station to modify parameters in this table but not to add new        entries or delete entries (however, entries may be        disabled). If new entries are added to the apmHttpFilterTable        or the apmUserDefinedAppTable, the agent will add the        corresponding entries to this table.        It is an implementation-dependent matter as to how the agent        sets these default parameters. For example, it may leave        certain entries in this table 'off(0)' if the agent developer        believes that combination will be infrequently used, allowing        a manager that needs that capability to set it to 'on(1)'.        Some applications are registered in the RMON2 protocol        directory and some are registered in other tables in this        MIB Module. Regardless of where an application is originally        registered, it is assigned an AppLocalIndex value that is the        primary index for this table.        The contents of this table affect all reports and exceptions        generated by this agent. Accordingly, modification of this        table should be performed by a manager acting in the role of        administrator. In particular, management software should not        require or enforce particular configuration of this table - it        should reflect the preferences of the site administrator, not        the software author. As a practical matter, this requires        management software to allow the administrator to configure        the values it will use so that it can be adapted to the site        policy."    ::= { apmMibObjects 1 }apmAppDirEntry OBJECT-TYPE    SYNTAX      ApmAppDirEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The APM MIB directory of applications and application        verbs. An entry will exist in this table for all applications        for which application performance measurement is supported."    INDEX { apmAppDirAppLocalIndex,            apmAppDirResponsivenessType }    ::= { apmAppDirTable 1 }ApmAppDirEntry ::= SEQUENCE {    apmAppDirAppLocalIndex            AppLocalIndex,    apmAppDirResponsivenessType       INTEGER,    apmAppDirConfig                   INTEGER,    apmAppDirResponsivenessBoundary1  Unsigned32,    apmAppDirResponsivenessBoundary2  Unsigned32,    apmAppDirResponsivenessBoundary3  Unsigned32,    apmAppDirResponsivenessBoundary4  Unsigned32,    apmAppDirResponsivenessBoundary5  Unsigned32,    apmAppDirResponsivenessBoundary6  Unsigned32}apmAppDirAppLocalIndex OBJECT-TYPE    SYNTAX      AppLocalIndex    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "The AppLocalIndex assigned for this application Directory        entry."    ::= { apmAppDirEntry 1 }apmAppDirResponsivenessType OBJECT-TYPE

⌨️ 快捷键说明

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