Page 1 of 1

Disk I/O Monitoring

Posted: Fri May 14, 2021 11:03 am
by vignesha
Hi Team,

We have requirement to monitor disk i/o status, we found some plugin on below URL to full fill the requirement.
URL:
https://exchange.nagios.org/directory/P ... at/details

As per given steps we have followed the same but get stuck in between and we are not getting any output. Please guide us to resolve this issue.

Output:
[root@xxxxxxxxxx libexec]# ./check_nrpe -H xx.xxx.xxx.xxx
I (0.4.3.143 2015-04-29) seem to be doing fine...

[root@xxxxxxxxxx libexec]# ./check_nrpe -H xx.xxx.xxx.xxx -c check_disk_iostat
Unknown command(s): check_disk_iostat|

Re: Disk I/O Monitoring

Posted: Fri May 14, 2021 3:30 pm
by dchurch
Your INI headers are incorrect (See here for the NSClient++ docs):

Replace these lines:

Code: Select all

[External Alias]
check_disk_iostat=check_disk_iostat_vbs

[Wrapped Scripts]
check_disk_iostat_vbs=check_disk_iostat.vbs
with this:

Code: Select all

[/settings/external scripts/alias]
check_disk_iostat=check_disk_iostat_vbs

[/settings/external scripts/wrapped scripts]
check_disk_iostat_vbs=check_disk_iostat.vbs