Page 1 of 1
Instance Status
Posted: Mon Jul 09, 2018 12:21 pm
by mdsmith
Good Day,
I have a two node cluster and one of my instances has stopped checking in.
Elasticsearch and Logstash show stopped, in the GUI, but are running on the Linux box.
Any suggestions?
Thank you!
Re: Instance Status
Posted: Mon Jul 09, 2018 1:10 pm
by cdienger
There could be something blocking port 9300. Are the machines on the same network segment? The current elasticsearch log in /var/log/elasticsearch/ would log problems like this. Are there any errors?
Also, depending on where you're seeing this status, there are different methods NLS uses to display if a service is up or down. Please provide a screenshot showing where you're seeing this message if the above doesn't help.
Re: Instance Status
Posted: Mon Jul 09, 2018 3:39 pm
by mdsmith
They are on the same network segment and I am able to telnet on port 9300.
Attached is the screenshot...
Re: Instance Status
Posted: Mon Jul 09, 2018 4:47 pm
by cdienger
Is there anything in the elasticsarch logs on either machine? Please PM me copies of the logs when you can.
Check that both machines are listed in /usr/local/nagioslogserver/var/cluster_hosts and if their hostnames are listed, make sure that they are resolvable. Restart the elasticsearch service if modifications to this file are made:
service elasticsearch restart
Re: Instance Status
Posted: Mon Jul 09, 2018 5:30 pm
by mdsmith
Not sure why, but had to add the hosts back into the cluster_hosts file .
Replicating as normal, now.
Thank you for all your help.