Hi
Overtime the archived logs have increased to fill large amounts of disk space.
Is there any method to remove logs older than a set time / if I remove logs from the archive is there any negative impact to the nagios functionality?
thanks
Mitchell
Clearing archived logs?
Re: Clearing archived logs?
There shouldn't be any negative effects to removing the log files, other than losing the information that was contained in them. To automate the process you should look into logrotate. Creating a config will allow the system to manage deletion of the logs for you. Just take a look at its man page for information (man logrotate).