×


Manage Clusters In Nagios Log Server - Fix it Now ?

One needs to be familiar with options in Nagios Log Server to manage the Clusters in it effectively.

Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related Nagios queries.

In this context, we shall look into how to manage and identify key information on Nagios Log Server Cluster.


How to Manage Clusters In Nagios Log Server ?

To manage Nagios Log Server cluster, navigate to Admin > System > Cluster Status.


Cluster ID

The cluster status page allows us to see the current statistics and behavior of the cluster. In the top right corner of the page is the Cluster ID. When adding new instances to this cluster we will need to use this ID.


Cluster Statistics

This table will describe the statistics associated with Nagios Log Server Cluster. Moreover, this view is very good for managing or engineering a new Nagios Log Server Cluster or a cluster that needs more instances added to it.

The following information is displayed:

  • Number of documents being sent to our cluster
  • Size of the current primary cluster in Megabytes
  • Total cluster size in Megabytes
  • Number of data instances in our cluster
  • Total shards used in our cluster
  • Number of Indices


Cluster Health

This table allows us to view the current health of the cluster. The status is based on the current allocation status of the shards that make up our cluster. Furthermore, the different health levels are:

  • Green: Cluster is healthy and all shards have been allocated.
  • Yellow: Cluster has unassigned shards or has not completed allocating shards after a system change.
  • Red: Cluster timed out or is not responding.


This is also a good way to get the status of our cluster's shards and if they are being relocated, initialized or assigned based on the status of our instances.

If an instance goes down in our cluster, it may show a number of unassigned shards in this table.

When the instance comes back online, we will be able to observe the number of unassigned shards reduce, eventually the number will return to 0 and the cluster will return to a green status.


Indices

You will see the size and statistics of each index in the cluster of the Indices table.

We can Open, Close or Delete an Index in the Action column. We can perform these actions on multiple indices by using the check boxes in the left column and then selecting an action from the 'With selected indices' drop down list.


Advanced Management

If we require more detailed information about our cluster, we will need to execute commands in a terminal session using a curl command. 

Establish a terminal session to one of our Nagios Log Server instances and execute the following commands:

# curl -XGET 'http://localhost:9200/_cat/health?v'
# curl -XGET 'http://localhost:9200/_cat/nodes?v'
# curl -XGET 'http://localhost:9200/_cat/master?v'


[Need urgent assistance to manage Clusters In Nagios Log Server? – We're available 24*7. ]


Conclusion

This article covers how to manage and identify key information on your Nagios Log. Nagios Log Server is a clustered application, it consists of one or more instances of Nagios Log Server. An instance is an installation of Nagios Log Server, it participates in the cluster and acts as a location for the received log data to reside. The log data is spread across the instances using the Elasticsearch database, a special database used by Nagios Log Server.