New NLS node errors out when trying to add to cluster

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
2evanowen
Posts: 35
Joined: Fri Jan 16, 2015 1:24 pm

New NLS node errors out when trying to add to cluster

Post 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

**
You do not have the required permissions to view the files attached to this post.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

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

Post 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!
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
2evanowen
Posts: 35
Joined: Fri Jan 16, 2015 1:24 pm

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

Post by 2evanowen »

Same error.
ip.png
You do not have the required permissions to view the files attached to this post.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

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

Post by Box293 »

Can the new CentOS7 server ping 10.30.216.88 ? And vice versa?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
2evanowen
Posts: 35
Joined: Fri Jan 16, 2015 1:24 pm

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

Post by 2evanowen »

Yes I can ping each other from both of them using IP and hostname.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

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

Post 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
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
2evanowen
Posts: 35
Joined: Fri Jan 16, 2015 1:24 pm

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

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

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

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
2evanowen
Posts: 35
Joined: Fri Jan 16, 2015 1:24 pm

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

Post by 2evanowen »

It gave the same error when typing in the hosts own IP and Hostname
same.png
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

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

Post 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>
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked