Device\CIM_DeviceErrorCounts.mof.mof (HTML version)

Return to index
CIM_DeviceErrorCounts Superclass: CIM_StatisticalInformation
DeviceErrorCounts is a statistical class containing error- related counters for a LogicalDevice. The types of errors are defined by CCITT (Rec X.733) and ISO (IEC 10164-4). Note that the CIM_DeviceErrorCountData class uses a simplified naming or identity algorithm as compared to this class. DeviceErrorCounts is not deprecated because its naming algorithm is still in use in various implementations.
Qualifiers:Version ( "2.10.0" )
Parameters (local in grey)
MaxLen ( 256 )
Propagated ( "CIM_LogicalDevice.CreationClassName" )
Key
string DeviceCreationClassName ;
The CreationClassName of the scoping Device.
MaxLen ( 256 )
Propagated ( "CIM_LogicalDevice.SystemName" )
Key
string SystemName ;
The Name of the scoping System.
Counter
MappingStrings { "MIF.DMTF|Operational State|006.8" }
uint64 MajorErrorCount ;
Count of the major errors.
Counter
MappingStrings { "MIF.DMTF|Operational State|006.9" }
uint64 WarningCount ;
Count of the warnings.
Counter
uint64 MinorErrorCount ;
Count of the minor errors.
MaxLen ( 64 )
Propagated ( "CIM_LogicalDevice.DeviceID" )
Key
string DeviceID ;
The ID of the scoping Device.
MaxLen ( 256 )
Propagated ( "CIM_LogicalDevice.SystemCreationClassName" )
Key
string SystemCreationClassName ;
The CreationClassName of the scoping System.
Counter
uint64 IndeterminateErrorCount ;
Count of the indeterminate errors.
Counter
MappingStrings { "MIF.DMTF|Operational State|006.7" }
uint64 CriticalErrorCount ;
Count of the critical errors.
MaxLen ( 256 )
Key
Override ( "Name" )
string Name ;
The inherited Name serves as part of the key for the DeviceErrorCounts instance. The object is scoped by the LogicalDevice to which the statistics apply.
uint32ResetCounter(
The counter to reset.
Qualifiers:ValueMap { "0" , "1" , "2" , "3" , "4" , "5" } Values { "All" , "Indeterminate Error Counter" , "Critical Error Counter" , "Major Error Counter" , "Minor Error Counter" , "Warning Counter" } IN
uint16 SelectedCounter
)
Method to reset the error and warning counters. The method takes one parameter as input, an integer that indicates which counter to reset. For this input parameter, 0 indicates all, 1 indicates a reset of the indeterminate error counter, 2 the critical error counter, 3 the major error counter, 4 the minor error counter, and 5 the warning counter. The method returns 0 if successful, 1 if not supported, and any other value if an error occurred. A method is specified so that the instrumentation of the LogicalDevice, which tabulates the errors and warnings, can also reset its internal processing and counters.
In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' can also be specified in the subclass as a Values array qualifier.
string ElementName ;
A user-friendly name for the object. This property allows each instance to define a user-friendly name in addition to its key properties, identity data, and description information.
Note that the Name property of ManagedSystemElement is also defined as a user-friendly name. But, it is often subclassed to be a Key. It is not reasonable that the same property can convey both identity and a user-friendly name, without inconsistencies. Where Name exists and is not a Key (such as for instances of LogicalDevice), the same information can be present in both the Name and ElementName properties.
MaxLen ( 64 )
string Caption ;
The Caption property is a short textual description (one- line string) of the object.
string Description ;
The Description property provides a textual description of the object.