NRPE Check_disk
Posted: Thu Aug 13, 2015 4:10 pm
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!!
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!!