Hi all, This is the first draft of the functional spec: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Ability+to+delete+or+archive+Events+and+Alerts Will keep updating it based on the feedback.
Regards, Sanjay > -----Original Message----- > From: Hari Kannan [mailto:hari.kan...@citrix.com] > Sent: Wednesday, December 19, 2012 5:06 AM > To: cloudstack-dev@incubator.apache.org > Subject: RE: [DISCUSS] Ability to delete/archive Alerts and Events > > Customers have filed enhancement request to request a way to delete > alerts. They would prefer not to do it through the database, instead want to > acknowledge alerts and remove them. Some of these alerts are months old > and makes no sense to keep, according to them. Currently there is no way to > control Alerts via API (you can only list them). They would prefer not to do > it > through the database but as stated above, there is no way today to > acknowledge and remove them. > > Requirements: > > - Able to select one or more alerts/events and delete them using API > or > UI > > - Able to archive the selected alerts/events instead of delete - > archive > will not show them on the UI/listed via API, but will still be maintained in > the > DB (for auditing/compliance purposes) > > - Ability to delete alerts by a time period > > - Ability to delete alerts by a "category"? > > - Introduce "alert.purge.delay" - alerts older than specified number > of > days will be purged. Value set to 0 to never purge events automatically > (there already exists an "event purge delay" global config > > > -----Original Message----- > From: Alex Huang [mailto:alex.hu...@citrix.com] > Sent: Tuesday, December 18, 2012 3:23 PM > To: cloudstack-dev@incubator.apache.org > Subject: RE: [DISCUSS] Ability to delete/archive Alerts and Events > > Can you send out what you believe to be the requirements for this feature? > > For example, is it all manual operation? Do we need any auto-archive > function? > > --Alex > > > -----Original Message----- > > From: Sanjay Tripathi [mailto:sanjay.tripa...@citrix.com] > > Sent: Monday, December 17, 2012 9:59 PM > > To: cloudstack-dev@incubator.apache.org > > Subject: [DISCUSS] Ability to delete/archive Alerts and Events > > > > Hi all, > > > > In CloudStack, we have notification services like Alerts and Events > > that helps admin in managing the cloud. Admin can get a list of Alerts > > and Events but there is no way to control them i.e. to acknowledge and > > delete/archive them, the only way to delete them is though the > > database. Sometime the alerts in the database are months old and make > no sense to keep them. > > I am planning to add this functionality so that admin can delete or > > archive the acknowledged Alerts/Events based on parameters like id, > > type , time etc. CS admin can manage them by using the APIs or through > CloudStack UI. > > > > I am working on FS and will share it shortly. > > > > Please let me know your comments/suggestions. > > > > Thanks, > > Sanjay