Page 2 of 3
Re: NRPE Errors
Posted: Thu Feb 01, 2018 2:42 pm
by crrussell3
the use SSL = 1 will enable SSL? We do not have anything setup for this, and prefer not to use it at this time.
Re: NRPE Errors
Posted: Thu Feb 01, 2018 2:47 pm
by dwhitfield
crrussell3 wrote:
1. CHECK_NRPE: Error - Could not complete SSL handshake.
If you don't want to use SSL, then add a
-n to your checks on the XI side.
Re: NRPE Errors
Posted: Thu Feb 01, 2018 3:28 pm
by crrussell3
npolovenko wrote:@crrussell3, Sounds good. Let us know if you still experience problems with those two hosts.
In [/settings/NRPE/server] please also add this:
Restart the NSCLient service.
What is the version of check_nrpe plugin on the NagiosXI side? To check you can run this command:
Code: Select all
/usr/local/nagios/libexec/check_nrpe
It'll say a version number at the top of the output.
Version: 2.15
Re: NRPE Errors
Posted: Thu Feb 01, 2018 3:29 pm
by crrussell3
dwhitfield wrote:crrussell3 wrote:
1. CHECK_NRPE: Error - Could not complete SSL handshake.
If you don't want to use SSL, then add a
-n to your checks on the XI side.
I disabled SSL and adding the -n to the checks.
Re: NRPE Errors
Posted: Thu Feb 01, 2018 3:40 pm
by dwhitfield
What's the current output? If you are still having errors, can you PM me your Profile? You can download it by going to Admin > System Config > System Profile and click the ***Download Profile*** button towards the top. If for whatever reason you *cannot* download the profile, please put the output of View System Info (5.3.4+, Show Profile if older) in the thread (that will at least get us some info). This will give us access to many of the logs we would otherwise ask for individually. If security is a concern, you can unzip the profile take out what you like, and then zip it up again. We may end up needing something you remove, but we can ask for that specifically.
You can also generate a profile manually using the script at /usr/local/nagiosxi/html/includes/components/profile/getprofile.sh
That should generate a profile in /usr/local/nagiosxi/var/components/ which you can get off the server with an application such as FileZilla.
After you PM the profile, please update this thread. Updating this thread is the only way for it to show back up on our dashboard.
If you get an error that PROFILE BUILD FAILED, please see
https://support.nagios.com/kb/article.p ... ategory=44
UPDATE: Profile shared with techs
Re: NRPE Errors
Posted: Fri Feb 02, 2018 3:26 pm
by crrussell3
Checking state history, I am now seeing the following:
CHECK_NRPE: Error sending query to host.
Five minutes later, everything is back to normal and check is green.
Sent PM with profile.
Re: NRPE Errors
Posted: Fri Feb 02, 2018 4:07 pm
by npolovenko
@crrussell3, Based on your logs you may have multiple Nagios instances running which may be the cause of the problems in first place. Please run these commands:
Code: Select all
service nagios stop
killall -9 nagios
service nagios start
Re: NRPE Errors
Posted: Mon Feb 05, 2018 11:45 am
by crrussell3
npolovenko wrote:@crrussell3, Based on your logs you may have multiple Nagios instances running which may be the cause of the problems in first place. Please run these commands:
Code: Select all
service nagios stop
killall -9 nagios
service nagios start
Verified and performed commands above.
Re: NRPE Errors
Posted: Mon Feb 05, 2018 11:52 am
by npolovenko
@crrussell3, Did that resolve the issue?
Re: NRPE Errors
Posted: Tue Feb 06, 2018 1:37 am
by crrussell3
npolovenko wrote:@crrussell3, Did that resolve the issue?
I am looking through the state history, and am still seeing the same errors pop up:
CHECK_NRPE: Error sending query to host.
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.