PowerVC DRO events
Use the REST API to retrieve Dynamic Resource Optimizer (DRO) events from the IBM® Power® Virtualization Center database.
Retrieving Dynamic Resource Optimizer (DRO) events
Method | URI | Description |
---|---|---|
GET |
|
Retrieves all DRO events. |
Request Parameters
Name | In | Type | Description |
---|---|---|---|
|
body |
integer |
Specifies the ID of the host group for which DRO events should be retrieved. |
|
body |
integer |
Specifies the ID of the DRO event. |
|
body |
string |
Specifies the start of DRO events to retrieve in terms of the time-stamp. |
|
body |
string |
Specifies the end of DRO events to retrieve in terms of the time-stamp. |
|
body |
string |
Specifies an event type to exclude from the response. |
|
body |
string |
Specifies the host for which DRO events should be retrieved. |
Example:
GET events for the host named "host_1":
/v2/{tenant_id}/dro-events?hypervisor_hostname=host_1
GET up to 10 events for a specific host between specified times:
/v2/{tenant_id}/dro-events?max_events=10&hypervisor_hostname=host_a&event_start_tstamp=2015-07-13T04:40:00Z&event_end_tstamp=2015-07-13T04:57:00Z
Response
- Response code:
- Normal response code: OK (200)
Name | In | Type | Description |
---|---|---|---|
|
body |
integer |
The ID of the host group DRO event. |
|
body |
integer |
The ID of the DRO event. |
|
body |
timestamp |
The time-stamp of the event. |
|
body |
string |
The type of event. |
|
body |
string |
The host to which the event applies. |
|
body |
string |
The metadata of the event, which is a JSON-encoded string. |
{
"event_time": "2015-08-08T12:08:06.970307",
"event_type": "prs.rtpolicy.hypervisor.alert",
"hypervisor_hostname": "8246L2C_10024BA",
"aggregate_id",
"id": 1,
"payload": {
"aggregate_id": 1,
"alert_times": 1,
"hypervisor_hostname": "8246L2C_10024BA",
"hypervisor_id": 1,
"is_violated": "No",
"policy_type": "rtpolicy",
"rtpolicy_id": 5,
"rtpolicy_name": "CPU Utilization Balance",
"stabilization": 2,
"threshold": 20
}
}