[英]Cassandra cluster monitoring
How to collect data from all nodes within cluster from single node in cassandra. 如何从Cassandra中的单个节点收集群集中所有节点的数据。 Does jmx provide aggregated values for all nodes which are present on same cluster on single node? jmx是否为单个节点上同一集群中存在的所有节点提供聚合值?
Yes. 是。 For Cassandra cluster you will be able to do so.As per my knowledge there are two well know ways for monitoring and getting cluster status. 对于Cassandra集群,您将能够做到这一点。据我所知,有两种众所周知的方法来监视和获取集群状态。
I think the the first way (nodetool utility) will be more useful to meet your requirements. 我认为第一种方法(nodetool实用程序)将更有用以满足您的需求。
You will get more information at Cassandra cluster monitoring and nodetool options. 您将在Cassandra集群监视和nodetool选项中获得更多信息。
JMX provides information from a single node. JMX提供来自单个节点的信息。 To have information about entire cluster we collect data from all nodes into Zabbix. 为了获得有关整个集群的信息,我们将所有节点的数据收集到Zabbix中。 Zabbix allows to create graphs and screens that show jmx values from all nodes in one place. Zabbix允许创建图形和屏幕,以显示一个位置中所有节点的jmx值。 Eg we can see all Read Pending Tasks for all nodes in single graph. 例如,我们可以在单个图形中看到所有节点的所有“待读任务”。
I think, to have separate information for each node in one place it's better solution to diagnose possible issues than to have common aggregate information. 我认为,要在一个地方为每个节点提供单独的信息,比拥有共同的汇总信息更好的解决可能的问题的解决方案。
Regarding metrics, I can recommend Guide to Cassandra Thread Pools that provides a description of the different cassandra metrics and how to monitor them. 关于指标,我可以推荐《 Cassandra线程池指南》,其中提供了有关不同cassandra指标以及如何监控它们的描述。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.