CHECK_NRPE: Error
-
- Posts: 40
- Joined: Tue Oct 23, 2018 1:22 pm
Re: CHECK_NRPE: Error
@npolovenko same error.
- Attachments
-
- nsclient.log
- (607.79 KiB) Downloaded 307 times
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: CHECK_NRPE: Error
Hello @BrunoLosse1
We're really not quite sure why your still having this error condition. We've discussed the issue here and believe we may have better results using an earlier version of NSClient. Let's try the following:
1. Backup your current configuration file (nsclient.ini).
2. Uninstall NSClient++
3. Remove any remaining directories in C:\Program Files for NSClient++
4. Install NSClient 0.4.4 along with your backup configuration file.
https://www.nsclient.org/download/0.4.4
5. Test again
If you're still getting the same error, then please post the current configuration file again for us to review again.
We're really not quite sure why your still having this error condition. We've discussed the issue here and believe we may have better results using an earlier version of NSClient. Let's try the following:
1. Backup your current configuration file (nsclient.ini).
2. Uninstall NSClient++
3. Remove any remaining directories in C:\Program Files for NSClient++
4. Install NSClient 0.4.4 along with your backup configuration file.
https://www.nsclient.org/download/0.4.4
5. Test again
If you're still getting the same error, then please post the current configuration file again for us to review again.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 40
- Joined: Tue Oct 23, 2018 1:22 pm
Re: CHECK_NRPE: Error
Hello @benjaminsmith,
Same error.
Reinstalled without changing anything in the .ini, what should I change?
Same error.
Reinstalled without changing anything in the .ini, what should I change?
- Attachments
-
- nsclient.ini
- (981 Bytes) Downloaded 287 times
-
- nsclient.log
- (1.7 KiB) Downloaded 299 times
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: CHECK_NRPE: Error
Hi @BrunoLosse1
It looks like you're still getting the ssl handshake error ( 2018-11-19 12:02:23: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: sslv3 alert handshake failure: 1040). Make sure to change the ssl options to:
and restart. If this doesn't work, please use the attached ini file. This is the minimum configuration file for nsclient that we have used with other customers.
It looks like you're still getting the ssl handshake error ( 2018-11-19 12:02:23: error:c:\source\nscp\include\socket/connection.hpp:243: Failed to establish secure connection: sslv3 alert handshake failure: 1040). Make sure to change the ssl options to:
Code: Select all
ssl options =
- Attachments
-
- nsclient.ini
- (903 Bytes) Downloaded 400 times
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 40
- Joined: Tue Oct 23, 2018 1:22 pm
Re: CHECK_NRPE: Error
I'm getting connection refused with the ini you provided.
- Attachments
-
- nsclient.log
- (15.35 KiB) Downloaded 335 times
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: CHECK_NRPE: Error
Hello,
We've tested this here with NSClient 0.4.4 and the last nsclient.ini file, and it's working. What version of check_nrpe do you have installed?
nsclient.ini
We've tested this here with NSClient 0.4.4 and the last nsclient.ini file, and it's working. What version of check_nrpe do you have installed?
Code: Select all
cd /usr/local/nagios/libexec
./check_nrpe -V
Code: Select all
; Undocumented section
[/settings/default]
; Undocumented key
password = TIAtende07
; Undocumented key
allowed hosts = 10.63.248.131
; Undocumented section
[/settings/NRPE/server]
allow arguments = 1
allow nasty characters = 1
use SSL = 1
insecure = 1
; Undocumented section
[/modules]
; Undocumented key
CheckExternalScripts = 1
; Undocumented key
CheckHelpers = 1
; Undocumented key
CheckEventLog = 1
; Undocumented key
CheckNSCP = 1
; Undocumented key
CheckDisk = 1
; Undocumented key
CheckSystem = 1
; Undocumented key
NSClientServer = 1
; Undocumented key
NRPEServer = 1
[/settings/external scripts]
allow arguments=1
allow nasty characters=true
[/settings/external scripts/scripts]
[/settings/log/file]
max size = -1
[/settings/log]
level = debug
file name = ${exe-path}/nsclient.log
date format = %Y-%m-%d %H:%M:%S
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 40
- Joined: Tue Oct 23, 2018 1:22 pm
Re: CHECK_NRPE: Error
@benjaminsmith,
administrator@GEUL3BNAGPAS01:/usr/local/nagios/libexec$ ./check_nrpe -V
NRPE Plugin for Nagios
Version: 3.2.1
administrator@GEUL3BNAGPAS01:/usr/local/nagios/libexec$ ./check_nrpe -V
NRPE Plugin for Nagios
Version: 3.2.1
Re: CHECK_NRPE: Error
Lets start over with the NSClient Install again as I feel there may be a bad SSL key file.
Uninstall the NSClient++ agent on the windows server and delete the following folder.
Download and install the latest stable 0.4.4.xx version of the NSClient++ service.
Replace the C:\Program Files\NSClient++\nsclient.ini file with the one attached to the post.
Edit the ini file and update the following line with the IP address of the Nagios server and restart NSClient++
Let us know if this works out not.
Uninstall the NSClient++ agent on the windows server and delete the following folder.
Code: Select all
C:\Program Files\NSClient++
Replace the C:\Program Files\NSClient++\nsclient.ini file with the one attached to the post.
Edit the ini file and update the following line with the IP address of the Nagios server and restart NSClient++
Code: Select all
allowed hosts = xxx.xxx.xxx.xxx
- Attachments
-
- nsclient.ini
- (1.9 KiB) Downloaded 332 times
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
- Posts: 40
- Joined: Tue Oct 23, 2018 1:22 pm
Re: CHECK_NRPE: Error
@tgriep, sorry for taking that long to respond.
No, it did not work.
No, it did not work.
- Attachments
-
- nsclient.log
- (471.63 KiB) Downloaded 315 times
Re: CHECK_NRPE: Error
Can you login to the nagios server as root, run the following command and post the output here?
Code: Select all
ldd /usr/local/nagios/libexec/check_nrpe
Be sure to check out our Knowledgebase for helpful articles and solutions!