I install nagios and is happy except for the check_disk on /
I test on the serveur with / and with /dev/sda7 which is the partition with the following command the same for /var/log and /dev/shm which are OK :
[root@kstoocky01 etc]# /usr/local/nagios/libexec/check_disk -u GB -w 60% -c 80% -p /dev/sda7
DISK CRITICAL - free space: / 0 GB (38% inode=77%);| /=0GB;0;0;0;0
but if I do df -h / I get :
[root@kstoocky01 etc]# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda7 969M 569M 350M 62% /
I work with a centos 6.6 and the last release of nagios and nrpe. I try some other parameters of check_disk but with no other result.
Is there something to do on the server or using another plugins ?
Many thank's in advance.