Hi Team,
Could you please tell me how to monitor the Disk I/O rates via NRPE in linux?
We are using check_linux_stats.pl plugin to monitor the I/O rates .
./check_linux_stats.pl -I -w 80 -c 95 -p sda1,sda2,sdb
DISK IO CRITICAL |sda2_read=0.00;80;95 sda2_write=0.00;;|sdb_read=0.00;80;95 sdb_write=2.00;;|sda1_read=0.00;80;95 sda1_write=0.00;;
we don't know how to monitor the via NRPE agent.
./check_nrpe -H <hostname> -c check_linux_stats.pl -a -I
CHECK_NRPE: Error - Could not complete SSL handshake.
Could you please tell me the exact argument to monitor the I/O rates via NRPE .
Cheers
Simbu
How to monitor the Disk IO via NRPE in Linux
-
rohithroki
- Posts: 138
- Joined: Mon Nov 30, 2015 6:12 am
Re: How to monitor the Disk IO via NRPE in Linux
This article describes how to define "custom" plugins to be executed via NRPE:
https://support.nagios.com/kb/article/n ... d-612.html
Essentially, you make a command definition in NRPE then invoke that command via check_nrpe. If I had the following definition in my NRPE configuration (not my Nagios Core configuration; just the NRPE configuration):
I could invoke the check_users_plugin.pl script like so via check_nrpe:
https://support.nagios.com/kb/article/n ... d-612.html
Essentially, you make a command definition in NRPE then invoke that command via check_nrpe. If I had the following definition in my NRPE configuration (not my Nagios Core configuration; just the NRPE configuration):
Code: Select all
command[check_users]=/random/path/to/some/plugins/check_users_plugin.pl $ARG1$Code: Select all
/usr/local/nagios/libexec/check_nrpe -H <host> -c check_users -a 'some args here'Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: How to monitor the Disk IO via NRPE in Linux
Please see [user]mcapra'[/user]s post
You will need to install the NRPE agent, and place the plugin on the remote machine. That document outlines the process.
You will need to install the NRPE agent, and place the plugin on the remote machine. That document outlines the process.