catalina / threadpool在收集的JMXgeneric插件中不起作用?

时间:2019-06-21 09:55:13

标签: jmx graphite collectd

我正在设置一个收集的并使用JMXgeneric监视tomcat。由于某种原因,线程池无法正常工作,并且出现错误。顺便说一下,我正在使用tomcat 8。

<MBean "catalina/thread_pool">
  ObjectName "Catalina:type=ThreadPool,*"
  InstancePrefix "request_processor-"
  InstanceFrom "name"

  <Value>
    Type "threads"
    InstancePrefix "total"
    #InstanceFrom ""
    Table false
    Attribute "currentThreadCount"
  </Value>

  <Value>
    Type "threads"
    InstancePrefix "running"
    #InstanceFrom ""
    Table false
    Attribute "currentThreadsBusy"
  </Value>
</MBean>

我还尝试了其他属性,例如currentThreadsBusy,maxThreads

GenericJMXConfValue.query: getAttribute failed: javax.management.MBeanException: Cannot find operation currentThreadCount
 GenericJMXConfValue.query: Querying attribute currentThreadCount failed.
GenericJMXConfValue.query: getAttribute failed: javax.management.MBeanException: Cannot find operation currentThreadsBusy
GenericJMXConfValue.query: Querying attribute currentThreadsBusy failed.
GenericJMXConfValue.query: getAttribute failed: javax.management.MBeanException: Cannot find operation currentThreadCount
GenericJMXConfValue.query: Querying attribute currentThreadCount failed.
GenericJMXConfValue.query: getAttribute failed: javax.management.MBeanException: Cannot find operation currentThreadsBusy
GenericJMXConfValue.query: Querying attribute currentThreadsBusy failed.

0 个答案:

没有答案