Page 2 of 2

Re: Instance Status

Posted: Wed Feb 27, 2019 9:36 pm
by floki
Hello, so this is instance 1:

Code: Select all

[root@Log_Server1 ~]# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
  "cluster_name" : "8e37c562-7430-4a09-95ec-24e7144f3d25",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 2,
  "number_of_data_nodes" : 2,
  "active_primary_shards" : 27,
  "active_shards" : 54,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0
}
[root@Log_Server1 ~]#
This is instance_2

Code: Select all

[root@Log_Server2 ~]# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
  "cluster_name" : "8e37c562-7430-4a09-95ec-24e7144f3d25",
  "status" : "green",
  "timed_out" : false,
  "number_of_nodes" : 2,
  "number_of_data_nodes" : 2,
  "active_primary_shards" : 27,
  "active_shards" : 54,
  "relocating_shards" : 0,
  "initializing_shards" : 0,
  "unassigned_shards" : 0,
  "delayed_unassigned_shards" : 0,
  "number_of_pending_tasks" : 0,
  "number_of_in_flight_fetch" : 0
}
[root@Log_Server2 ~]# 
Seems pretty normal

Re: Instance Status

Posted: Thu Feb 28, 2019 10:55 am
by scottwilkerson
Where are you seeing the red instance status?

Re: Instance Status

Posted: Sat Mar 02, 2019 7:46 am
by floki
It's in the Web GUI of nagios log server. The Server_2 member shows red with exclamation under its elasticsearch & logstash instance status while Server_1 show green with checks on both elasticsearch & logstash. I'm just comparing it to the documentation on adding another cluster instance. It shows that both instance status has green checks on both Elasticsearch & Logstash.

Re: Instance Status

Posted: Mon Mar 04, 2019 8:08 am
by scottwilkerson
Are you seeing this on the Admin -> System status page?

Re: Instance Status

Posted: Wed Mar 13, 2019 11:04 pm
by floki
Hi sorry for too late reply. Yes I can, the page only show the status of the Master Instance. There's no option to see the status of the other Instance in the cluster.
Thanks

Re: Instance Status

Posted: Thu Mar 14, 2019 7:04 am
by scottwilkerson
One more command to run on each

Code: Select all

curl -XGET 'http://localhost:9200/_nodes?pretty=true'
What I'm looking for is what is in the "host" field

Then we want to make sure you can access that host from your computer (i.e. can your workstation resolve what is in the host field)