Developers Guide

Table Of Contents
Table 195. Attributes (continued)
Attribute Description
7 Three months
8 Six months
9 One year
Metric Types
1 MAX_POWER
2 MIN_POWER
3 AVG_POWER
/api/MetricService/Threshold
This URL represents the threshold set for an entity.
POST method for Threshold
Description This method returns the threshold value for power and temperature.
Privilege VIEW
HTTP response
codes
201
Example request
body
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityId": 10079,
"Type": "Temperature"
}
Example
response body
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityId": 10079,
"Type": "Temperature",
"State": "Unknown",
"UpperWarning": "100",
"UpperCritical": "150",
"LowerWarning": "70",
"LowerCritical": "80"
}
Table 196. Attributes
Attribute Description
PluginId ID of a plug-in.
EntityId ID of an entitydevice or group.
Type Typetemperature or power.
State State of an entityunknown, normal, warning, critical.
UpperWarning Upper limit threshold of state warning.
UpperCritical Upper limit threshold of state critical.
LowerWarning Lower limit threshold of state warning.
736 APIs specific to OpenManage Enterprise