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

📄 accounting-control-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
ACCOUNTING-CONTROL-MIB DEFINITIONS ::= BEGINIMPORTS    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE,    mib-2, Integer32                              FROM SNMPv2-SMI    TEXTUAL-CONVENTION, RowStatus, TestAndIncr,    DisplayString, TruthValue                     FROM SNMPv2-TC    MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP                                                  FROM SNMPv2-CONF    ifIndex                                       FROM IF-MIB;accountingControlMIB MODULE-IDENTITY    LAST-UPDATED "9809281000Z"    ORGANIZATION "IETF AToM MIB Working Group"    CONTACT-INFO "Keith McCloghrie                  Cisco Systems, Inc.                  170 West Tasman Drive,                  San Jose CA 95134-1706.                  Phone: +1 408 526 5260                  Email: kzm@cisco.com"    DESCRIPTION            "The MIB module for managing the collection and storage of            accounting information for connections in a connection-            oriented network such as ATM."    ::= { mib-2 60 }acctngMIBObjects       OBJECT IDENTIFIER ::= { accountingControlMIB 1 }acctngSelectionControl OBJECT IDENTIFIER ::= { acctngMIBObjects 1 }acctngFileControl      OBJECT IDENTIFIER ::= { acctngMIBObjects 2 }acctngInterfaceControl OBJECT IDENTIFIER ::= { acctngMIBObjects 3 }acctngTrapControl      OBJECT IDENTIFIER ::= { acctngMIBObjects 4 }-- Textual ConventionsDataCollectionSubtree ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION            "The subtree component of a (subtree, list) tuple.  Such a            (subtree, list) tuple defines a set of objects and their            values to be collected as accounting data for a connection.            The subtree specifies a single OBJECT IDENTIFIER value such            that each object in the set is named by the subtree value            appended with a single additional sub-identifier."    SYNTAX       OBJECT IDENTIFIERDataCollectionList ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION            "The list component of a (subtree, list) tuple.  Such a            (subtree, list) tuple defines a set of objects and their            values to be collected as accounting data for a connection.            The subtree specifies a single OBJECT IDENTIFIER value such            that each object in the set is named by the subtree value            appended with a single additional sub-identifier.  The list            specifies a set of data items, where the presence of an item            in the list indicates that the item is (to be) present in            the data collected for a connection; the absence of an item            from the list indicates that the item is not (to be) present            in the data collected for a connection.  Each data item is            represented by an integer which when appended (as as            additional sub-identifier) to the OBJECT IDENTIFIER value of            the subtree identified by the tuple, is the name of an            object defining that data item (its description and its            syntax).            The list is specified as an OCTET STRING in which each data            item is represented by a single bit, where data items 1            through 8 are represented by the bits in the first octet,            data items 9 through 16 by the bits in the second octet,            etc.  In each octet, the lowest numbered data item is            represented by the most significant bit, and the highest            numbered data item by the least significant bit.  A data            item is present in the list when its bit is set, and absent            when its bit is reset.  If the length of an OCTET STRING            value is too short to represent one or more data items            defined in a subtree, then those data items are absent from            the set identified by the tuple of that subtree and that            OCTET STRING value."    SYNTAX       OCTET STRING (SIZE(0..8))FileIndex ::= TEXTUAL-CONVENTION    STATUS       current    DESCRIPTION            "An arbitrary integer value identifying a file into which            accounting data is being collected."    SYNTAX       Integer32 (1..65535)-- The Accounting Information Selection tableacctngSelectionTable OBJECT-TYPE    SYNTAX      SEQUENCE OF AcctngSelectionEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A list of accounting information selection entries.            Note that additions, modifications and deletions of entries            in this table can occur at any time, but such changes only            take effect on the next occasion when collection begins into            a new file.  Thus, between modification and the next 'swap',            the content of this table does not reflect the current            selection."    ::= { acctngSelectionControl 1 }acctngSelectionEntry OBJECT-TYPE    SYNTAX      AcctngSelectionEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "An entry identifying an (subtree, list) tuple used to            select a set of accounting information which is to be            collected."    INDEX   { acctngSelectionIndex }    ::= { acctngSelectionTable 1 }AcctngSelectionEntry ::=    SEQUENCE {        acctngSelectionIndex     Integer32,        acctngSelectionSubtree   DataCollectionSubtree,        acctngSelectionList      DataCollectionList,        acctngSelectionFile      FileIndex,        acctngSelectionType      BITS,        acctngSelectionRowStatus RowStatus    }acctngSelectionIndex OBJECT-TYPE    SYNTAX      Integer32 (1..65535)    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "An arbitrary integer value which uniquely identifies a            tuple stored in this table.  This value is required to be            the permanent 'handle' for an entry in this table for as            long as that entry exists, including across restarts and            power outages."    ::= { acctngSelectionEntry 1 }acctngSelectionSubtree OBJECT-TYPE    SYNTAX      DataCollectionSubtree    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "The combination of acctngSelectionSubtree and            acctngSelectionList specifies one (subtree, list) tuple            which is to be collected."    ::= { acctngSelectionEntry 2 }acctngSelectionList OBJECT-TYPE    SYNTAX      DataCollectionList    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "The combination of acctngSelectionSubtree and            acctngSelectionList specifies one (subtree, list) tuple            which is to be collected."    ::= { acctngSelectionEntry 3 }acctngSelectionFile OBJECT-TYPE    SYNTAX      FileIndex    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "An indication of the file into which the accounting            information identified by this entry is to be stored.  If            there is no conceptual row in the acctngFileTable for which            the value of acctngFileIndex has the same value as this            object, then the information selected by this entry is not            collected."    ::= { acctngSelectionEntry 4 }acctngSelectionType OBJECT-TYPE    SYNTAX      BITS { svcIncoming(0),                       svcOutgoing(1),                       svpIncoming(2),                       svpOutgoing(3),                       pvc(4),                       pvp(5),                       spvcOriginator(6),                       spvcTarget(7),                       spvpOriginator(8),                       spvpTarget(9) }    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "Indicates the types of connections for which the            information selected by this entry are to be collected."    DEFVAL      { { svcIncoming, svcOutgoing,                    svpIncoming, svpOutgoing } }    ::= { acctngSelectionEntry 5 }acctngSelectionRowStatus OBJECT-TYPE    SYNTAX      RowStatus    MAX-ACCESS  read-create    STATUS      current    DESCRIPTION            "The status of this conceptual row.  An agent may refuse to            create new conceptual rows and/or modify existing conceptual            rows, if such creation/modification would cause multiple            rows to have the same values of acctngSelectionSubtree and            acctngSelectionList.            A conceptual row can not have the status of 'active' until            values have been assigned to the acctngSelectionSubtree,            acctngSelectionList and acctngSelectionFile columnar objects            within that row.            An agent must not refuse to change the values of the            acctngSelectionSubtree, acctngSelectionList and            acctngSelectionFile columnar objects within a conceptual row            even while that row's status is 'active'.  Similarly, an            agent must not refuse to destroy an existing conceptual row            while the file referenced by that row's instance of            acctngSelectionFile is in active use, i.e., while the            corresponding instance of acctngFileRowStatus has the value            'active'.  However, such changes only take effect upon the            next occasion when collection begins into a new (version of            the) file."    ::= { acctngSelectionEntry 6 }-- The Accounting File tableacctngFileTable OBJECT-TYPE    SYNTAX      SEQUENCE OF AcctngFileEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A list of files into which accounting information is to be            stored."    ::= { acctngFileControl 1 }acctngFileEntry OBJECT-TYPE    SYNTAX      AcctngFileEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "An entry identifying a file into which accounting            information is to be collected."    INDEX   { acctngFileIndex }    ::= { acctngFileTable 1 }AcctngFileEntry ::=    SEQUENCE {        acctngFileIndex                 FileIndex,        acctngFileName                  DisplayString,        acctngFileNameSuffix            DisplayString,        acctngFileDescription           DisplayString,        acctngFileCommand               INTEGER,        acctngFileMaximumSize           Integer32,        acctngFileCurrentSize           Integer32,        acctngFileFormat                INTEGER,        acctngFileCollectMode           BITS,        acctngFileCollectFailedAttempts BITS,        acctngFileInterval              Integer32,

⌨️ 快捷键说明

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