How to clear out old log info/data 2.0b4

Marc Powell marc at ena.com
Tue Nov 29 18:01:55 CET 2005



> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-
> admin at lists.sourceforge.net] On Behalf Of Danny Russell
> Sent: Monday, November 28, 2005 4:53 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] How to clear out old log info/data 2.0b4
> 
> I am having a few issues with my Nagios 2.04b. I want to clean out all
> comments, downtime, check histories and data. Is there a file I can
just
> zero out or should I uninstall and re-install Nagios?

Stop nagios then delete the following files specified in nagios.cfg --

Log_file
Object_cache_file
Comment_file
Downtime_file
Everything _in_ log_archive_path but not the directory itself.
State_retention_file

You may not have all those files depending on what features you are
using.

--
Marc



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list