API Guide

Table Of Contents
/api/MetricService/Actions/MetricService.SaveThreshold
This URL configures the threshold of the device or group.
POST method for MetricService.SaveThreshold
Description This method configures the threshold of the device or group.
Privilege DEVICE_CONFIGURATION, GROUP_MANAGEMENT
HTTP response
codes
200
Example request
body
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityId": 10079,
"Type": "Temperature",
"UpperCritical": "40",
"UpperWarning": "30",
"LowerWarning": "20",
"LowerCritical": "10"
}
Example
response body
{
"ThresholdId": 1,
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityId": 10079,
"Type": "Temperature",
"State": "Normal",
"UpperCritical": "40",
"UpperWarning": "30",
"LowerWarning": "20",
"LowerCritical": "10"
}
Table 197. Attributes
Attribute Description
Supported threshold LowerWarning, LowerCritical, UpperWarning, UpperCritical
Supported state Unknown, Normal, Warning, Critical
Supported power UpperWarning, UpperCritical
Supported temperature LowerCritical, LowerWarning, UpperWarning, UpperCritical
Reset threshold Pass empty values in all the threshold fields in the payload.
PluginId ID of a plug-in.
EntityId ID of an entitydevice or group.
Type Typetemperature or power.
State State of an entityunknown.
UpperCritical Upper limit threshold of state critical.
UpperWarning Lower limit threshold of state warning.
LowerWarning Lower limit threshold of state warning.
LowerCritical Lower limit threshold of state critical.
APIs specific to OpenManage Enterprise 637