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

📄 apm-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
    SYNTAX      INTEGER {                  transactionOriented(1),                  throughputOriented(2),                  streamingOriented(3)                }    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "This object describes and configures the agent's support for        application performance measurement for this application.        There are 3 types of measurements for different types of        applications:        Transaction-Oriented applications have a fairly constant        workload to perform for all transactions. The responsiveness        metric for transaction-oriented applications is application        response time (from first request to final delivery of        service) and is measured in milliseconds. This is        commonly referred to as end-user response time.        Throughput-Oriented applications have widely varying workloads        based on the nature of the client request. In particular,        throughput-oriented applications vary widely in the amount of        data that must be transported to satisfy the request. The        responsiveness metric for throughput-oriented applications is        kilobits per second.        Streaming-Oriented applications deliver data at a constant        metered rate of speed regardless of the responsiveness of the        networking and computing infrastructure. This constant rate of        speed is generally specified to be below (sometimes well        below) the nominal capability of the infrastructure. However,        when the infrastructures cannot deliver data at this speed,        interruption of service or degradation of service can        result. The responsiveness metric for streaming-oriented        applications is the ratio of time that the service is degraded        or interrupted to the total service time. This metric is        measured in parts per million.        Note that for some applications, measuring more than one        responsiveness type may be interesting. For agents that wish        to support more than one measurement for a application, they        will populate this table with multiple entries for that        application, one for each type."    ::= { apmAppDirEntry 2 }apmAppDirConfig OBJECT-TYPE    SYNTAX      INTEGER {                  off(1),                  on(2)                }    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "This object describes and configures support for application        performance measurement for this application.        If the value of this object is on(2), the agent supports        measurement of application performance metrics for this        application and is configured to measure such metrics for all        APM MIB functions and all interfaces.  If the value of this        object is off(1), the agent supports measurement of        application performance for this application but is configured        to not measure these metrics for any APM MIB functions or        interfaces.  Whenever this value changes from on(2) to off(1),        the agent shall delete all related entries in all tables in        this MIB Module.        The value of this object must persist across reboots."    ::= { apmAppDirEntry 3 }apmAppDirResponsivenessBoundary1 OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The boundary value between bucket1 and bucket 2. If this        value is modified, all entries in the apmReportTable must be        deleted by the agent.        The value of this object must persist across reboots."    ::= { apmAppDirEntry 4 }apmAppDirResponsivenessBoundary2 OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The boundary value between bucket2 and bucket 3. If this        value is modified, all entries in the apmReportTable must be        deleted by the agent.        The value of this object must persist across reboots."    ::= { apmAppDirEntry 5 }apmAppDirResponsivenessBoundary3 OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The boundary value between bucket3 and bucket 4. If this        value is modified, all entries in the apmReportTable must be        deleted by the agent.        The value of this object must persist across reboots."    ::= { apmAppDirEntry 6 }apmAppDirResponsivenessBoundary4 OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The boundary value between bucket4 and bucket 5. If this        value is modified, all entries in the apmReportTable must be        deleted by the agent.        The value of this object must persist across reboots."    ::= { apmAppDirEntry 7 }apmAppDirResponsivenessBoundary5 OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The boundary value between bucket5 and bucket 6. If this        value is modified, all entries in the apmReportTable must be        deleted by the agent.        The value of this object must persist across reboots."    ::= { apmAppDirEntry 8 }apmAppDirResponsivenessBoundary6 OBJECT-TYPE    SYNTAX      Unsigned32    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "The boundary value between bucket6 and bucket 7. If this        value is modified, all entries in the apmReportTable must be        deleted by the agent.        The value of this object must persist across reboots."    ::= { apmAppDirEntry 9 }-- Scalars related to the Application Directory tableapmBucketBoundaryLastChange OBJECT-TYPE    SYNTAX     TimeStamp    MAX-ACCESS read-only    STATUS     current    DESCRIPTION        "The value of sysUpTime the last time that any bucket boundary        in any appDirEntry was changed. This object can help to        determine if two managers are both trying to enforce different        configurations of this table."    ::= { apmMibObjects 2 }apmAppDirID OBJECT-TYPE    SYNTAX     OBJECT IDENTIFIER    MAX-ACCESS read-write    STATUS     current    DESCRIPTION        "This object allows managers to avoid downloading application        directory information when the directory is set to a known        (usually fixed) configuration.        If the value of this object isn't 0.0, it signifies        that the entire contents of the apmAppDirTable,        apmHttpFilterTable, apmUserDefinedAppTable and        protocolDirTable are equal to a known state identified        by the value of this object. If a manager recognizes this        value as identifying a directory configuration it has a local        copy of, it may use this local copy rather than downloading        these tables. Note that it may have downloaded this local copy        (and the ID) from another agent and used this copy for all        other agents that advertised the same ID.        If an agent recognizes that the entire contents of the        apmAppDirTable, apmHttpFilterTable,        apmUserDefinedAppTable and protocolDirTable are equal to        a known state to which an ID has been assigned, it should set        this object to that ID.        In many cases when this feature is used, the application        directory information will be in read-only memory and thus the        tables may not be modified via SNMP requests. In the event        that the tables are writable and a modification is made, the        agent is responsible for setting this object to 0.0 if it        cannot determine that the state is equal to a known state.        An agent is not obligated to recognize and advertise all such        registered states as it may not have knowledge of all states.        Thus, a manager may encounter agents whose DirectoryID value        is 0.0 even though the contents of the directory were equal to        a registered state.        Note that the contents of those tables includes the        protocolDirLocalIndex and appLocalIndex values. In other        words, these values can't be assigned randomly on each agent,        but must be equal to values that are part of the known        state. While it is possible for a manager to download        application directory details using SNMP and to set the        appropriate directoryID, the manager would need to have some        scheme to ensure consistent values of LocalIndex variables        from agent to agent. Such schemes are outside the scope of        this specification.        Application directory registrations are unique within an        administrative domain.        Typically these registrations will be made by an agent        software developer who will set the application directory        tables to a read-only state and assign a DirectoryID to that        state. Thus, all agents running this software would share the        same DirectoryID. As the application directory might change        from one software release to the next, the developer may        register different DirectoryID's for each software release.        A customer could also create a site-wide application directory        configuration and assign a DirectoryID to that configuration        as long as consistent values of LocalIndex variables can be        ensured.        The value of this object must persist across reboots."     ::= { apmMibObjects 3 }-- APM HTTP Filter Table-- The HTTP Filter Table creates virtual applications which measure the-- performance of certain web pages  or sets of web pages. Some-- circumstances where this is particularly useful are:----      - An Intranet or ASP scenario where a business application is--        running on one or more web pages or scripts.--        (i.e., /expense/submit.cgi?employeeID=3426&...)--      - A web-hosting scenario where one wants to measure the--        service level for a particular customer--      - An e-commerce scenario where the performance of certain--        pages needs to be monitored more closely.--        (i.e., shopping cart, shipping, credit card authorization)apmHttpFilterTable OBJECT-TYPE    SYNTAX      SEQUENCE OF ApmHttpFilterEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A table that creates virtual applications which measure the        performance of certain web pages or sets of web pages.        When an entry is added to this table, the agent will        automatically create one or more entries in the        apmAppDirTable (one for each responsivenessType it is        capable of measuring).        Note that when entries exist in this table some HTTP        transactions will be summarized twice: in applications        represented here as well as the HTTP application. If entries        in this table overlap, these transactions may be summarized        additional times.        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."    ::= { apmMibObjects 4 }apmHttpFilterEntry OBJECT-TYPE    SYNTAX      ApmHttpFilterEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A virtual application which measure the performance of certain        web pages or sets of web pages."    INDEX { apmHttpFilterIndex }    ::= { apmHttpFilterTable 1 }ApmHttpFilterEntry ::= SEQUENCE {    apmHttpFilterIndex              Unsigned32,    apmHttpFilterAppLocalIndex      AppLocalIndex,    apmHttpFilterServerProtocol     Unsigned32,    apmHttpFilterServerAddress      ProtocolDirNetworkAddress,    apmHttpFilterURLPath            OCTET STRING,    apmHttpFilterMatchType          INTEGER,    apmHttpFilterOwner              OwnerString,    apmHttpFilterStorageType        StorageType,    apmHttpFilterRowStatus          RowStatus}apmHttpFilterIndex OBJECT-TYPE    SYNTAX      Unsigned32 (0..65535)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An index that uniquely identifies an entry in the        apmHttpFilterTable."    ::= { apmHttpFilterEntry 1 }apmHttpFilterAppLocalIndex OBJECT-TYPE    SYNTAX      AppLocalIndex    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The AppLocalIndex that represents HTTP transactions        that match this entry.        This object is read-only. A value is created by the agent from        an unused AppLocalIndex value when this apmHttpFilterEntry is        created."    ::= { apmHttpFilterEntry 2 }apmHttpFilterServerProtocol OBJECT-TYPE    SYNTAX      Unsigned32 (1..2147483647)    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The protocolDirLocalIndex value of the network level protocol        of the apmHttpFilterServerAddress."    ::= { apmHttpFilterEntry 3 }

⌨️ 快捷键说明

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