ACCOUNTING-CONTROL-MIB

MIB Reference — IPNetwork Monitor

All MIBsACCOUNTING-CONTROL-MIB

Organization: IETF AToM MIB Working Group

Last Updated: 1998-09-28

Category: Fibre Channel and Storage

Description:

Defines managed objects for controlling the collection and storage of accounting information for connection-oriented networks such as ATM, with data collected into files for later retrieval.

Imported Objects

From IF-MIB

ifIndexOBJECT-TYPE

From SNMPv2-CONF

MODULE-COMPLIANCE
NOTIFICATION-GROUP
OBJECT-GROUP

From SNMPv2-SMI

Integer32
MODULE-IDENTITY
NOTIFICATION-TYPE
OBJECT-TYPE
mib-2

From SNMPv2-TC

DisplayString
RowStatus
TEXTUAL-CONVENTION
TestAndIncr
TruthValue

What Is ACCOUNTING-CONTROL-MIB?

ACCOUNTING-CONTROL-MIB is an IETF standards-track MIB for managing collection and storage of accounting/usage information on connection-oriented networks such as ATM, where usage records are written to files for later retrieval and billing/analysis. Its data categories are configuration-oriented: selection criteria for which connections/subtrees get accounted, and file management for the resulting accounting data files. It supports monitoring of software/service status by exposing the state of accounting selections and file records (e.g. row status, active/inactive), letting an operator confirm the accounting subsystem is actually running and producing usable files rather than any hardware environmental data. As a generic accounting framework it is commonly used together with technology-specific MIBs (e.g. ATM MIBs) that supply the actual connection data being accounted. Deployment context is carrier and enterprise ATM/connection-oriented network elements requiring usage-based billing or capacity accounting, and network engineers configuring usage-based billing on such elements typically keep the ACCOUNTING-CONTROL-MIB reference at hand when defining selection criteria.

IPNetwork Monitor allows you to monitor SNMP objects defined in ACCOUNTING-CONTROL-MIB. Use the built-in SNMP Monitoring Browser to explore available variables, view their current values and descriptions, and select the objects you want to monitor. You can then create SNMP monitors, configure thresholds, and receive alerts when monitored values change.

What Can Be Monitored

  • accounting selection status
  • accounting file generation and naming
  • selected subtree/connection scope for accounting
  • accounting file control state

Supported Devices

  • vendor-neutral, standards-based MIB, not tied to a specific manufacturer
  • ATM switch or connection-oriented network element

Monitoring Examples

An operator would configure acctngSelectionTable/acctngSelectionEntry (acctngSelectionSubtree, acctngSelectionList, acctngSelectionType) to specify which connections get accounted, then verify acctngSelectionRowStatus shows the selection is active. Polling acctngFileTable/acctngFileEntry (acctngFileIndex, acctngFileName) would confirm accounting files are being generated and named correctly for retrieval; an accounting selection stuck in a non-active row status would explain missing usage records for billing.

