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

📄 dsmon-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
DSMON-MIB DEFINITIONS ::= BEGINIMPORTS        MODULE-IDENTITY, OBJECT-TYPE, Integer32,        Counter32, Gauge32                FROM SNMPv2-SMI        MODULE-COMPLIANCE, OBJECT-GROUP                FROM SNMPv2-CONF        RowStatus, TimeStamp, TEXTUAL-CONVENTION, TruthValue                FROM SNMPv2-TC        OwnerString, rmon                FROM RMON-MIB        protocolDirLocalIndex, LastCreateTime,        DataSource, ZeroBasedCounter32, TimeFilter                FROM RMON2-MIB        CounterBasedGauge64, ZeroBasedCounter64                FROM HCNUM-TC        SnmpAdminString                FROM SNMP-FRAMEWORK-MIB        Dscp                FROM DIFFSERV-DSCP-TC;dsmonMIB MODULE-IDENTITY    LAST-UPDATED    "200205310000Z"    ORGANIZATION    "IETF RMONMIB Working Group"    CONTACT-INFO            "        Andy Bierman                     Cisco Systems, Inc.                     RMONMIB WG Chair and DSMON MIB Editor             Postal: 170 West Tasman Drive                     San Jose, CA USA 95134                Tel: +1 408 527-3711             E-mail: abierman@cisco.com             Send comments to <rmonmib@ietf.org>             Mailing list subscription info:                 http://www.ietf.org/mailman/listinfo/rmonmib "    DESCRIPTION            "This module defines Remote Monitoring MIB extensions for            Differentiated Services enabled networks.             RMON DIFFSERV DSCP statistics              * Per Counter Aggregation Group              * Per Protocol Per Counter Aggregation Group              * Per Counter Aggregation Group Per Host              * Per Counter Aggregation Group Per Host-Pair            In order to maintain the RMON 'look-and-feel' and semantic            consistency, some of the text from the RMON-2 and HC-RMON            MIBs by Steve Waldbusser has been adapted for use in this            MIB."    REVISION        "200205310000Z"    DESCRIPTION            "Initial version of the DSMON MIB module.  This version            published as RFC 3287."    ::= { rmon 26 }dsmonObjects       OBJECT IDENTIFIER ::= { dsmonMIB 1 }dsmonNotifications OBJECT IDENTIFIER ::= { dsmonMIB 2 }dsmonConformance   OBJECT IDENTIFIER ::= { dsmonMIB 3 }dsmonAggObjects    OBJECT IDENTIFIER ::= { dsmonObjects 1 }dsmonStatsObjects  OBJECT IDENTIFIER ::= { dsmonObjects 2 }dsmonPdistObjects  OBJECT IDENTIFIER ::= { dsmonObjects 3 }dsmonHostObjects   OBJECT IDENTIFIER ::= { dsmonObjects 4 }dsmonCapsObjects   OBJECT IDENTIFIER ::= { dsmonObjects 5 }dsmonMatrixObjects OBJECT IDENTIFIER ::= { dsmonObjects 6 }---- Textual Convention to define a-- DSMON Counter Aggregation Group Index--DsmonCounterAggGroupIndex ::= TEXTUAL-CONVENTION    STATUS current    DESCRIPTION            "This TC describes a data type which identifies a DSMON            counter aggregation group, which is an arbitrary grouping of            conceptual counters, for monitoring purposes only.  The            range for this data type begins with zero (instead of            one), to allow for a direct mapping between counter            indexing schemes that start at zero (e.g. DSCP values in            packets) and counter aggregation group values."    SYNTAX Integer32 (0..2147483647)---- Textual Convention to define a-- DSMON Counter Aggregation Profile Index--DsmonCounterAggProfileIndex ::= TEXTUAL-CONVENTION    STATUS current    DESCRIPTION            "This TC describes a data type which identifies a DSMON            counter aggregation profile, which is a set of counter            aggregation group assignments for each of the 64 DSCP            values, for a particular statistical collection."    SYNTAX Integer32 (1..2147483647)-- ***********************************************************-- *                                                         *-- *           D S M O N    C A P A B I L I T I E S          *-- *                                                         *-- ***********************************************************dsmonCapabilities OBJECT-TYPE    SYNTAX      BITS  {                       dsmonCounterAggControl(0),                       dsmonStats(1),                       dsmonStatsOvfl(2),                       dsmonStatsHC(3),                       dsmonPdist(4),                       dsmonPdistOvfl(5),                       dsmonPdistHC(6),                       dsmonHost(7),                       dsmonHostOvfl(8),                       dsmonHostHC(9),                       dsmonCaps(10),                       dsmonMatrix(11),                       dsmonMatrixOvfl(12),                       dsmonMatrixHC(13)                      }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "This object provides an indication of the DSMON groups            supported by the agent.  If a bit is set, then the agent            implements all of the objects in the DSMON object group,            where bit 'n' represents the MIB group identified by the            OBJECT IDENTIFIER value { dsmonGroups n+1 }."    ::= { dsmonCapsObjects 1 }-- ***********************************************************-- *                                                         *-- *   A G G R E G A T I O N   C O N T R O L   G R O U P S   *-- *                                                         *-- ***********************************************************dsmonMaxAggGroups OBJECT-TYPE    SYNTAX      Integer32 (2..64)    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "The maximum number of counter aggregation groups that this            agent can support.  The agent will allow this number of            distinct groups to be configured in the            dsmonAggProfileTable, numbered from '0' to            'dsmonMaxAggGroups - 1', for each counter aggregation            profile entry supported by the agent.            The agent MUST NOT lower this value during system operation,            and SHOULD set this object to an appropriate value during            system initialization."    ::= { dsmonAggObjects 1 }dsmonAggControlLocked OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "Controls the setup of counter aggregation groups for this            agent.            If this object contains the value 'true', then write access            to the objects in the dsmonAggControlTable (except the            dsmonAggControlOwner object), dsmonAggProfileTable, and            dsmonAggGroupTable is not permitted, and data collection is            possible.  This object only controls write access to these            MIB objects.  The DSMON data collection control tables            (e.g., dsmonHostCtlTable) can be configured at any time,            regardless of the value of this object.            If this object contains the value 'false', write access to            the objects in the dsmonAggControlTable,            dsmonAggProfileTable, and dsmonAggGroupTable is permitted,            and data collection is not possible.  In addition, all            objects in all DSMON data tables (e.g., dsmonStatsTable)            shall be deleted.            An agent is not required to process SNMP Set Requests for            this object in conjunction with other objects from this MIB.            This is intended to simplify the processing of Set Requests            for tables such as the dsmonAggProfileTable, by eliminating            the possibility that a single Set PDU will contain multiple            varbinds which are in conflict, such as a PDU which both            modifies the dsmonAggProfileTable and locks the            dsmonAggProfileTable at the same time.            Note that the agent is not required to validate the entire            counter aggregation configuration when an attempt is made to            transition an instance of this object from 'true' to            'false'.  That validation is done if and when a DSMON data            collection is activated.            An agent is required to reactivate any suspended data            collections when this object transitions to 'true', Each            active data control entry (e.g., dsmonStatsControlEntry),            will be validated with respect to the new counter            aggregation configuration.  If the counter aggregation            profile referenced in the data collection is valid, then            that collection will be restarted.  Otherwise, the RowStatus            object (e.g., dsmonStatsControlStatus) will be set to            'notReady' for that collection control entry."    ::= { dsmonAggObjects 2 }dsmonAggControlChanges OBJECT-TYPE    SYNTAX      Counter32    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "This object counts the number of times the value of the            dsmonAggControlLocked object has changed.  A management            station can use this object to detect if counters in the            DSMON data tables (e.g., dsmonStatsEntry) have been deleted            and recreated between polls.            This object shall be incremented by one each time the            dsmonAggControlLocked object changes from 'false' to 'true',            or from 'true' to 'false'."    ::= { dsmonAggObjects 3 }dsmonAggControlLastChangeTime OBJECT-TYPE    SYNTAX      TimeStamp    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "This object identifies the value of sysUpTime at the moment            the dsmonAggControlLocked object was last modified.  A            management station can use this object to detect if counters            in the DSMON data tables (e.g., dsmonStatsEntry) have been            deleted and recreated between polls.            This object shall be updated with the current value of            sysUpTime, if the dsmonAggControlLocked object changes from            'false' to 'true', or from 'true' to 'false'.            Upon system initialization, this object shall contain the            value zero."    ::= { dsmonAggObjects 4 }---- Counter Aggregation Control Table--dsmonAggControlTable OBJECT-TYPE    SYNTAX      SEQUENCE OF DsmonAggControlEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "This table provides an overall description and control            point for all dsmonAggProfileEntries with the same            dsmonAggControlIndex value.            A management application SHOULD create a counter aggregation            profile by first creating and activating an entry in this            table.  This will cause the agent to create a set of 64            dsmonAggProfileEntries on behalf of this control entry.  An            application can then set the individual counter aggregation            group assignments for each of the 64 DSCP values,            This table MUST NOT be modified if the dsmonAggControlLocked            object is equal to 'true'.            Note that an agent MAY choose to limit the actual number of            entries which may be created in this table, and            (independently) the number of counter aggregation profiles            which may be applied to a particular data source.  In this            case, the agent SHOULD return an error-status of            'resourceUnavailable(13)', as per section 4.2.5 of the            'Protocol Operations for SNMPv2' specification [RFC1905].            The agent SHOULD support non-volatile configuration of this            table, and upon system initialization, the table SHOULD be            initialized with the saved values.  Otherwise, each            potential counter aggregation group description string            SHOULD contain the empty string."    ::= { dsmonAggObjects 5 }dsmonAggControlEntry OBJECT-TYPE    SYNTAX      DsmonAggControlEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A conceptual row in the dsmonAggControlTable."    INDEX { dsmonAggControlIndex }    ::= { dsmonAggControlTable 1 }DsmonAggControlEntry ::= SEQUENCE {    dsmonAggControlIndex         DsmonCounterAggProfileIndex,    dsmonAggControlDescr         SnmpAdminString,    dsmonAggControlOwner         OwnerString,    dsmonAggControlStatus        RowStatus}dsmonAggControlIndex OBJECT-TYPE    SYNTAX      DsmonCounterAggProfileIndex    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "An arbitrary integer index value used to identify the            counter aggregation profile specified by this control            entry."    ::= { dsmonAggControlEntry 1 }dsmonAggControlDescr OBJECT-TYPE    SYNTAX      SnmpAdminString (SIZE (0..64))    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "An administratively assigned description of the counter            aggregation profile identified by this entry.            Upon first creation of an instance of this object, the agent            SHOULD set this object to the empty string.  If the agent            supports non-volatile storage, then this object SHOULD be            re-initialized with its stored value after a system reboot.            This object MUST NOT be modified if the associated            dsmonAggControlStatus object is equal to 'active', or the            dsmonAggControlLocked object is equal to 'true'."    ::= { dsmonAggControlEntry 2 }dsmonAggControlOwner OBJECT-TYPE    SYNTAX     OwnerString    MAX-ACCESS read-create    STATUS     current    DESCRIPTION            "The entity that configured this entry and is therefore

⌨️ 快捷键说明

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