Page 1 of 1

Root Partition Disk Space Critical

Posted: Tue Oct 09, 2012 12:00 pm
by Nemokapi
Hello,

I have the latest NagiosXI VM installed. I am getting notification that my root partition is critical. as of today i only have 380MB space left on it. I desperately need of help. Why is my root partition all of the sudden getting full?

Thank you,

Re: Root Partition Disk Space Critical

Posted: Tue Oct 09, 2012 12:55 pm
by lmiltchev
You can clear some old log files to make some room, and resize your VM to add disk space. Please, follow the steps outlined in our documentation for resizing the VM disk size:

http://assets.nagios.com/downloads/nagi ... M_Disk.pdf

Don't forget to do a proper backup of your Nagios server:

http://assets.nagios.com/downloads/nagi ... ing_XI.pdf

Re: Root Partition Disk Space Critical

Posted: Tue Oct 09, 2012 1:14 pm
by Nemokapi
This outline does not explain on how to delete old log files. please let me know on how to do it.
Thank you,

Re: Root Partition Disk Space Critical

Posted: Tue Oct 09, 2012 1:22 pm
by slansing
One way to do this is to delete:

Code: Select all

vmware.log
This file will automatically be created the next time you restart your VM.

Re: Root Partition Disk Space Critical

Posted: Tue Oct 09, 2012 2:52 pm
by lmiltchev
See what you have in /var/log:

Code: Select all

ls -l /var/log
You may delete some of the older logs - the ones with a number at the end, i.e. "messages.1", "messages.2", etc. You have to decide you you need to keep, and what you can delete.

You can also check the httpd logs:

Code: Select all

ls -l /var/log/httpd
You can see what is in your /tmp directory, etc.