Unable to open the nagios log server web interface.
Posted: Wed Aug 21, 2019 9:27 am
Hello,
After opening some indices we are facing an issue in our Nagios log server. We are not able to open the web interface.
On checking the cluster status it shows below.
[root@localhost]# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "8df86e3a-8739-43ab-8a7f-110b464cae2d",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 503,
"active_shards" : 503,
"relocating_shards" : 0,
"initializing_shards" : 4,
"unassigned_shards" : 750,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 1,
"number_of_in_flight_fetch" : 0
}
On checking the elastic search logs it shows the below.
+++++++++++++++++++++++++++++
2019-08-21 18:23:28,088][DEBUG][action.search.type ] [e8a605f9-0c8e-4f9c-8bac-db39f8cda6d3] All shards failed for phase: [query_fetch]
org.elasticsearch.action.NoShardAvailableActionException: [nagioslogserver][0] null
+++++++++++++++++++++++++++++
We have restarted the service and rebooted the server, but the issue still exists.
Kindly help me to resolve the issue.
After opening some indices we are facing an issue in our Nagios log server. We are not able to open the web interface.
On checking the cluster status it shows below.
[root@localhost]# curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
{
"cluster_name" : "8df86e3a-8739-43ab-8a7f-110b464cae2d",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 503,
"active_shards" : 503,
"relocating_shards" : 0,
"initializing_shards" : 4,
"unassigned_shards" : 750,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 1,
"number_of_in_flight_fetch" : 0
}
On checking the elastic search logs it shows the below.
+++++++++++++++++++++++++++++
2019-08-21 18:23:28,088][DEBUG][action.search.type ] [e8a605f9-0c8e-4f9c-8bac-db39f8cda6d3] All shards failed for phase: [query_fetch]
org.elasticsearch.action.NoShardAvailableActionException: [nagioslogserver][0] null
+++++++++++++++++++++++++++++
We have restarted the service and rebooted the server, but the issue still exists.
Kindly help me to resolve the issue.