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

📄 apm-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
apmHttpFilterServerAddress OBJECT-TYPE    SYNTAX      ProtocolDirNetworkAddress    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "This entry will only represent transactions coming from the        network address specified in this object.        This is represented as an octet string with        specific semantics and length as identified        by the associated apmHttpFilterServerProtocol object.        If this object is the zero-length string, then this entry will        match one of the addresses represented by the 'host' component        of the associated apmHttpFilterURLPath object, where the        format if a URL [9] is        http://<host>:<port>/<path>?<searchpart>."    ::= { apmHttpFilterEntry 4 }apmHttpFilterURLPath OBJECT-TYPE    SYNTAX      OCTET STRING (SIZE(0..65535))    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "This entry will only represent HTTP transactions        where the URL path component in the request matches this        value. This value represents the requested path regardless of        any substitution that the server might perform.        Prior to the matching, the URL is stripped of any server        address or DNS name and consists solely of the path name on        that server.        If the length of this object is zero, then this entry will        match if the associated apmHttpFilterServerAddress match. If        the length of that object is also zero, then this entry will        match nothing.        The value of the associated apmHttpFilterMatchType dictates        the type of matching that will be attempted."    ::= { apmHttpFilterEntry 5 }apmHttpFilterMatchType OBJECT-TYPE    SYNTAX      INTEGER {                    exact(1),                    stripTrailingSlash(2),                    prefix(3)                }    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The matching algorithm used to compare the URL pathname.        If the value is exact(1), then the pathname component will be        compared with the associated apmHttpFilterURLPath and        will only be associated with this entry if it matches exactly.        If the value is stripTrailingSlash(2), then the pathname        component will be compared with the associated        apmHttpFilterURLPath and will only be associated with this        entry if it matches exactly or if the pathname ends with a '/'        symbol and matches apmHttpFilterURLPath if the '/' symbol is        removed from the pathname. This option exists for those paths        where an optional trailing slash is possible but for which a        prefix match would be too broad.        If the value is prefix(3), then the pathname component will be        compared with the associated apmHttpFilterURLPath and will        only be associated with this entry if the beginning of the        pathname matches every octet of this value. Octets that extend        beyond the length of this value are ignored."    ::= { apmHttpFilterEntry 6 }apmHttpFilterOwner OBJECT-TYPE    SYNTAX      OwnerString    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The entity that configured this entry and is        therefore using the resources assigned to it."    ::= { apmHttpFilterEntry 7 }apmHttpFilterStorageType OBJECT-TYPE    SYNTAX      StorageType    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The storage type of this apmHttpFilterEntry. If the value of        this object is 'permanent', no objects in this row need to be        writable."    ::= { apmHttpFilterEntry 8 }apmHttpFilterRowStatus OBJECT-TYPE    SYNTAX      RowStatus    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION        "The status of this apmHttpFilterEntry. No objects in this row        may be modified while the row's status is 'active'."    ::= { apmHttpFilterEntry 9 }apmHttpIgnoreUnregisteredURLs OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "When true, APM measurements of HTTP transactions will only        measure transactions relating to URLs that match a filter in        the apmHttpFilterTable. Thus, measurements for the HTTP        application will present aggregated statistics for        URL-matching HTTP transactions and measurements for the HTTP        GET application verb will present aggregated statistics for        URL-matching HTTP GET transactions.        This will be used in environments that wish to monitor only        targeted URLs and to ignore large volumes of internet web        browsing traffic.        This object affects all APM reports and exceptions generated        by this agent. Accordingly, modification of this object 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 object -        it should reflect the preferences of the site administrator,        not the software author.        The value of this object must persist across reboots."    ::= { apmMibObjects 5 }apmHttp4xxIsFailure OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION        "When true, this agent will recognize HTTP errors in the range        of 400 through 499 and will treat them as unavailable        transactions. When false or when this object isn't supported,        they will be treated as successful transactions.        This object allows such error pages to be tracked at the        possible expense of having user typos treated as poor service        on the part of the web server.        This object affects all reports and exceptions generated by        this agent. Accordingly, modification of this object 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 object - it should reflect        the preferences of the site administrator, not the software        author.        The value of this object must persist across reboots."    ::= { apmMibObjects 6 }-- The APM User-Defined Application Table-- Many application protocols will never be registered with a-- standards body (and thus included in a protocol directory standard)-- because they are custom, in-house or proprietary-- applications. Nevertheless, implementation strategies exist for-- monitoring the end-user experience of these applications.---- This read-only table provides a means for the agent to advertise-- which user-defined applications it is monitoring and to associate-- each with an AppLocalIndex value. It is an implementation-dependent-- matter as to how the agent learns how to monitor these-- applications.apmUserDefinedAppTable OBJECT-TYPE    SYNTAX      SEQUENCE OF ApmUserDefinedAppEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A table that advertises user-defined applications that the        agent is measuring.        The agent will automatically create one or more entries in the        apmAppDirTable (one for each responsivenessType it is        capable of measuring) for each entry in this table.        Note that when entries exist in this table some        transactions can be summarized more than once if there is        overlap between applications defined here and applications        defined in the protocol directory or in the httpFilter table."    ::= { apmMibObjects 7 }apmUserDefinedAppEntry OBJECT-TYPE    SYNTAX      ApmUserDefinedAppEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A user-defined application that the agent is measuring, along        with its AppLocalIndex assignment.        The apmAppDirAppLocalIndex value in the index identifies        the agent-assigned AppLocalIndex value for this user-defined        application."    INDEX { apmAppDirAppLocalIndex }    ::= { apmUserDefinedAppTable 1 }ApmUserDefinedAppEntry ::= SEQUENCE {    apmUserDefinedAppParentIndex    Unsigned32,    apmUserDefinedAppApplication    SnmpAdminString}apmUserDefinedAppParentIndex OBJECT-TYPE    SYNTAX      Unsigned32 (1..2147483647)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "The protocolDirLocalIndex value of the highest-layer        protocol defined in the protocolDirTable that this        application is a child of."    ::= { apmUserDefinedAppEntry 1 }apmUserDefinedAppApplication OBJECT-TYPE    SYNTAX      SnmpAdminString    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION        "A human readable descriptive tag for this application."    ::= { apmUserDefinedAppEntry 2 }-- The APM Name TableapmNameTable OBJECT-TYPE    SYNTAX      SEQUENCE OF ApmNameEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "A client machine may have multiple addresses during a period        of monitoring. The apmNameTable assigns a long-lived        identifier to a client and records what addresses were        assigned to that client for periods of time. Various        implementation techniques exist for tracking this mapping but        if an agent is unable to track client address mappings, it may        map client identifiers to client addresses rather than to        distinct client machines.        A particular apmNameClientID should be a constant attribute of        a particular client. When available, the agent may also record        the machine name and/or user name which may be valuable for        displaying to humans. The apmNameMachineName and        apmNameUserName are relatively constant, changing only if        these attributes actually change on the client.        The agent will store a historical log of these entries, aging        out old entries as the log becomes too large. Since this table        contains information vital to the interpretation of other        tables (e.g., the apmReportTable), the agent should ensure that        the log doesn't age out entries that would be referenced by        data in those tables.        Note that an entry for a clientID is active from its        StartTime until the StartTime of another entry (for the same        clientID) that supersedes it, or 'now' if none supersede        it. Therefore, if a clientID only has a single entry, it is by        definition very new and should never be aged out. No entry for        a clientID should be aged out unless it has been updated by a        new entry for the client (i.e., with an updated address) and        only if the new entry is 'old' enough.        To determine how old is old enough, compute the maximum value        of Interval * (NumReports + 1) of all entries in the        apmReportControlTable (the '+ 1' is to allow a reasonable        period of time for the report to be downloaded). Then take the        larger of this value and the age in seconds of the oldest        entry in the current transaction table. If an entry for a        clientID is superseded by another entry whose StartTime is        more than this many seconds ago, then the older entry may be        deleted."    ::= { apmMibObjects 8 }apmNameEntry OBJECT-TYPE    SYNTAX      ApmNameEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION        "An entry in the APM name table. An entry exists for each        period of time that a client has been associated with a        particular address.        The protocolDirLocalIndex value in the index identifies        the network layer protocol for the ClientAddress for this        entry.        Note that some combinations of index values may result in an        index that exceeds 128 sub-identifiers in length which exceeds        the maximum for the SNMP protocol. Implementations should take        care to avoid such combinations."    INDEX { apmNameClientID,            protocolDirLocalIndex, apmNameClientAddress,            apmNameMappingStartTime }    ::= { apmNameTable 1 }ApmNameEntry ::= SEQUENCE {    apmNameClientID                  RmonClientID,    apmNameClientAddress             ProtocolDirNetworkAddress,    apmNameMappingStartTime          DateAndTime,    apmNameMachineName               SnmpAdminString,    apmNameUserName                  SnmpAdminString}apmNameClientID OBJECT-TYPE    SYNTAX      RmonClientID    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION         "A unique ID assigned to the machine represented by this         mapping. This ID is assigned by the agent using an         implementation-specific algorithm."    ::= { apmNameEntry 1 }apmNameClientAddress OBJECT-TYPE    SYNTAX      ProtocolDirNetworkAddress (SIZE(1..255))    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION

⌨️ 快捷键说明

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