windows disk latency check

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ansaaft
Posts: 19
Joined: Mon Aug 20, 2018 5:08 am

windows disk latency check

Post by ansaaft »

Hey Guys,

I am trying to monitor disk latency for my windows server.
Followed this link https://outsideit.net/monitoring-windows-disk-load/

But when I test it from my Nagios server I get the below error. Could you guys please suggest what I am doing wrong?

# /usr/local/nagios/libexec/check_nrpe -H 10.10.14.10 -p 5666 -t 60 -c check_ms_win_disk_load -a '-dl C -ms 5 -rqw 20 -rqc 50'
CHECK_NRPE: Error - Could not complete SSL handshake.

My windows server has both nsclient++ and nrpe installed.
Port 5666 is open and I can telnet to windows on 5666

Any suggestion/help is appreciated.

Thanks.
jforcier

Re: windows disk latency check

Post by jforcier »

Hello ansaaft , have you defined you XI server's IP address to be allowed to communicate with NRPE yet?

Follow the instructions in this article if you haven't done so already, specifically about enabling the NRPE server on page 5
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
ansaaft
Posts: 19
Joined: Mon Aug 20, 2018 5:08 am

Re: windows disk latency check

Post by ansaaft »

Yes all other services on the windows server are being monitored.
Except this one it throws the SSL error.
skang
Support Tech
Posts: 10
Joined: Thu Jul 19, 2018 10:17 am

Re: windows disk latency check

Post by skang »

Hi ansaaft,

I would like to reiterate that for SSL handshake to complete successfully, both the XI server and the windows client need to have each other in the allowed hosts for NRPE.

This means that on the XI server, you will need to make sure that its NRPE configuration has the windows server as one of the allowed hosts.
Please see the knowledge base article below for details on how to do so.
https://support.nagios.com/kb/article/n ... e-615.html

Also, on the nsclient.ini file on your windows server, please make sure that you have the the address of the XI server in allowed hosts.

In addition to that, in the same file, make sure that under [/modules], you have
CheckDisk = 1
NRPEClient = 1
NSClientServer = 1

For more information on NSClient modules, please check the documentation link below.
https://docs.nsclient.org/reference/ind ... ws-modules

I hope this resolves your issue and let us know if you have any questions.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: windows disk latency check

Post by scottwilkerson »

Can you share your nsclient++ ini file?

thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
ansaaft
Posts: 19
Joined: Mon Aug 20, 2018 5:08 am

Re: windows disk latency check

Post by ansaaft »

Hey guys fixed the issue.
Thank you for your help.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: windows disk latency check

Post by scottwilkerson »

ansaaft wrote:Hey guys fixed the issue.
Thank you for your help.
great! Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked