Databases Reference
In-Depth Information
metricType
metricValue
objectType
CellCLI>
The
metriccurrent
object contains observable metrics as of the
current
time; in other words, it stores
information about each metric as of the time the object is queried. Using the same
CL_CPUT
metric provided above,
run the following command to display your current storage cell CPU utilization:
CellCLI> list metriccurrent CL_CPUT
CL_CPUT cm01cel01 0.4 %
CellCLI>
We see the current CPU utilization of our storage cell is 0.4%. Next, add the
detail
condition to your
list
command to display each
metriccurrent
attribute:
CellCLI> list metriccurrent CL_CPUT detail
name: CL_CPUT
alertState: normal
collectionTime: 2012-10-25T00:15:01-04:00
metricObjectName: cm01cel01
metricType: Instantaneous
metricValue: 0.9 %
objectType: CELL
CellCLI>
The detailed output shows some additional attributes:
•
alertState
is the current alert status of the metric; valid values include normal, warning,
and critical.
•
collectionTime
is the time at which the metric was collected.
•
metricValue
represents the value of the metric; in the previous case, it displays 0.9%.
•
metricType
represents the unit, or scope, upon which the metric's
metricValue
is based. Valid
values for
metricType
include
Instantaneous
(typically presented as a percentage or raw data
value),
Cumulative
,
Rate
(units per time interval), or
Transition
.
•
metricObjectName
represents the specific object to which the metric is scoped; for example,
for each CELL
objectType
, the
metricObjectName
will be the name of the storage cell.
objectType
represents the type of the metric.
To illustrate the different types of CellCLI output, use the following
list metriccurrent
command to display
current metrics for the
CELL objectType
:
•
CellCLI> list metriccurrent where objectType='CELL' attributes -
> name,metricObjectName,metricValue,metricType
CL_BBU_CHARGE cm01cel01 91.0 % Instantaneous
CL_BBU_TEMP cm01cel01 41.0 C Instantaneous
CL_CPUT cm01cel01 0.2 % Instantaneous
... Additional Instaneous metrics omitted
Search WWH ::
Custom Search