Page 1 of 1

check_disk shows wrong inode utilization

Posted: Fri Jun 07, 2019 10:58 am
by lrnnetops
Hi Team,

We are getting wrong inode utilization for check_disk plugin.

NRPE Version: 2.15
check_disk v2.2.1 (nagios-plugins 2.2.1)

Please find below check / execution output for check-disk.

1 - Check configuration on client machine.

command[check_disk]=/usr/lib/nagios/plugins/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$

2 - Check / Command execution from Nagios XI UI.
nagios-xi-UI-command-output.jpg
3 - Check status.
inode-stat.jpg
4 - Disk inode status.
disk-inode-stat.jpg
As we can see in check status its showing 100% inode used. where as on server we check it just 1% used. We are using latest stable version of nrpe plugin.

Please check & help us with solution.

Re: check_disk shows wrong inode utilization

Posted: Fri Jun 07, 2019 11:28 am
by lmiltchev
As we can see in check status its showing 100% inode used. where as on server we check it just 1% used.
Actually, this is not correct. The check shows the free percentage, so it shows that you have 100% free. I am pretty sure that there is a little discrepancy (not showing 99% free), because of the rounding issues. In any case, the number is really close to the actual free inodes percent.