Setting Up NSCA Client with NSClient and Nagios XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Setting Up NSCA Client with NSClient and Nagios XI

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
phil821
Posts: 20
Joined: Mon May 11, 2015 10:11 am

Re: Setting Up NSCA Client with NSClient and Nagios XI

Post by phil821 »

I have done the above and unfortunately this still does not work
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: Setting Up NSCA Client with NSClient and Nagios XI

Post 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?
phil821
Posts: 20
Joined: Mon May 11, 2015 10:11 am

Re: Setting Up NSCA Client with NSClient and Nagios XI

Post 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.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Setting Up NSCA Client with NSClient and Nagios XI

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
phil821
Posts: 20
Joined: Mon May 11, 2015 10:11 am

Re: Setting Up NSCA Client with NSClient and Nagios XI

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Setting Up NSCA Client with NSClient and Nagios XI

Post 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?
Former Nagios Employee.
me.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Setting Up NSCA Client with NSClient and Nagios XI

Post 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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked