Nagios log server removed from cluster

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
ianginn
Posts: 5
Joined: Fri Oct 21, 2016 10:47 am

Nagios log server removed from cluster

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios log server removed from cluster

Post 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
Former Nagios employee
https://www.mcapra.com/
ianginn
Posts: 5
Joined: Fri Oct 21, 2016 10:47 am

Re: Nagios log server removed from cluster

Post 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
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Nagios log server removed from cluster

Post 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.
Former Nagios employee
https://www.mcapra.com/
ianginn
Posts: 5
Joined: Fri Oct 21, 2016 10:47 am

Re: Nagios log server removed from cluster

Post by ianginn »

Thanks for the help. This ticket can be closed.
Locked