Root Partition Disk Space Critical

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Nemokapi
Posts: 8
Joined: Tue Oct 09, 2012 11:47 am

Root Partition Disk Space Critical

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

Re: Root Partition Disk Space Critical

Post 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Nemokapi
Posts: 8
Joined: Tue Oct 09, 2012 11:47 am

Re: Root Partition Disk Space Critical

Post 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,
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Root Partition Disk Space Critical

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

Re: Root Partition Disk Space Critical

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked