Page 1 of 1

inode monitoring

Posted: Wed Oct 14, 2015 2:11 am
by ranjitw
Hi ,

We want to monitor the inode utilization. We need a warning to be generated when its 70-90% and critical alert of be generated when its 90-100% .

Can anyone please guide me on how to achieve this in Nagios XI?

Re: inode monitoring

Posted: Wed Oct 14, 2015 9:31 am
by jdalrymple
I don't believe any of the included plugins can monitor inodes. Try to search for one on the Exchange. Here is the first one google finds:

https://exchange.nagios.org/directory/P ... es/details

Which works fine for me:

Code: Select all

[jdalrymple@localhost libexec]$ ./check_disk_inodes -w 5% -c 10% -p /
OK; /: total inodes 18358272, used 81464 (0.4%), free 18276808 (99.6%) | 'used inodes'=81464;1835827;1835827;0;18358272 'used inodes (pct.)'=0.4%;10%;10%;0;100
Here is the documentation on using custom plugins:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: inode monitoring

Posted: Thu Oct 15, 2015 2:47 am
by ranjitw
Hi jdalrymple,

I have tried below option and it worked .

check_nrpe!check_disk!-a '-W 20% -K 10% -p /'

-w, --warning=PERCENT%
Exit with WARNING status if less than PERCENT of disk space is free
-c, --critical=PERCENT%
Exit with CRITCAL status if less than PERCENT of disk space is free
-W, --iwarning=PERCENT%
Exit with WARNING status if less than PERCENT of inode space is free
-K, --icritical=PERCENT%
Exit with CRITICAL status if less than PERCENT of inode space is free

Please close the post.

Re: inode monitoring

Posted: Thu Oct 15, 2015 9:21 am
by rkennedy
As requested, I will now close this out. Feel free to open another topic if you need assistance.