OIDs
OID symbolicOID numericTypeAccessDescription
accountingControlMIB1.3.6.1.2.1.60The MIB module for managing the collection and storage of accounting information for connections in a connection- oriented network such as ATM.
acctngMIBObjects1.3.6.1.2.1.60.1
acctngSelectionControl1.3.6.1.2.1.60.1.1
acctngSelectionTable1.3.6.1.2.1.60.1.1.1not-accessibleA 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.
acctngSelectionEntry1.3.6.1.2.1.60.1.1.1.1not-accessibleAn entry identifying an (subtree, list) tuple used to select a set of accounting information which is to be collected.
I32 acctngSelectionIndex1.3.6.1.2.1.60.1.1.1.1.1Integer32not-accessibleAn 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.
DAT acctngSelectionSubtree1.3.6.1.2.1.60.1.1.1.1.2DataCollectionSubtreeread-createThe combination of acctngSelectionSubtree and acctngSelectionList specifies one (subtree, list) tuple which is to be collected.
DAT acctngSelectionList1.3.6.1.2.1.60.1.1.1.1.3DataCollectionListread-createThe combination of acctngSelectionSubtree and acctngSelectionList specifies one (subtree, list) tuple which is to be collected.
FIL acctngSelectionFile1.3.6.1.2.1.60.1.1.1.1.4FileIndexread-createAn 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.
BIT acctngSelectionType1.3.6.1.2.1.60.1.1.1.1.5Bitsread-createIndicates the types of connections for which the information selected by this entry are to be collected.
ROW acctngSelectionRowStatus1.3.6.1.2.1.60.1.1.1.1.6RowStatusread-createThe 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.
acctngFileControl1.3.6.1.2.1.60.1.2
acctngFileTable1.3.6.1.2.1.60.1.2.1not-accessibleA list of files into which accounting information is to be stored.
acctngFileEntry1.3.6.1.2.1.60.1.2.1.1not-accessibleAn entry identifying a file into which accounting information is to be collected.
FIL acctngFileIndex1.3.6.1.2.1.60.1.2.1.1.1FileIndexnot-accessibleA unique value identifying a file into which accounting data is to be stored. 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.
STR acctngFileName1.3.6.1.2.1.60.1.2.1.1.2DisplayStringread-createThe name of the file into which accounting data is to be stored. If files are named using suffixes, then the name of the current file is the concatenation of acctngFileName and acctngFileNameSuffix. An agent will respond with an error (e.g., 'wrongValue') to a management set operation which attempts to modify the value of this object to the same value as already held by another instance of acctngFileName. An agent will also respond with an error (e.g., 'wrongValue') if the new value is invalid for use as a file name on the local file system (e.g., many file systems do not support white space embedded in file names). The value of this object can not be modified while the corresponding instance of acctngFileRowStatus is 'active'.
STR acctngFileNameSuffix1.3.6.1.2.1.60.1.2.1.1.3DisplayStringread-onlyThe suffix, if any, of the name of a file into which accounting data is currently being stored. If suffixes are not used, then the value of this object is the zero-length string. Note that if a separator, such as a period, is used in appending the suffix to the file name, then that separator appears as the first character of this value.
STR acctngFileDescription1.3.6.1.2.1.60.1.2.1.1.4DisplayStringread-createThe textual description of the accounting data which will be stored (on the next occasion) when header information is stored in the file. The value of this object may be modified at any time.
INT acctngFileCommand1.3.6.1.2.1.60.1.2.1.1.5INTEGERread-createA control object for the collection of accounting data. When read the value is either 'idle' or 'cmdInProgress'. Writing a value is only allowed when the current value is 'idle'. When a value is successfully written, the value changes to 'cmdInProgress' until completion of the action, at which time the value reverts to 'idle'. Actions are invoked by writing the following values: 'swapToNewFile' - the collection of data into the current file is terminated, and collection continues into a new (version of the) file. 'collectNow' - the agent creates and stores a connection record into the current file for each active connection having a type matching acctngSelectionType and an age greater than acctngFileMinAge.
I32 acctngFileMaximumSize1.3.6.1.2.1.60.1.2.1.1.6Integer32read-createThe maximum size of the file (including header information). When the file of collected data reaches this size, either the agent automatically swaps to a new version (i.e., a new value acctngFileNameSuffix) of the file, or new records are discarded. Since a file must contain an integral number of connection records, the actual maximum size of the file may be just less OR Just greater than the value of this object. The value of this object can not be modified while the corresponding instance of acctngFileRowStatus is 'active'. The largest value of the maximum file size in some agents will be less than 2147483647 bytes.
I32 acctngFileCurrentSize1.3.6.1.2.1.60.1.2.1.1.7Integer32read-onlyThe current size of the file into which data is currently being collected, including header information.
INT acctngFileFormat1.3.6.1.2.1.60.1.2.1.1.8INTEGERread-createAn indication of the format in which the accounting data is to be stored in the file. If the value is modified, the new value takes effect after the next 'swap' to a new file. The value ber(2) indicates the standard format.
BIT acctngFileCollectMode1.3.6.1.2.1.60.1.2.1.1.9Bitsread-createAn indication of when accounting data is to be written into this file. Note that in addition to the occasions indicated by the value of this object, an agent always writes information on appropriate connections to the file when the corresponding instance of acctngFileCommand is set to 'collectNow'. - 'onRelease' - whenever a connection (or possibly, connection attempt) is terminated, either through a Release message or through management removal, information on that connection is written. - 'periodically' - information on appropriate connections is written on the expiry of a periodic timer, This value may be modified at any time.
BIT acctngFileCollectFailedAttempts1.3.6.1.2.1.60.1.2.1.1.10Bitsread-createAn indication of whether connection data is to be collected for failed connection attempts when the value of the corresponding instance of acctngFileCollectMode includes 'onRelease'. The individual values have the following meaning: 'soft' - indicates that connection data is to be collected for failed Soft PVCs/PVPs which originate or terminate at the relevant interface. 'regular' - indicates that connection data is to be collected for failed SVCs, including Soft PVCs/PVPs not originating or terminating at the relevant interface. This value may be modified at any time.
I32 acctngFileInterval1.3.6.1.2.1.60.1.2.1.1.11Integer32read-createThe number of seconds between the periodic collections of accounting data when the value of the corresponding instance of acctngFileCollectMode includes 'periodically'. Some agents may impose restrictions on the range of this interval. This value may be modified at any time.
I32 acctngFileMinAge1.3.6.1.2.1.60.1.2.1.1.12Integer32read-createThe minimum age of a connection, as used to determine the set of connections for which data is to be collected at the periodic intervals and/or when acctngFileCommand is set to 'collectNow'. The age of a connection is the elapsed time since it was last installed. When the periodic interval expires for a file or when acctngFileCommand is set to 'collectNow', accounting data is collected and stored in the file for each connection having a type matching acctngSelectionType and whose age at that time is greater than the value of acctngFileMinAge associated with the file. This value may be modified at any time.
ROW acctngFileRowStatus1.3.6.1.2.1.60.1.2.1.1.13RowStatusread-createThe status of this conceptual row. This object can not be set to 'active' until a value has been assigned to the corresponding instance of acctngFileName. Collection of data into the file does not begin until this object has the value 'active' and one or more (active) instances of acctngSelectionFile refer to it. If this value is modified after a collection has begun, collection into this file terminates and a new (or new version of the) file is immediately made ready for future collection (as if acctngFileCommand had been set to 'swapToNewFile'), but collection into the new (or new version of the) file does not begin until the value is subsequently set back to active.
acctngInterfaceControl1.3.6.1.2.1.60.1.3
INT acctngAdminStatus1.3.6.1.2.1.60.1.3.1INTEGERread-writeA control object to indicate the administratively desired state of the collection of accounting records across all interfaces. Modifying the value of acctngAdminStatus to 'disabled' does not remove or change the current configuration as represented by the active rows in the acctngSelectionTable, acctngFileTable and acctngInterfaceTable tables.
INT acctngOperStatus1.3.6.1.2.1.60.1.3.2INTEGERread-onlyA 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.
TES acctngProtection1.3.6.1.2.1.60.1.3.3TestAndIncrread-writeA 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.
INT acctngAgentMode1.3.6.1.2.1.60.1.3.4INTEGERread-onlyAn 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.
acctngInterfaceTable1.3.6.1.2.1.60.1.3.5not-accessibleA table controlling the collection of accounting data on specific interfaces of the switch.
acctngInterfaceEntry1.3.6.1.2.1.60.1.3.5.1not-accessibleAn 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.
T/F acctngInterfaceEnable1.3.6.1.2.1.60.1.3.5.1.1TruthValueread-writeIndicates whether the collection of accounting data is enabled on this interface.
acctngTrapControl1.3.6.1.2.1.60.1.4
INT acctngControlTrapThreshold1.3.6.1.2.1.60.1.4.1INTEGERread-writeA 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.
T/F acctngControlTrapEnable1.3.6.1.2.1.60.1.4.2TruthValueread-writeAn indication of whether the acctngFileNearlyFull and acctngFileFull traps are enabled.
acctngNotifications1.3.6.1.2.1.60.2
acctngNotifyPrefix1.3.6.1.2.1.60.2.0
NTF acctngFileNearlyFull1.3.6.1.2.1.60.2.0.1An 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.
NTF acctngFileFull1.3.6.1.2.1.60.2.0.2An 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.
acctngConformance1.3.6.1.2.1.60.3
acctngGroups1.3.6.1.2.1.60.3.1
acctngBasicGroup1.3.6.1.2.1.60.3.1.1A collection of objects providing control of the basic collection of accounting data for connection-oriented networks.
acctngNotificationsGroup1.3.6.1.2.1.60.3.1.2The notifications of events relating to controlling the collection of accounting data.
acctngCompliances1.3.6.1.2.1.60.3.2
acctngCompliance1.3.6.1.2.1.60.3.2.1The compliance statement for switches which implement the Accounting Control MIB.

RFC description

Accounting control and policy management for network resource utilization and billing.

Start monitoring ATM/connection-oriented network elements with a free 30-day trial of IPNetwork Monitor. Import MIBs, browse SNMP OIDs, create custom SNMP monitors, configure alerts, and monitor any SNMP-enabled network device from a single console.

Download ACCOUNTING-CONTROL-MIB