Nagios Event Log NSCLIENT help
Re: Nagios Event Log NSCLIENT help
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
I has to be a setting in Nagios or nsclient that I have not right I have tried different settings no luck
Thanks
Tom
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios Event Log NSCLIENT help
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.me@work55 wrote: I have tried different settings no luck
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
I will try on 4.3.77
NCPA never used before would need some instructions on that setup or examples of that
NCPA never used before would need some instructions on that setup or examples of that
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios Event Log NSCLIENT help
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.
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
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
They are all getting this
CHECK_NRPE: Error - Could not complete SSL handshake
NSCLIENT.INI not configured correctly my thoughts
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios Event Log NSCLIENT help
.4.3.77 is a nightly build, per https://www.nsclient.org/download/0.4.3/ but probably you ran into the following
That said, please post your new nsclient.ini file.
from https://docs.nsclient.org/0.4.3/whatsnew/0.4.3.htmlIn 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.
That said, please post your new nsclient.ini file.
Re: Nagios Event Log NSCLIENT help
I am attaching the nsclient file that was created during the install
Also the one from 4.1.3
Also the one from 4.1.3
- Attachments
-
- nsclient.ini
- the 4.1.3 nsclient file
- (14.38 KiB) Downloaded 183 times
-
- nsclient4.3.77.ini
- New NSLCINET FILE
- (7.37 KiB) Downloaded 203 times
Re: Nagios Event Log NSCLIENT help
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?
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.
Code: Select all
allowed hosts = X.X.X.X
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
Re: Nagios Event Log NSCLIENT help
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
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
- Attachments
-
- nsclient.log
- NSCLIENT LOG
- (31.86 KiB) Downloaded 198 times
Re: Nagios Event Log NSCLIENT help
What version of check_nrpe are you running:
Code: Select all
/usr/local/nagios/libexec/check_nrpe -V