Page 1 of 1

NRPE Check_disk

Posted: Thu Aug 13, 2015 4:10 pm
by dragonmaster
Hey all,
I am working on nrpe and getting it going. It says disk critical however df -ah shows something different.
***Here is my df -ah output**


Filesystem Size Used Avail Use% Mounted on
/dev/sda3 194G 51G 133G 28% /
proc 0 0 0 - /proc
sysfs 0 0 0 - /sys
devpts 0 0 0 - /dev/pts
tmpfs 5.9G 0 5.9G 0% /dev/shm
/dev/sda1 142M 93M 42M 70% /boot
/dev/sda2 94G 764M 89G 1% /localdisk
none 0 0 0 - /proc/sys/fs/binfmt_misc
vmware-vmblock 0 0 0 - /var/run/vmblock-fuse
none 0 0 0 - /sys/kernel/config
sunrpc 0 0 0 - /var/lib/nfs/rpc_pipefs

here is my nrpe command I run:

command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w 80 -c 90 --exclude-type=nfs


and here is the result:
DISK CRITICAL - free space: / 135844 MB (72% inode=98%): /dev/shm 5954 MB (100% inode=99%): /boot 41 MB (30% inode=99%): /localdisk 90138 MB (99% inode=99%):


any thoughts?

My mind is wiped at figuring it out.


Thanks!!

Re: NRPE Check_disk

Posted: Thu Aug 13, 2015 4:20 pm
by jolson
The problem here isn't that your disk is filling - it's that your inodes are almost completely depleted. You can check the inodes of your remote system with the following command:

Code: Select all

df -i
Read more about inodes here: http://www.linux.org/threads/intro-to-inodes.4130/

Re: NRPE Check_disk

Posted: Thu Aug 13, 2015 4:24 pm
by dragonmaster
it has been a long day..and I feel like an ass....

thanks!

Re: NRPE Check_disk

Posted: Thu Aug 13, 2015 4:39 pm
by jolson
No worries - glad I could help. :)

Is this thread good to be closed?

Re: NRPE Check_disk

Posted: Thu Aug 13, 2015 4:45 pm
by dragonmaster
good to go!