Instance Status

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Re: Instance Status

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Instance Status

Post by scottwilkerson »

Where are you seeing the red instance status?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Re: Instance Status

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Instance Status

Post by scottwilkerson »

Are you seeing this on the Admin -> System status page?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
floki
Posts: 65
Joined: Tue Dec 18, 2018 5:23 am

Re: Instance Status

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Instance Status

Post 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)
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked