inode monitoring

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

inode monitoring

Post 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?
Regards,
Ranjit W
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: inode monitoring

Post 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
ranjitw
Posts: 175
Joined: Tue Sep 01, 2015 1:52 am

Re: inode monitoring

Post 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.
Regards,
Ranjit W
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: inode monitoring

Post by rkennedy »

As requested, I will now close this out. Feel free to open another topic if you need assistance.
Former Nagios Employee
Locked