DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.

DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
In CloudStack, we have features like Alerts and Events that helps administrator in managing the cloud. Admin can get a list of Alerts and Events but there is no way to control them i.e delete or archive them.
This feature will provide the functionality to delete or archive the acknowledged Alerts/Events. In this way admin can get more controls over the Alerts and Events and manage them to get required and useful information. CloudStack admin can manage them by using the APIs or through CloudStack UI. This is a functional specification of feature "Ability to delete/archive Events and Alerts" which has Jira ID CS-______
Delete or Archive Alerts
DB schema changes:
Existing schema changes
New client APIs
ApiName |
Request parameters |
Response parameters |
Available to regular user |
|---|---|---|---|
deleteAlert |
|
|
No |
archiveAlert |
|
true/false |
No |
In the above mentioned APIs, id and type are optional parameters. If admin can pass one or multiple ids of alert to delete/archive them as per the requirement or if admin wants to delete/archive all the alerts of a particular type then he needs to pass only type parameter along with type value. If admin passes both ids and type then CloudStack will match the ids and type and delete/archive only those alerts which satisfy this criteria.
New classes for client APIs
Changes to Existing Files:
Delete or Archive Events
DB schema changes:
Existing schema changes
New client APIs
ApiName |
Request parameters |
Response parameters |
Available to regular user |
|---|---|---|---|
deleteEvent |
|
|
No |
archiveEvent |
|
true/false |
No |
The APIs deleteEvent and archiveEvent will perform in the similar manner as of deleteAlert and archiveAlert.
New classes for client APIs
Changes to Existing Files:
All logs will go to management-server.log
This is the mockup UI, will modify it as per the suggestions.