Page 2 of 2

Re: Setting Up NSCA Client with NSClient and Nagios XI

Posted: Thu Aug 13, 2015 2:32 pm
by tgriep
Remove this line from the nsclient.ini file and restart the NSClient++ service.

Code: Select all

use ssl = false
Also, make sure the passwords match on both systems.

Re: Setting Up NSCA Client with NSClient and Nagios XI

Posted: Thu Aug 20, 2015 12:40 pm
by phil821
I have done the above and unfortunately this still does not work

Re: Setting Up NSCA Client with NSClient and Nagios XI

Posted: Thu Aug 20, 2015 3:01 pm
by jdalrymple

Code: Select all

grep nsca /var/log/messages
also what happens when you (from the windows host)

Code: Select all

telnet 192.168.253.107 5667
connection fail or blank screen?

Re: Setting Up NSCA Client with NSClient and Nagios XI

Posted: Tue Aug 25, 2015 10:55 am
by phil821
Unfortunately, grep nsca /var/log/messages/ returns nothing.

Telnet does not work server to host, when I do host to server I get garbled characters.

Re: Setting Up NSCA Client with NSClient and Nagios XI

Posted: Tue Aug 25, 2015 1:46 pm
by tgriep
The Telnet from host to server garbled characters is a good thing. We know that the server is listening on that port.
Can you look at the nsclient.log file on the windows host and post the errors here?
Can you upload the latest nsclient.ini file to this post?

Re: Setting Up NSCA Client with NSClient and Nagios XI

Posted: Wed Aug 26, 2015 9:49 am
by phil821
Absolutely, thanks again for your time.

Code: Select all

2015-08-25 11:49:50: error:D:\source\nscp\modules\Scheduler\Scheduler.cpp:122: Failed to submit check_work: Error: Failed to connect to: 192.168.253.107:5667 :A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Re: Setting Up NSCA Client with NSClient and Nagios XI

Posted: Wed Aug 26, 2015 10:19 am
by hsmith
phil821 wrote:Absolutely, thanks again for your time.

Code: Select all

2015-08-25 11:49:50: error:D:\source\nscp\modules\Scheduler\Scheduler.cpp:122: Failed to submit check_work: Error: Failed to connect to: 192.168.253.107:5667 :A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Under your allowed hosts, is the IP address AND the hostname there? What happens if you try to use exclusively IP addresses instead of the hostnames?

Re: Setting Up NSCA Client with NSClient and Nagios XI

Posted: Wed Aug 26, 2015 4:59 pm
by Box293
This guide I wrote has the absolute minimum NSClient++ configs required to make it work, it might help troubleshoot.

http://sites.box293.com/nagios/guides/n ... ient-0-4-x