PROBLEM Service Alert: localhost/Root Partition is WARNING

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lccouncil
Posts: 25
Joined: Mon Jun 14, 2010 6:05 pm

PROBLEM Service Alert: localhost/Root Partition is WARNING

Post by lccouncil »

Hi All,

We are receiving the following alert:

Code: Select all

Subject: ** PROBLEM Service Alert: localhost/Root Partition is WARNING **
***** Nagios *****
Notification Type: PROBLEM
Service: Root Partition
Host: localhost
Address: 127.0.0.1
State: WARNING
Date/Time: Thu Oct 6 18:25:42 EST 2011
Additional Info:
DISK WARNING - free space: / 1345 MB (20% inode=94%):
We have Nagios Core as well as NagiosXI and Nagvis running on an 8GB Virtual Machine. The logical drive created seems to have 1.4Gb free of 6.7Gb. Would you recommend we look at extending the logical drive out to the 8Gb of available storage?

Thanks in advance and for the great support
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by agriffin »

While your disk space seems to be fine (you still have over 1 GB left), you are running out of inodes. If you run out of inodes you will be unable to write new files to disk even if you have the space. So in this case I would still recommend that you extend the storage on your VM, because it's the only way to increase the number of inodes without recreating the entire filesystem. We have a document detailing how to do it here.
lccouncil
Posts: 25
Joined: Mon Jun 14, 2010 6:05 pm

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by lccouncil »

Hi,

Thanks for the prompt and informative reply.

We have taken a clone of the VM as a backup and have noticed that there are 491MB preconfigured VMWare images at: - http://library.nagios.com/library/produ ... loads/main

We feel it may be more beneficial (and a safer option) to migrate existing Nagios Cactii/NagiosXI/Nagvis configuration to a new and latest install of NagiosXI. Is this possible to do, IE, will it still have the Nagios Core and Nagvis components?

Thank in advance for your support
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by mguthrie »

Did you know you can resize the VMWare partition and then just upgrade to the latest XI version, keeping your existing install intact?

http://assets.nagios.com/downloads/nagi ... p#resizing
lccouncil
Posts: 25
Joined: Mon Jun 14, 2010 6:05 pm

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by lccouncil »

Did you know you can resize the VMWare partition and then just upgrade to the latest XI version, keeping your existing install intact?
Yes, thanks. We have this information but heeded the warning that this process could be destructive to our live system. As we need both an update and more disk space, we felt it may be wise to create a new larger VM and then migrate and cutover to the new in production environment once running well.

So the question for today is, do you recommend we use the prebuilt VM's as mentioned for this, and if so will it contain the same components to what we are running now?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by mguthrie »

So the question for today is, do you recommend we use the prebuilt VM's as mentioned for this, and if so will it contain the same components to what we are running now?
I'm not sure I can answer that without knowing what all has been installed on your system at this point. We did load preload the VM with everything that we could. My suggestion would be to pick one of two:

#1
- Create a backup of your existing XI install according to our backup procedure and copy the backups to a different machine just in case, and then resize the VM.

#2
- Begin building a 2nd VM that you run concurrently with your existing machine until it's production ready. Your XI license covers a production system, a test system, and a distaster recovery (backup) system.

I lean towards the first method as it will probably involve far less man hours, but ultimately you guys know your system needs better than we do, so do what you think will be best for your environment.
lccouncil
Posts: 25
Joined: Mon Jun 14, 2010 6:05 pm

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by lccouncil »

Yes OK that sounds good (#1 that is). To clarify, we have already taken a clone of the existing VM.
Additionally, we may run the /usr/local/nagiosxi/scripts/backup_xi.sh script to backup the NagiosXI build. Rsync used to copy the backup to another server.
Then we shall resize the existing VM.
Is this whole procedure going to require a linux expert to be contracted in or would you say it will be simple to perform?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by mguthrie »

We have detailed documents on how to do both, so you *shouldn't* need to bring in an outside consultant as long as you follow the docs. ; )

Backing up and Restoring
http://assets.nagios.com/downloads/nagi ... kuprestore

Resizing the partition
http://assets.nagios.com/downloads/nagi ... p#resizing
lccouncil
Posts: 25
Joined: Mon Jun 14, 2010 6:05 pm

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by lccouncil »

Regarding the backup doco provided 'Backup and Restoring', it states version 2009R1.2C or later required. How do I find out which version I am running as the 'check for updates' button at http://issnagxi/nagiosxi/admin/ gives:
Available Updates

Update Check Problem: Last update check failed.

Latest Available Version: 2009R1.2
Installed Version: 2009R1.2
Last Update Check: 2011-11-07 12:19:02

Last Updated: 2011-11-07 12:19:07
Thank you for your time
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: PROBLEM Service Alert: localhost/Root Partition is WARNI

Post by mguthrie »

Is your system behind a proxy? Or could there be firewall restrictions that are preventing an update check from calling an external site?

The latest (and last) 2009 release is at 1.4b and can be downloaded at the page below.
http://library.nagios.com/library/produ ... loads/main
Locked