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?
inode monitoring
-
jdalrymple
- Skynet Drone
- Posts: 2620
- Joined: Wed Feb 11, 2015 1:56 pm
Re: inode monitoring
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:
Here is the documentation on using custom plugins:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
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;100https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Re: inode monitoring
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.
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
Ranjit W
Re: inode monitoring
As requested, I will now close this out. Feel free to open another topic if you need assistance.
Former Nagios Employee