localhost/Root Partition is CRITICAL

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
angus
Posts: 125
Joined: Thu May 28, 2015 8:17 am

localhost/Root Partition is CRITICAL

Post 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.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: localhost/Root Partition is CRITICAL

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
angus
Posts: 125
Joined: Thu May 28, 2015 8:17 am

Re: localhost/Root Partition is CRITICAL

Post by angus »

I purged the backups, thank you. Please close the ticket.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: localhost/Root Partition is CRITICAL

Post by lmiltchev »

I am glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked