[Nagiosplug-devel] check_disk inode bug ?

Matthias Haider mha at cm4all.com
Wed Dec 20 16:17:00 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello ,

i am trying to check the inode usage of a partition (/dev/sda2 on /  
type ext3 (rw,errors=remount-ro)) ,
where df -ih says there are 31% of inodes used, but
check_disk exits with CRITICAL when setting --icritical to 5%:

<snip>
~# /usr/lib/nagios/plugins/check_disk -vvv --icritical 5%  /
For /, used_pct=38 free_pct=62 used_units=3344 free_units=5567  
total_units=9388 used_inodes_pct=31
Freespace_units result=0
Freespace% result=0
Usedspace_units result=0
Usedspace_percent result=0
Usedinodes_percent result=2
DISK CRITICAL - free space: / 5567 MB (62% inode=69%);| / 
=3344MB;-2147483648;-2147483648;0;9388
</snip>

why is Usedinodes_percent result=2 when used_inodes_pct=31 and the  
critical threshosd is 5% ???

is this a bug?

thanks,
Matthias

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFFiVPszSQdV7jRRyURAhMTAKDlANL7UURodYB7kaNOmihHJlaZ6wCfa8nh
aqimoNumJKt4ohvhfBwOiZg=
=NRmE
-----END PGP SIGNATURE-----




More information about the Devel mailing list