Can't add hosts after converting to cluster

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
mike4vr
Posts: 89
Joined: Wed Feb 04, 2015 2:23 pm

Can't add hosts after converting to cluster

Post by mike4vr »

While we were running a single log server, we could add hosts with ease using the shell script. After we converted to a cluster, none of the hosts we want to add show up. The "Home" page shows the same amount of hosts no matter how many more we add. We modified the global configuration to use the cluster hostname, set up a DNS record, and placed them behind a load balancer. All functions appear to be working except for adding hosts. Any ideas what I can check for?

One thing to note. When it was working with a single server, we would run the setup script as such

Code: Select all

bash setup-linux.sh -s loghost1.mydomain.xyz -p 5544
Now we're running:

Code: Select all

bash setup-linux.sh -s cluster.mydomain.xyz -p 5544
cluster.mydomain.xyz obviously points to a single IP on the load balancer that distributes traffic to loghost1.mydomain.xyz and loghost2.mydomain.xyz
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Can't add hosts after converting to cluster

Post by jolson »

In your 'hosts' list, is the load balancer showing up? Is it possible that the load balancer is re-writing source IP addresses? If so, is there a transparent mode that you can use?
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.
User avatar
mike4vr
Posts: 89
Joined: Wed Feb 04, 2015 2:23 pm

Re: Can't add hosts after converting to cluster

Post by mike4vr »

jolson wrote:In your 'hosts' list, is the load balancer showing up? Is it possible that the load balancer is re-writing source IP addresses? If so, is there a transparent mode that you can use?
Good call. Just got rid of the load balancer and switched it to round robin via DNS and we've got it working. Thank you.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: Can't add hosts after converting to cluster

Post by jolson »

I am glad to hear that - I'll lock this thread. If you have any further questions please feel free to open a new thread. 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.
Locked