Page 1 of 1
windows disk latency check
Posted: Thu Sep 20, 2018 11:31 am
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.
Re: windows disk latency check
Posted: Thu Sep 20, 2018 12:23 pm
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
Re: windows disk latency check
Posted: Fri Sep 21, 2018 1:51 am
by ansaaft
Yes all other services on the windows server are being monitored.
Except this one it throws the SSL error.
Re: windows disk latency check
Posted: Fri Sep 21, 2018 10:43 am
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.
Re: windows disk latency check
Posted: Fri Sep 21, 2018 10:50 am
by scottwilkerson
Can you share your nsclient++ ini file?
thanks
Re: windows disk latency check
Posted: Wed Sep 26, 2018 9:50 am
by ansaaft
Hey guys fixed the issue.
Thank you for your help.
Re: windows disk latency check
Posted: Wed Sep 26, 2018 9:55 am
by scottwilkerson
ansaaft wrote:Hey guys fixed the issue.
Thank you for your help.
great! Locking