How to scipt for - Check_Disk_inodes to monitor inodes

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
izubair
Posts: 2
Joined: Wed Jan 27, 2016 9:27 am

How to scipt for - Check_Disk_inodes to monitor inodes

Post by izubair »

Dear All,

I want to monitor the inodes of a machine and i am in need of scripts and the procedure to link to my Nagios.

Please help me .

Awaiting for the help.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: How to scipt for - Check_Disk_inodes to monitor inodes

Post by rkennedy »

This plugin should work for you -
https://exchange.nagios.org/components/ ... 2&cf_id=24

You will need to install it on the remote system, and decide how you're going to execute it. I would suggest NRPE, what OS is the client machine running?
Former Nagios Employee
izubair
Posts: 2
Joined: Wed Jan 27, 2016 9:27 am

Re: How to scipt for - Check_Disk_inodes to monitor inodes

Post by izubair »

Dear,
Thanks for your reply.

My whole infra based on RHEL 6.

I have installed nagios in RHEL 6(192.168.1.60) machine and i want to monitor the inodes of RHEL 6(192.168.1.10) machine.

I have seen the attached plugin before but i am not getting how to link this script to NRPE and how to run.

If possible can you please give me in detail procedure of NRPE and how to link this script to NRPE and monitor.

Awaiting for your valuable response.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: How to scipt for - Check_Disk_inodes to monitor inodes

Post by hsmith »

Do you know the basics of Nagios configuration?

If not:

https://assets.nagios.com/downloads/nag ... bject.html
https://geekpeek.net/nagios-configuration/

You'll need to make a service, and have NRPE call a script, read this for scripting with NRPE.

https://www.digitalocean.com/community/ ... untu-12-10 <--- this is for Ubuntu, but the NRPE configuration doesn't change. Ignore step 1. Your file paths may be different, but you get the idea.

Let us know what else you need help with.
Former Nagios Employee.
me.
Locked