I would like to delete the database of events in Zenoss. Does anyone know the MySQL commands to use? I'm not even sure which table or database to connect to. I would appreciate any help.

The following will delete all active (status) and historical (history) events. Make sure that you do status first because there is a trigger that actually moves events from status to history when they're deleted from status;

mysql -uzenoss -pzenoss events
mysql> delete from status;
mysql> delete from history;
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to