Nagios not considering disk space

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
W.W.
Posts: 17
Joined: Wed Apr 05, 2017 3:18 am

Nagios not considering disk space

Post by W.W. »

Hi,

I have several VM installed on VMware ESXi 6 and I have a nagios server on one of this VM.
My problem is the that when I increase the disk space (20G --> 100G) of the VM where nagios is installed the new disk space is visible in VMware but for nagios there is still 20G in the disk.
I check with that command : df -h

Code: Select all

[root@VM0018 ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
                       19G   18G     0 100% /
tmpfs                 259M     0  259M   0% /dev/shm
/dev/sda1             477M  133M  319M  30% /boot
I don't know if that is VMware issue or nagios issue.

Thank for your help.
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios not considering disk space

Post by mcapra »

It's neither; It's a Linux issue.

You need to expand the logical volume to match the new physical disk size. Plenty of guides out there for doing that, though most of them will need to be modified slightly for your specific setup.

Prior to taking on that endeavor, I would highly recommend taking a VM snapshot.
Former Nagios employee
https://www.mcapra.com/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios not considering disk space

Post by dwhitfield »

If you are using CentOS or RHEL 6/7, you can use our instructions: https://assets.nagios.com/downloads/nag ... M-Disk.pdf
W.W.
Posts: 17
Joined: Wed Apr 05, 2017 3:18 am

Re: Nagios not considering disk space

Post by W.W. »

Thank you dwhitfield & mcapra I'm gonna check it and come back to you
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios not considering disk space

Post by dwhitfield »

Let us know if you run into any issues.
Locked