GET /events/activeAlerts/summary/{uuid}
Use this method to return the severity and messages for active alerts that are associated with a specific managed device. If no query parameters are specified, all active alerts are returned.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/events/activeAlerts/summary/{uuid}
where {uuid} is the unique ID of the managed device to be retrieved. To obtain the device UUID, use the inventory GET methods (for example, GET /nodes/{uuid_list} or GET /chassis).
Query parameters
Parameters | Required / Optional | Description |
---|---|---|
type=excluded | Optional | Returns only exclude active alerts. |
filterWith={filter} | Optional | Returns only the active alerts that apply to the specified filters (see Filtering events). |
The following example returns the severity and messages for all excluded active alerts for the specified device:
GET https://192.0.2.0/events/activeAlerts/summary/EA35F98A144E11E2BA81864E72900ECC?type=excluded
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
401 | Unauthorized | The user cannot be authenticated. Authentication has not been provided or has failed. A descriptive error message is returned in the response body. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description |
---|---|---|
severity | String | Severity. This can be one of the following values.
|
msg | String | Event message string. This is provided in the language requested if translation is supported. If translation is not supported, the message as received in the event will be provided, in whatever language the product provided at time of event (typically this is English). |
The following example is returned if the request is successful.
[{
"severity": 300,
"msg":"Power supply Power Supply 02 is off. Input fault."
}]
Give documentation feedback