If I had to clear up some space where's a good place to star

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Maxwellb99
Posts: 97
Joined: Tue Jan 26, 2016 5:29 pm

If I had to clear up some space where's a good place to star

Post by Maxwellb99 »

Hi Nagios,

If I had to clear up some space where's a good place to start?

Thanks,
Maxwell Ramirez
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: If I had to clear up some space where's a good place to

Post 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.

Code: Select all

/store/backups/nagiosxi
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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Maxwellb99
Posts: 97
Joined: Tue Jan 26, 2016 5:29 pm

Re: If I had to clear up some space where's a good place to

Post 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
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: If I had to clear up some space where's a good place to

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked