NRPE Errors
-
crrussell3
- Posts: 31
- Joined: Tue Oct 10, 2017 9:09 am
Re: NRPE Errors
the use SSL = 1 will enable SSL? We do not have anything setup for this, and prefer not to use it at this time.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: NRPE Errors
If you don't want to use SSL, then add a -n to your checks on the XI side.crrussell3 wrote: 1. CHECK_NRPE: Error - Could not complete SSL handshake.
-
crrussell3
- Posts: 31
- Joined: Tue Oct 10, 2017 9:09 am
Re: NRPE Errors
Version: 2.15npolovenko 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.Code: Select all
use SSL = 1
What is the version of check_nrpe plugin on the NagiosXI side? To check you can run this command:It'll say a version number at the top of the output.Code: Select all
/usr/local/nagios/libexec/check_nrpe
-
crrussell3
- Posts: 31
- Joined: Tue Oct 10, 2017 9:09 am
Re: NRPE Errors
I disabled SSL and adding the -n to the checks.dwhitfield wrote:If you don't want to use SSL, then add a -n to your checks on the XI side.crrussell3 wrote: 1. CHECK_NRPE: Error - Could not complete SSL handshake.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: NRPE Errors
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
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
-
crrussell3
- Posts: 31
- Joined: Tue Oct 10, 2017 9:09 am
Re: NRPE Errors
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.
CHECK_NRPE: Error sending query to host.
Five minutes later, everything is back to normal and check is green.
Sent PM with profile.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: NRPE Errors
@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 startAs of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
crrussell3
- Posts: 31
- Joined: Tue Oct 10, 2017 9:09 am
Re: NRPE Errors
Verified and performed commands above.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
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: NRPE Errors
@crrussell3, Did that resolve the issue?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
crrussell3
- Posts: 31
- Joined: Tue Oct 10, 2017 9:09 am
Re: NRPE Errors
I am looking through the state history, and am still seeing the same errors pop up:npolovenko wrote:@crrussell3, Did that resolve the issue?
CHECK_NRPE: Error sending query to host.
CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages.