Page 1 of 1
If I had to clear up some space where's a good place to star
Posted: Mon Nov 11, 2019 10:15 pm
by Maxwellb99
Hi Nagios,
If I had to clear up some space where's a good place to start?
Thanks,
Maxwell Ramirez
Re: If I had to clear up some space where's a good place to
Posted: Tue Nov 12, 2019 3:03 pm
by benjaminsmith
Hi Maxwell,
The first thing I would check is the backups directory and remove any unwanted archives. By default, backups are stored in the following directory.
Also, check the log files. The following command will list the 10 largest files in /var/log.
Code: Select all
du -a /var/log | sort -n -r | head -n 10
More information available at:
Nagios XI - Running Out of Disk Space on Nagios XI
Re: If I had to clear up some space where's a good place to
Posted: Thu Nov 14, 2019 12:45 pm
by Maxwellb99
Hi Nagios,
Thanks for the responses. It was actually the fact that I have almost 40GB of perfdata.
Is there a way to limit the amt of perfdata such that /usr/local/nagios/share/perfdata doesn't grow without bound?
Assuming I need to delete stuff. What happens if I start killing off rrd files? I assume the graphs will stop working. Will anything else castostrophic happen?
Thanks,
Max
Re: If I had to clear up some space where's a good place to
Posted: Thu Nov 14, 2019 3:15 pm
by benjaminsmith
Hi Max,
The RRD files contain a fixed number of data points to maintain the same size. You may need to increase the disk space on this server. However, you shouldn't need more than 100 GB for a large XI system. It's possible;e to change the settings for the RRD files but you will lose your historical data as the RRD's will need to be re-created.
There is also the possibility that your system has a number of inactive RRD"s consuming space. Follow the guide below to delete old RRD's. Please take a
backup before making any changes.
Nagios XI - Mass Delete Old RRD Files