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.
windows disk latency check
-
jforcier
Re: windows disk latency check
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
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
Yes all other services on the windows server are being monitored.
Except this one it throws the SSL error.
Except this one it throws the SSL error.
Re: windows disk latency check
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.
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
Can you share your nsclient++ ini file?
thanks
thanks
Re: windows disk latency check
Hey guys fixed the issue.
Thank you for your help.
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
great! Lockingansaaft wrote:Hey guys fixed the issue.
Thank you for your help.