API Guide
"EntityId": 10079,
"Type": "Temperature",
"State": "Unknown",
"UpperWarning": "100",
"UpperCritical": "150",
"LowerWarning": "70",
"LowerCritical": "80"
}
Table 170. Attributes
Attribute Description
PluginId ID of a plug-in.
EntityId ID of an entity—device or group.
Type Type—temperature or power.
State State of an entity—unknown, normal, warning, critical.
UpperWarning Upper limit threshold of state warning.
UpperCritical Upper limit threshold of state critical.
LowerWarning Lower limit threshold of state warning.
LowerCritical Lower limit threshold of state 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
Input:
{
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityId": 10079,
"Type": "Temperature",
"State": "Unknown",
"UpperCritical": "40",
"UpperWarning": "30",
"LowerWarning": "20",
"LowerCritical": "10"
}
Output:
{
"ThresholdId": 0,
"PluginId": "2F6D05BE-EE4B-4B0E-B873-C8D2F64A4625",
"EntityId": 10079,
"Type": "Temperature",
"State": "Unknown",
"UpperCritical": "40",
"UpperWarning": "30",
"LowerWarning": "20",
"LowerCritical": "10"
}
APIs specific to OpenManage Enterprise 445