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

📄 accounting-control-mib

📁 很不错java的SNMP应用例子
💻
📖 第 1 页 / 共 3 页
字号:
            not remove or change the current configuration as            represented by the active rows in the acctngSelectionTable,            acctngFileTable and acctngInterfaceTable tables."    ::= { acctngInterfaceControl 1 }acctngOperStatus OBJECT-TYPE    SYNTAX      INTEGER { enabled(1), disabled(2) }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "A status object to indicate the operational state of the            collection of accounting records across all interfaces.            When the value of acctngAdminStatus is modified to be            'enabled', the value of this object will change to 'enabled'            providing it is possible to begin collecting accounting            records.            When the value of acctngAdminStatus is modified to be            'disabled', the value of this object will change to            'disabled' as soon as the collection of accounting records            has terminated."    ::= { acctngInterfaceControl 2 }acctngProtection OBJECT-TYPE    SYNTAX      TestAndIncr    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "A control object to protect against duplication of control            commands.  Over some transport/network protocols, it is            possible for SNMP messages to get duplicated.  Such            duplication, if it occurred at just the wrong time could            cause serious disruption to the collection and retrieval of            accounting data, e.g., if a SNMP message setting            acctngFileCommand to 'swapToNewFile' were to be duplicated,            a whole file of accounting data could be lost.            To protect against such duplication, a management            application should retrieve the value of this object, and            include in the Set operation needing protection, a variable            binding which sets this object to the retrieved value."    ::= { acctngInterfaceControl 3 }acctngAgentMode OBJECT-TYPE    SYNTAX      INTEGER { swapOnCommand(1), swapOnFull(2) }    MAX-ACCESS  read-only    STATUS      current    DESCRIPTION            "An indication of the behaviour mode of the agent when a            file becomes full:               'swapOnCommand' - the agent does not automatically swap                      to a new file; rather, it discards newly collected                      data until a management application subsequently                      instructs it to swap to a new file.               'swapOnFull' - the agent terminates collection into the                      current file as and when that file becomes full."    ::= { acctngInterfaceControl 4 }--  Per-interface control tableacctngInterfaceTable OBJECT-TYPE    SYNTAX      SEQUENCE OF AcctngInterfaceEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "A table controlling the collection of accounting data on            specific interfaces of the switch."    ::= { acctngInterfaceControl 5 }acctngInterfaceEntry OBJECT-TYPE    SYNTAX      AcctngInterfaceEntry    MAX-ACCESS  not-accessible    STATUS      current    DESCRIPTION            "An entry which controls whether accounting data is to be            collected on an interface.  The types of interfaces which            are represented in this table is implementation-specific."    INDEX   { ifIndex }    ::= { acctngInterfaceTable 1 }AcctngInterfaceEntry ::=    SEQUENCE {        acctngInterfaceEnable     TruthValue    }acctngInterfaceEnable OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "Indicates whether the collection of accounting data is            enabled on this interface."    ::= { acctngInterfaceEntry 1 }-- Objects for controlling the use of NotificationsacctngControlTrapThreshold OBJECT-TYPE    SYNTAX      INTEGER (0..99)    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "A percentage of the maximum file size at which a 'nearly-            full' trap is generated.  The value of 0 indicates that no            'nearly-full' trap is to be generated."    ::= { acctngTrapControl 1 }acctngControlTrapEnable OBJECT-TYPE    SYNTAX      TruthValue    MAX-ACCESS  read-write    STATUS      current    DESCRIPTION            "An indication of whether the acctngFileNearlyFull and            acctngFileFull traps are enabled."    ::= { acctngTrapControl 2 }-- notificationsacctngNotifications OBJECT IDENTIFIER ::= { accountingControlMIB 2 }acctngNotifyPrefix OBJECT IDENTIFIER ::= { acctngNotifications 0 }acctngFileNearlyFull NOTIFICATION-TYPE    OBJECTS     { acctngFileName,                  acctngFileMaximumSize,                  acctngControlTrapThreshold,                  acctngFileNameSuffix }    STATUS      current    DESCRIPTION            "An indication that the size of the file into which            accounting information is currently being collected has            exceeded the threshold percentage of its maximum file size.            This notification is generated only at the time of the            transition from not-exceeding to exceeding."    ::= { acctngNotifyPrefix 1 }acctngFileFull NOTIFICATION-TYPE    OBJECTS     { acctngFileName,                  acctngFileMaximumSize,                  acctngFileNameSuffix }    STATUS      current    DESCRIPTION            "An indication that the size of the file into which            accounting information is currently being collected has            transistioned to its maximum file size.  This notification            is generated (for all values of acctngAgentMode) at the time            of the transition from not-full to full.  If acctngAgentMode            has the value 'swapOnCommand', it is also generated            periodically thereafter until such time as collection of            data is no longer inhibited by the file full condition."    ::= { acctngNotifyPrefix 2 }-- conformance informationacctngConformance OBJECT IDENTIFIER ::= { accountingControlMIB 3 }acctngGroups      OBJECT IDENTIFIER ::= { acctngConformance 1 }acctngCompliances OBJECT IDENTIFIER ::= { acctngConformance 2 }acctngCompliance MODULE-COMPLIANCE    STATUS  current    DESCRIPTION            "The compliance statement for switches which implement the            Accounting Control MIB."    MODULE  -- this module        MANDATORY-GROUPS { acctngBasicGroup,                           acctngNotificationsGroup }        OBJECT      acctngSelectionType        SYNTAX      BITS { svcIncoming(0), svcOutgoing(1) }        DESCRIPTION "The minimal requirement is collection for SVCs."        OBJECT      acctngSelectionRowStatus        MIN-ACCESS  read-only        DESCRIPTION "Write access is not required."        OBJECT      acctngFileName        MIN-ACCESS  read-only        DESCRIPTION "Write access is not required."        OBJECT      acctngFileCommand        MIN-ACCESS  read-only        DESCRIPTION "Write access is not required."        OBJECT      acctngFileFormat        SYNTAX      INTEGER { ber(2) }        MIN-ACCESS  read-only        DESCRIPTION "Only the standard format is required, and write                    access is not required."        OBJECT      acctngFileMaximumSize        MIN-ACCESS  read-only        DESCRIPTION "Write access is not required."        OBJECT      acctngFileCollectMode        SYNTAX      BITS { onRelease(0) }        MIN-ACCESS  read-only        DESCRIPTION "The minimal requirement is for collection on                    connection release."        OBJECT      acctngFileInterval        MIN-ACCESS  read-only        DESCRIPTION "Write access is not required."        OBJECT      acctngFileCollectFailedAttempts        MIN-ACCESS  read-only        DESCRIPTION "Write access is not required."        OBJECT      acctngFileRowStatus        MIN-ACCESS  read-only        DESCRIPTION "Write access is not required."    ::= { acctngCompliances 1 }-- units of conformanceacctngBasicGroup    OBJECT-GROUP    OBJECTS { acctngSelectionSubtree, acctngSelectionList,              acctngSelectionFile, acctngSelectionType,              acctngSelectionRowStatus, acctngFileName,              acctngFileNameSuffix, acctngFileDescription,              acctngFileCommand, acctngFileMaximumSize,              acctngFileCurrentSize, acctngFileRowStatus,              acctngFileFormat, acctngFileCollectMode,              acctngFileCollectFailedAttempts, acctngFileInterval,              acctngFileMinAge,              acctngAdminStatus, acctngOperStatus,              acctngProtection, acctngAgentMode,              acctngInterfaceEnable,              acctngControlTrapThreshold,              acctngControlTrapEnable            }    STATUS  current    DESCRIPTION            "A collection of objects providing control of the basic            collection of accounting data for connection-oriented            networks."    ::= { acctngGroups 1 }acctngNotificationsGroup NOTIFICATION-GROUP    NOTIFICATIONS { acctngFileNearlyFull, acctngFileFull }    STATUS        current    DESCRIPTION            "The notifications of events relating to controlling the            collection of accounting data."    ::= { acctngGroups 2 }END

⌨️ 快捷键说明

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