Cleaning up Nagios Server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Siddharth Hegde
Posts: 70
Joined: Mon Aug 07, 2017 4:19 am

Cleaning up Nagios Server

Post by Siddharth Hegde »

Hi,

I have a server only for Nagios, which is being used for a couple of years. I want to know how to clean it up, i.e removing old files, etc. Can this be done without stopping the Nagios monitoring?

Thanks,
Siddarth Hegde
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cleaning up Nagios Server

Post by scottwilkerson »

I'm not really clear on what types of old files you are proposing you remove, could you elaborate?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Siddharth Hegde
Posts: 70
Joined: Mon Aug 07, 2017 4:19 am

Re: Cleaning up Nagios Server

Post by Siddharth Hegde »

I'm talking about datas like logs, etc more than a year old which might have been accumulated. Is there a way to find a them and remove them safely?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cleaning up Nagios Server

Post by scottwilkerson »

The only old log files which contain historical data would be in the nagios/var/archives folder usually found at /usr/local/nagios/var/archives on a source install
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Siddharth Hegde
Posts: 70
Joined: Mon Aug 07, 2017 4:19 am

Re: Cleaning up Nagios Server

Post by Siddharth Hegde »

Thanks
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Cleaning up Nagios Server

Post by scottwilkerson »

Siddharth Hegde wrote:Thanks
Let us know if we can be of further assistance
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked