NRPE Check_disk

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
dragonmaster
Posts: 3
Joined: Thu Aug 13, 2015 4:07 pm

NRPE Check_disk

Post 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!!
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: NRPE Check_disk

Post 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/
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
dragonmaster
Posts: 3
Joined: Thu Aug 13, 2015 4:07 pm

Re: NRPE Check_disk

Post by dragonmaster »

it has been a long day..and I feel like an ass....

thanks!
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: NRPE Check_disk

Post by jolson »

No worries - glad I could help. :)

Is this thread good to be closed?
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
dragonmaster
Posts: 3
Joined: Thu Aug 13, 2015 4:07 pm

Re: NRPE Check_disk

Post by dragonmaster »

good to go!
Locked