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 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 CLOUDSTACK-874
DB schema changes:
Existing schema changes
New client APIs
ApiName |
Request parameters |
Response parameters |
Available to regular user |
|---|---|---|---|
deleteAlert |
|
|
No |
archiveAlert |
|
|
No |
In the above mentioned APIs, id, type and time are optional parameters but while calling the APIs atleast one of them is required. 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 category then he needs to pass only* type* parameter along with type value. If admin wants to delete/archive alerts older then some time then admin needs to pass time parameter. If admin passes any combination of parameters (two or all three) then CloudStack will fetch the alerts from database depends on the parameters and delete/archive only those alerts which satisfy this criteria.
New classes for client APIs
Changes to Existing Files:
DB schema changes:
Existing schema changes
New client APIs
ApiName |
Request parameters |
Response parameters |
Available to regular user |
|---|---|---|---|
deleteEvent |
|
|
No |
archiveEvent |
|
|
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
To be decided.