check_disk shows wrong inode utilization

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lrnnetops
Posts: 102
Joined: Thu May 18, 2017 5:31 am

check_disk shows wrong inode utilization

Post 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.
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: check_disk shows wrong inode utilization

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked