Page 1 of 1

Nagios log server removed from cluster

Posted: Tue Jan 31, 2017 10:54 am
by ianginn
Hello,

I have two instances of the Nagios log server. When I first created the second instance I added it to the cluster. I look now and it looks like its on it's own cluster and there are now two separate clusters. Is there anyway I can re add the second instance to my first cluster?

Re: Nagios log server removed from cluster

Posted: Tue Jan 31, 2017 11:16 am
by mcapra
I would suggest restarting both nodes. If that doesn't work, can you share the output of the following command executed from both of your Nagios Log Server nodes:

Code: Select all

curl -XGET localhost:9200/_nodes/jvm?pretty

Re: Nagios log server removed from cluster

Posted: Tue Jan 31, 2017 12:17 pm
by ianginn
Thanks for the quick reply. Rebooting both fixed the issue. Do you know why this might have happened? I'm a little concerned that it might happen again and I have no idea what prompted this.

Thanks

Re: Nagios log server removed from cluster

Posted: Tue Jan 31, 2017 1:08 pm
by mcapra
The most common cause is intermittent network issues causing the instances to lose contact with each other, creating "split brain" where each instance elects itself as the master. It's hard to say for sure though.

Re: Nagios log server removed from cluster

Posted: Tue Jan 31, 2017 3:40 pm
by ianginn
Thanks for the help. This ticket can be closed.