On one of my Post you replied:
How to delete old ALERT History?
How to delete old Notification History?
Alert History (Host/Service UP/Down Status) by default generating upon link adding regardless of Notification On/Off.from abrist
This can be performed by truncating the tables. WARNING - This action will permanently remove the history from the db!!!
echo "use nagios; truncate nagios_notifications;" | mysql -pnagiosxi
What exactly do you mean by "ALERT history"?
You have simply mentioned : echo "use nagios; truncate nagios_notifications;"
Its okay but I am pretty sure there is some more parameter to delete the history on period (from date/time to date/time) as we don't want to delete all. Also related to only one Host/Service.
Upon delete HOST/SERVICE, all the Notification/Alert getting erased from Nagios?
Is there any document(s) what we can delete (old data) and how can be delete without any risk , just that its old no more in use.
I think on the main menu Cleaning option should be there in Web with Admin privilege, so he can delete old data.
Regards