API Guide
Table 192. Attributes (continued)
Attribute Description
1 Device
2 Group
Threshold Type
3 Power
7 Temperature
Violation State
1 Unknown
2 Normal
3 Warning
4 Critical
/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 193. Attributes
Attribute Description
Supported threshold LowerWarning, LowerCritical, UpperWarning, UpperCritical
594 APIs specific to OpenManage Enterprise