NRDP / NSCA not working

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
jcrespo
Posts: 6
Joined: Wed May 09, 2018 6:11 am

NRDP / NSCA not working

Post by jcrespo »

Hi all,

We've already set up all the config to let it work, but still no retrieving data from our deployed Nagios.
There's any restriction about versions to work together?

Thanks!
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NRDP / NSCA not working

Post by cdienger »

Anything that isn't ancient should work. What versions of everything are you running?

Also, is this related to https://support.nagios.com/forum/viewto ... 55#p265755 ? Can we close one thread to avoid duplication?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jcrespo
Posts: 6
Joined: Wed May 09, 2018 6:11 am

Re: NRDP / NSCA not working

Post by jcrespo »

Yes please close the other topic, I duplicated by mistake.
I'll check the versions and post it here ASAP.
Thanks!
jcrespo
Posts: 6
Joined: Wed May 09, 2018 6:11 am

Re: NRDP / NSCA not working

Post by jcrespo »

Nagios deployed version 5.4.1
Nagios Central 5.5.5

I've already followed the tutorial and still not retrieving data.
Server restarted several times with no luck.
jcrespo
Posts: 6
Joined: Wed May 09, 2018 6:11 am

Re: NRDP / NSCA not working

Post by jcrespo »

I've already updated the deployed Nagios to the latest version 5.5.5 and still not working.

Thanks
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NRDP / NSCA not working

Post by cdienger »

Both machines are now at 5.5.5, correct? Make sure that the remote machine can communicate with the central machine by running the following on the remote machine's command line:

curl https://central_xi_ip/nrdp -kv

Have you configured any hosts besides localhost so far? The Global outbound options(Admin > Check Transfers > Outbound Transfers) on the remote server will filter these out.

Also, you would be seeing new hosts and services come in under Admin > Monitoring Config > Unconfigured Objects) and in the /usr/local/nagios/var/nagios.log on the central server you would see entries like "Error: Got host checkresult for 'test', but no such host can be found". Make sure you're checking both of these locations.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: NRDP / NSCA not working

Post by ssax »

In addition to what cdienger posted:

You're not seeing them in Admin > Unconfigured Objects?

Please post your /etc/xinetd.d/nsca file.

Did you restart xinetd after making the changes (if you updated it)?

Code: Select all

service xinetd restart
What is the output of these commands (some of the commands may fail, send me the working ones):

Code: Select all

ss -nlp | grep 5667
netstat -ano | grep 5667
iptables -L
firewall-cmd --list-ports
sestatus
Can you go to http://YOURXISERVER/nrdp/ or https://YOURXISERVER/nrdp/ just fine through a web browser?
jcrespo
Posts: 6
Joined: Wed May 09, 2018 6:11 am

Re: NRDP / NSCA not working

Post by jcrespo »

Thanks for your replies!

I've already made it work, and now I'm feeling so dumb :lol:
On remote machines, all the hosts were correctly set up.
I also tried with the direct IP just to check if it was a DNS problem - Not solved
Then Googleing a little I've found the same issue with another user, finish the URL with a simple / :oops:

Thanks for your time and patience and hope this helps another user.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: NRDP / NSCA not working

Post by cdienger »

Thanks for the update :) Glad to hear you found the problem!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked