Page 3 of 5
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 12:32 pm
by me@work55
Can anyone on here figure this out please
I has to be a setting in Nagios or nsclient that I have not right I have tried different settings no luck
Thanks
Tom
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 1:19 pm
by dwhitfield
me@work55 wrote: I have tried different settings no luck
As we suggested in the last tech post, did you try a different version of NSClient? .4.1 is old. .4.3 is the latest version in the .4 series, but they have moved on to .5.
If you continue to have trouble with NSClient, you might try NCPA, which we did actually write:
https://exchange.nagios.org//directory/ ... PA/details
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 1:43 pm
by me@work55
I will try on 4.3.77
NCPA never used before would need some instructions on that setup or examples of that
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 1:47 pm
by dwhitfield
Let us know how .4.3 goes.
As far as NCPA is concerned,
https://assets.nagios.com/downloads/ncp ... g_NCPA.pdf should get you started, but if you have trouble with NCPA, you should open a new thread.
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 2:27 pm
by me@work55
I put 4.3.77 on and now all the NRPE services I had working are not
They are all getting this
CHECK_NRPE: Error - Could not complete SSL handshake
NSCLIENT.INI not configured correctly my thoughts
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 2:41 pm
by dwhitfield
.4.3.77 is a nightly build, per
https://www.nsclient.org/download/0.4.3/ but probably you ran into the following
In 0.4.3 we will no longer support the rather insecure regular NRPE!
You can still enable support but you have to do so (in the installer or using the command line mode).
So keep a heads up when you run the installer so you wont miss it.
from
https://docs.nsclient.org/0.4.3/whatsnew/0.4.3.html
That said, please post your new nsclient.ini file.
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 2:57 pm
by me@work55
I am attaching the nsclient file that was created during the install
Also the one from 4.1.3
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 5:56 pm
by ssax
Please try changing the
allowed hosts directive to an IP address instead of a DNS address:
Then restart the NSClient++ service and see if that works.
What does your nsclient.log show?
Are you just running this for testing?
Code: Select all
/usr/local/nagios/libexec/check_nrpe -H X.X.X.X
I imported your config to mine, changed the DNS to my IP address and it worked properly so there may be something else going on.
Re: Nagios Event Log NSCLIENT help
Posted: Wed Feb 01, 2017 6:23 pm
by me@work55
changed to ip address no change
from command
[root@anakin ~]# /usr/local/nagios/libexec/check_nrpe -H 132.238.5.25
CHECK_NRPE: Error - Could not complete SSL handshake.
[root@anakin ~]#
same error
Re: Nagios Event Log NSCLIENT help
Posted: Thu Feb 02, 2017 2:54 pm
by ssax
What version of check_nrpe are you running:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -V