Dear Maintainer,
when speciying inode threshold after -A (--all) they are ignored.
Testing with a near out of inodes disk:
df -i /
Filesystem Inodes IUsed IFree IUse% Mounted on
....root 2510032 2503586 6446 100% /
Passing -A before inode settings, but after block settings leads to OK:
/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -A -W 10% -K 5%
DISK OK - free space: ... / 25612 MB (70% inode=0%);
Moving -A to the end leads to the expected CRITICAL:
/usr/lib/nagios/plugins/check_disk -w 10% -c 5% -W 10% -K 5% -A
DISK CRITICAL - free space: ... / 25612 MB (70% inode=0%);
FWIW there seems to be some checking wrt -A position:
/usr/lib/nagios/plugins/check_disk -A -w 10% -c 5% -W 10% -K 5%
DISK UNKNOWN: Must set a threshold value before using -r/-R
Thanks,
Stefan