Skip to main content

OpenManage Enterprise 3.10 RESTful API Guide

PDF

POST method for MetricsConsumption

Description
This method returns the aggregated metrics of the device or group.
Privilege
VIEW
HTTP response codes
201
Example request body
{
   "PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
   "EntityType": 0, 
   "EntityId": 10397,
   "Duration": 1,
   "MetricTypes": [1,2,3] 
}


Example response body
{
	"Value": [
        {
            "Type": "1",
            "Value": "242.0"
        },
        {
            "Type": "2",
            "Value": "176.0"
        },
        {
            "Type": "3",
            "Value": "192.75"
        }
    ]
}
Table 1. AttributesThis table lists the attributes that this method supports.
Attribute Description
PluginId ID of a plug-in.
EntityType Type of an entity—device or group.
EntityId ID of an entity—device or group.
Duration Duration
MetricTypes Type that is supported by the metric.
Duration
1 One hour
2 Six hours
3 Twelve hours
4 One day
5 Seven days
6 One month
7 Three months
8 Six months
9 One year
Metric Types
1 MAX_POWER
2 MIN_POWER
3 AVG_POWER

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\