簡體   English   中英

如何在Elasticsearch中確定哪些節點離開了集群

[英]How to identify which nodes left cluster in elasticsearch

我正在嘗試尋找與Elasticsearch集群一起使用的API或選項是否可用,以查找出現故障的節點列表。

目前,我可以看到群集中的狀態和節點。 但是,我們如何確定幾個服務器是否已關閉並離開集群。

您可以訪問http://localhost:9200/_nodes/stats ,有關更多信息,請參考Node API https://www.elastic.co/guide/zh-CN/elasticsearch/reference/current/cluster-nodes-stats.html ,它將列出當前在線的節點。

要了解脫機節點,我認為沒有任何API,可以使用Nagios等監控工具來查看當前是否有任何節點處於關閉狀態。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM