cassandra jmx mbin监视来自tomcat的活动/空闲连接数

huus2vyu  于 2021-06-15  发布在  Cassandra
关注(0)|答案(1)|浏览(340)

我用的是tomcat和cassandra。我正在尝试编写jmxshell脚本来了解以下内容
2013年12月5日13:37:16-0400 org.archive.jmx.client活动:0
2013年12月5日13:37:16-0400 org.archive.jmx.client numidle:4
请注意:我使用这个格式来管理使用tomcat和oracle的数据库连接池。我想要类似的Cassandra。
当我在tomcat服务器(在8003端口上运行)上运行jmx客户机时,我看到下面给出的相关mbin的数量。

me.prettyprint.cassandra.service:name=perf4j,type=perf4j
me.prettyprint.cassandra.service_NexText:MonitorType=hector,ServiceType=nextext

我正在寻找哪个mbin我应该用来监测Cassandra从tomcat连接。

hivapdat

hivapdat1#

我做了一些分析,我发现我应该使用以下
bean名称:
me.prettyprint.cassandra.service服务_nextext:monitortype=hector,服务类型=nextext
属性类型:
numactive公司
numpy 螺纹
numpools公司
无排气池

相关问题