CHECK_NRPE: Error - Could not complete SSL handshake
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: CHECK_NRPE: Error - Could not complete SSL handshake
Still the same error.
nsclient.ini file attached.
Kindly look into it.
nsclient.ini file attached.
Kindly look into it.
- Attachments
-
- nsclient.ini
- (1.67 KiB) Downloaded 506 times
Re: CHECK_NRPE: Error - Could not complete SSL handshake
This is not the entire config, is it? You are missing many of the default directives...
You can add the missing default entries (if this is the case here) by running the following command from the CMD prompt on the Windows machine:
You can add the missing default entries (if this is the case here) by running the following command from the CMD prompt on the Windows machine:
Code: Select all
nscp settings --generate --add-defaults --load-all
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: CHECK_NRPE: Error - Could not complete SSL handshake
When i run the above command it gives me the below error:
===============================================================================
C:\Program Files\NSClient++>nscp settings --generate --add-defaults --load-all
E client Failed to initialize settings: Failed to save file 'ini://${shared-
path}/nsclient.ini': I/O error: 5: Access is denied.
c:\source\master\service\settings_client.cpp:132
C:\Program Files\NSClient++/nsclient.log could not be opened, Discarding: error:
Failed to initialize settings: Failed to save file 'ini://${shared-path}/nsclie
nt.ini': I/O error: 5: Access is denied.
===================================================================================
Although i am part of the adminstrators but still i do not have the privileges to modify any file in the C Drive. I can only replace the file.
So if you can help me with the contents of the file, i can create a copy outside the C Drive and replace the actual file in the C Drive.
Do let me know your thoughts.
===============================================================================
C:\Program Files\NSClient++>nscp settings --generate --add-defaults --load-all
E client Failed to initialize settings: Failed to save file 'ini://${shared-
path}/nsclient.ini': I/O error: 5: Access is denied.
c:\source\master\service\settings_client.cpp:132
C:\Program Files\NSClient++/nsclient.log could not be opened, Discarding: error:
Failed to initialize settings: Failed to save file 'ini://${shared-path}/nsclie
nt.ini': I/O error: 5: Access is denied.
===================================================================================
Although i am part of the adminstrators but still i do not have the privileges to modify any file in the C Drive. I can only replace the file.
So if you can help me with the contents of the file, i can create a copy outside the C Drive and replace the actual file in the C Drive.
Do let me know your thoughts.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CHECK_NRPE: Error - Could not complete SSL handshake
you need to open cmd.exe by right clicking "run as administrator"
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: CHECK_NRPE: Error - Could not complete SSL handshake
After adding the missing default entries i am getting following error:
"CHECK_NRPE STATE CRITICAL: Socket timeout after 30 seconds."
Any thoughts.
"CHECK_NRPE STATE CRITICAL: Socket timeout after 30 seconds."
Any thoughts.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CHECK_NRPE: Error - Could not complete SSL handshake
This document contains the basic steps
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: CHECK_NRPE: Error - Could not complete SSL handshake
I followed all the steps mentioned in the Document.
After this i have started getting the following error:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
connect to address xxx.xxx.xxx.xxxx port 5666: Connection refused
connect to host xxx.xxx.xxx.xxx port 5666: Connection refused
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Earlier i was not getting this error.
Can anyone suggest what to do?
Updated nsclient.ini file is attached here with.
After this i have started getting the following error:
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
connect to address xxx.xxx.xxx.xxxx port 5666: Connection refused
connect to host xxx.xxx.xxx.xxx port 5666: Connection refused
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Earlier i was not getting this error.
Can anyone suggest what to do?
Updated nsclient.ini file is attached here with.
- Attachments
-
- nsclient.ini
- (29.82 KiB) Downloaded 487 times
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CHECK_NRPE: Error - Could not complete SSL handshake
Did you restart the service after making the changes?
Is the windows firewall blocking port 5666?
Is the windows firewall blocking port 5666?
-
- Posts: 286
- Joined: Fri Sep 08, 2017 5:53 am
Re: CHECK_NRPE: Error - Could not complete SSL handshake
NS Client++ Service restarted.
there was no changes made to the server that i am trying to monitor.
Earlier i was not getting this error.
Any idea how to track it down?
there was no changes made to the server that i am trying to monitor.
Earlier i was not getting this error.
Any idea how to track it down?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: CHECK_NRPE: Error - Could not complete SSL handshake
Do you see any errors in the nsclient.log?