Nagios Logserver cluster status RED fails to login
Posted: Fri Apr 21, 2023 9:01 am
Hello Team,
We are unable to login the nagios logserver. Login page loads but it fails to login. Disk storage was full so we deleted an index to create some space and restarted logstash/elasticsearch/httpd services and even rebooted the server but still no luck. Please find the elasticsearch and logstash logs for your reference,
Below are few outputs for your reference,
-bash-4.2r$ curl -XGET "http://localhost:9200/_cluster/allocati ... ain?pretty"
{
"error" : "IndexMissingException[[_cluster] missing]",
"status" : 404
}
-bash-4.2$ curl -XGET "http://localhost:9200/_cluster/health?pretty"
{
"cluster_name" : "92ab601c-2645-49fa-98ab-52d987a0a647",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 41,
"active_shards" : 41,
"relocating_shards" : 0,
"initializing_shards" : 1,
"unassigned_shards" : 42,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0
}
-bash-4.2$ curl -XGET "http://localhost:9200/_cat/allocation?v&s=node"
shards disk.used disk.avail disk.total disk.percent host ip node
42 700.5gb 283.5gb 984.1gb 71 brnagiosls1.ux.corp.local 10.10.24.65 745e0cf8-855b-48c9-91c0-3973b12ae3bf
42 UNASSIGNED
-bash-4.2$
Best Regards,
bsanjay
We are unable to login the nagios logserver. Login page loads but it fails to login. Disk storage was full so we deleted an index to create some space and restarted logstash/elasticsearch/httpd services and even rebooted the server but still no luck. Please find the elasticsearch and logstash logs for your reference,
Below are few outputs for your reference,
-bash-4.2r$ curl -XGET "http://localhost:9200/_cluster/allocati ... ain?pretty"
{
"error" : "IndexMissingException[[_cluster] missing]",
"status" : 404
}
-bash-4.2$ curl -XGET "http://localhost:9200/_cluster/health?pretty"
{
"cluster_name" : "92ab601c-2645-49fa-98ab-52d987a0a647",
"status" : "red",
"timed_out" : false,
"number_of_nodes" : 1,
"number_of_data_nodes" : 1,
"active_primary_shards" : 41,
"active_shards" : 41,
"relocating_shards" : 0,
"initializing_shards" : 1,
"unassigned_shards" : 42,
"delayed_unassigned_shards" : 0,
"number_of_pending_tasks" : 0,
"number_of_in_flight_fetch" : 0
}
-bash-4.2$ curl -XGET "http://localhost:9200/_cat/allocation?v&s=node"
shards disk.used disk.avail disk.total disk.percent host ip node
42 700.5gb 283.5gb 984.1gb 71 brnagiosls1.ux.corp.local 10.10.24.65 745e0cf8-855b-48c9-91c0-3973b12ae3bf
42 UNASSIGNED
-bash-4.2$
Best Regards,
bsanjay