Page 1 of 3

New NLS node errors out when trying to add to cluster

Posted: Wed Mar 18, 2015 11:51 am
by 2evanowen
I keep getting this error message on this page: (http://newlogserver.com/nagioslogserver ... hp/install)
"Could not establish connection, this could be due to a slow connection, or you may want to re-enter your cluster information." After entering in our existing Hostname and Cluster ID on our new node.
error.png

Why would it be giving me this error message when both firewalls are off?
How do I connect this new server to my current cluster for redundancy?

I can ping our current NLS with the new one from the terminal.
They are both installed on CentOS 7 machines and are both on the same network.
I can ensure that the *Cluster ID and **Hostname are correct.

*
cluster.png
**
oldserver.png

**

Re: New NLS node errors out when trying to add to cluster

Posted: Wed Mar 18, 2015 11:57 am
by jolson
In the 'Hostname' field, try using the IP address of a current node in the NLS cluster. Please let us know the result. Thanks!

Re: New NLS node errors out when trying to add to cluster

Posted: Thu Mar 19, 2015 5:07 pm
by 2evanowen
Same error.
ip.png

Re: New NLS node errors out when trying to add to cluster

Posted: Thu Mar 19, 2015 5:31 pm
by Box293
Can the new CentOS7 server ping 10.30.216.88 ? And vice versa?

Re: New NLS node errors out when trying to add to cluster

Posted: Mon Mar 23, 2015 1:43 pm
by 2evanowen
Yes I can ping each other from both of them using IP and hostname.

Re: New NLS node errors out when trying to add to cluster

Posted: Mon Mar 23, 2015 2:16 pm
by jolson
Please run the following command on your existing cluster, and return the results to us:

Code: Select all

cat /usr/local/nagioslogserver/var/cluster_uuid
I want to verify that the clusterID matches the picture you have displayed.

Are you certain that both firewalld and iptables are off?

Code: Select all

systemctl stop firewalld
systemctl stop iptables

Re: New NLS node errors out when trying to add to cluster

Posted: Mon Mar 23, 2015 3:23 pm
by 2evanowen
Ok...
Both firewalld's are stopped.

I tried to enter in the hostname/ip and cluster id again and it did not work.

[owen@radium ~]$ cat /usr/local/nagioslogserver/var/cluster_uuid
76900ee2-f769-413c-9948-850204a96b32

Re: New NLS node errors out when trying to add to cluster

Posted: Mon Mar 23, 2015 4:40 pm
by tgriep
In the host name field on the server you are trying to add to the cluster, try putting it's own name in it instead of the current server's ip or host name.

Re: New NLS node errors out when trying to add to cluster

Posted: Mon Mar 23, 2015 5:31 pm
by 2evanowen
It gave the same error when typing in the hosts own IP and Hostname
same.png

Re: New NLS node errors out when trying to add to cluster

Posted: Tue Mar 24, 2015 8:45 am
by tgriep
Can you run the following on both servers and post back the results?

Code: Select all

 nmap -p 1-9800 <IP-of-the-other-server>