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

📄 dsmon-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 5 页
字号:
            using the resources assigned to it."    ::= { dsmonAggControlEntry 3 }dsmonAggControlStatus OBJECT-TYPE    SYNTAX      RowStatus    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "The status of this row.            An entry MUST NOT exist in the active state unless all            objects in the entry have an appropriate value.            Upon setting this object to active(1), the agent will create            a complete set of 64 associated entries in the            dsmonAggProfileTable.            If this object is not equal to active(1), all associated            entries in the dsmonAggProfileTable shall be deleted.            This object MUST NOT be modified if the            dsmonAggControlLocked object is equal to 'true'."    ::= { dsmonAggControlEntry 4 }---- Counter Aggregation Profile Table--dsmonAggProfileTable OBJECT-TYPE    SYNTAX      SEQUENCE OF DsmonAggProfileEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Controls the setup of counter aggregation profiles for this            agent.  For each such profile, every DSCP value MUST be            configured into exactly one counter aggregation group.            This table MUST NOT be modified if the dsmonAggControlLocked            object is equal to 'true'.            The agent will create a set of 64 entries in this table            (with the same dsmonAggControlIndex value) when the            associated dsmonAggControlEntry is activated.            If the agent supports non-volatile configuration of this            table, then upon system initialization, this table SHOULD be            initialized with the saved values."    ::= { dsmonAggObjects 6 }dsmonAggProfileEntry OBJECT-TYPE    SYNTAX      DsmonAggProfileEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A conceptual row in the dsmonAggProfileTable.  The            dsmonAggControlIndex value in the index identifies the            dsmonAggControlEntry associated with each entry in this            table."    INDEX { dsmonAggControlIndex, dsmonAggProfileDSCP }    ::= { dsmonAggProfileTable 1 }DsmonAggProfileEntry ::= SEQUENCE {    dsmonAggProfileDSCP          Dscp,    dsmonAggGroupIndex           DsmonCounterAggGroupIndex}dsmonAggProfileDSCP OBJECT-TYPE    SYNTAX      Dscp    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "The specific DSCP value for the DSCP counter which is            configured in a counter aggregation group by this entry."    ::= { dsmonAggProfileEntry 1 }dsmonAggGroupIndex OBJECT-TYPE    SYNTAX      DsmonCounterAggGroupIndex    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "The counter aggregation group which contains this DSCP            value.  Upon creation of a new sub-tree (set of 64 entries            with the same dsmonAggControlIndex value) in this table, the            agent SHOULD initialize all related instances of this object            to the value zero.            This object MUST NOT be modified if the            dsmonAggControlLocked object is equal to 'true'."    DEFVAL { 0 }    ::= { dsmonAggProfileEntry 2 }---- Counter Aggregation Group Table--dsmonAggGroupTable OBJECT-TYPE    SYNTAX      SEQUENCE OF DsmonAggGroupEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "This table provides a description of each counter            aggregation group configured on this system.  Note that the            semantics of a particular counter aggregation group are only            relevant within the scope of a particular counter            aggregation profile.            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].            If the agent supports non-volatile configuration of this            table, then upon system initialization, this table SHOULD be            initialized with the saved values.  Otherwise, each            potential counter aggregation group description string            SHOULD contain the empty string.            An agent SHOULD allow entries to be created or modified in            this table, even if the specified dsmonAggControlIndex value            does not identify a valid dsmonAggControlEntry or a complete            set of valid dsmonAggProfileEntries, to reduce row creation            order dependencies."    ::= { dsmonAggObjects 7 }dsmonAggGroupEntry OBJECT-TYPE    SYNTAX      DsmonAggGroupEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A conceptual row in the dsmonAggGroupTable.  The            dsmonAggGroupIndex value in the INDEX identifies the counter            aggregation group associated with each entry.            The dsmonAggControlIndex in the index identifies the counter            aggregation profile associated with each entry, identified            by the dsmonAggControlEntry and dsmonAggProfileEntries with            the same index value.            The agent SHOULD support non-volatile configuration of this            table, and upon system initialization, the table SHOULD be            initialized with the saved values.            The dsmonAggGroupIndex in the index identifies the counter            aggregation group associated with each entry.  This object            SHOULD be indexed from zero to 'N', where 'N' is less than            the value of the dsmonMaxAggGroups for this agent."    INDEX { dsmonAggControlIndex, dsmonAggGroupIndex }    ::= { dsmonAggGroupTable 1 }DsmonAggGroupEntry ::= SEQUENCE {    dsmonAggGroupDescr         SnmpAdminString,    dsmonAggGroupStatus        RowStatus}dsmonAggGroupDescr OBJECT-TYPE    SYNTAX      SnmpAdminString (SIZE (0..64))    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "An administratively assigned description of the counter            aggregation group identified by this entry.            Upon first creation of an instance of this object, the agent            SHOULD set this object to the empty string.            This object MUST NOT be modified if the associated            dsmonAggGroupStatus object is equal to 'active', or the            dsmonAggControlLocked object is equal to 'true'."    ::= { dsmonAggGroupEntry 1 }dsmonAggGroupStatus OBJECT-TYPE    SYNTAX      RowStatus    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "The status of this row.            An entry MUST NOT exist in the active state unless all            objects in the entry have an appropriate value.            This object MUST NOT be modified if the            dsmonAggControlLocked object is equal to 'true'."    ::= { dsmonAggGroupEntry 2 }-- *************************************************************-- *                                                           *-- *     P E R - D A T A S O U R C E   C O L L E C T I O N S   *-- *                                                           *-- *************************************************************---- Per-DataSource Statistics Control Table--dsmonStatsControlTable OBJECT-TYPE    SYNTAX      SEQUENCE OF DsmonStatsControlEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "Controls the setup of per data source per counter            aggregation group distribution statistics.            Note that an agent MAY choose to limit the actual number of            entries which may be created in this table.  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]."    ::= { dsmonStatsObjects 1 }dsmonStatsControlEntry OBJECT-TYPE    SYNTAX      DsmonStatsControlEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A conceptual row in the dsmonStatsControlTable.            Entries are created and deleted from this table by            management action only, using the dsmonStatsControlStatus            RowStatus object.            The agent SHOULD support non-volatile configuration of this            table, and upon system initialization, the table SHOULD be            initialized with the saved values.            Activation of a control row in this table will cause an            associated dsmonStatsTable to be created and maintained by            the agent."    INDEX { dsmonStatsControlIndex }    ::= { dsmonStatsControlTable 1 }DsmonStatsControlEntry ::= SEQUENCE {    dsmonStatsControlIndex                Integer32,    dsmonStatsControlDataSource           DataSource,    dsmonStatsControlAggProfile           DsmonCounterAggProfileIndex,    dsmonStatsControlDroppedFrames        Counter32,    dsmonStatsControlCreateTime           LastCreateTime,    dsmonStatsControlOwner                OwnerString,    dsmonStatsControlStatus               RowStatus}dsmonStatsControlIndex OBJECT-TYPE    SYNTAX      Integer32 (1..65535)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "An arbitrary and unique index for this            dsmonStatsControlEntry."    ::= { dsmonStatsControlEntry 1 }dsmonStatsControlDataSource OBJECT-TYPE    SYNTAX      DataSource    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "The data source of this per protocol per counter            aggregation group distribution.            Note that only packets that contain a network protocol            encapsulation which contains a DS field [RFC2474] will be            counted in this table.            This object MUST NOT be modified if the associated            dsmonStatsControlStatus object is equal to active(1)."    ::= { dsmonStatsControlEntry 2 }dsmonStatsControlAggProfile OBJECT-TYPE    SYNTAX      DsmonCounterAggProfileIndex    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "The dsmonAggControlIndex value identifying the counter            aggregation profile which should be used on behalf of this            dsmonStatsControlEntry.            The associated dsmonAggControlEntry and            dsmonAggProfileEntries, identified by the same            dsmonAggControlIndex index value, MUST be active in order            for this entry to remain active.  It is possible for the            counter aggregation configuration to change from a valid to            invalid state for this dsmonStats collection.  In this case,            the associated dsmonStatsControlStatus object will be            changed to the 'notReady' state, and data collection will            not occur on behalf of this control entry.            Note that an agent MAY choose to limit the actual number of            counter aggregation profiles which may be applied to a            particular data source.            This object MUST NOT be modified if the associated            dsmonStatsControlStatus object is equal to active(1)."    ::= { dsmonStatsControlEntry 3 }dsmonStatsControlDroppedFrames OBJECT-TYPE    SYNTAX     Counter32    UNITS      "frames"    MAX-ACCESS read-only    STATUS     current    DESCRIPTION            "The total number of frames which were received by the probe            and therefore not accounted for in the *StatsDropEvents, but            for which the probe chose not to count for this entry for            whatever reason.  Most often, this event occurs when the            probe is out of some resources and decides to shed load from            this collection.            This count does not include packets that were not counted            because they had MAC-layer errors.            Note that, unlike the dropEvents counter, this number is the            exact number of frames dropped."    ::= { dsmonStatsControlEntry 4 }dsmonStatsControlCreateTime OBJECT-TYPE    SYNTAX     LastCreateTime    MAX-ACCESS read-only    STATUS     current    DESCRIPTION            "The value of sysUpTime when this control entry was last            activated.  This can be used by the management station to            detect if the table has been deleted and recreated between            polls."

⌨️ 快捷键说明

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