Page 1 of 1
localhost/Root Partition is CRITICAL
Posted: Tue Jun 25, 2019 11:51 am
by angus
Hello,
I am getting a notice - DISK CRITICAL - free space: / 516 MB (3.10% inode=84%) for my Nagios server. Are there temp logs I can easily remove to free up space?
Thanks.
Re: localhost/Root Partition is CRITICAL
Posted: Tue Jun 25, 2019 12:36 pm
by lmiltchev
You can delete old logs in the "
/var/log" directory and sub-directories. You can also delete whatever you don't need in the
/tmp/" directory. Maybe you have some old backups that you can delete in "
/store/backups/nagiosxi".
You can find the 10 largest files in /var/log by running:
Code: Select all
du -a /var/log | sort -n -r | head -n 10
After you clear some room, add more disk space to your Nagios XI server. Please, review our Nagios XI - Resizing the VM Disk SIze" document here:
http://assets.nagios.com/downloads/nagi ... M_Disk.pdf
Important: Almost always, when you run out of disk space, you would end up with corrupted tables in the database, so you will need to run our database repair script, too.
http://assets.nagios.com/downloads/nagi ... tabase.pdf
Re: localhost/Root Partition is CRITICAL
Posted: Wed Jun 26, 2019 8:17 am
by angus
I purged the backups, thank you. Please close the ticket.
Re: localhost/Root Partition is CRITICAL
Posted: Wed Jun 26, 2019 8:45 am
by lmiltchev
I am glad I could help!