How to monitor getMaxThreads metrics with Introscope Java Agent for Tomcat Server.

book

Article ID: 17418

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

Description:

How to monitor getMaxThreads metrics under the ThreadPool Investigator area . This is for the Tomcat Server with Introscope Java Agent.

The ThreadPool node is displaying getCurrentThreadCount and getCurrentThreadBusy.

Information about getMaxThreads metrics is available at following location:
http://tomcat.apache.org/tomcat-5.5-doc/catalina/docs/api/org/apache/tomcat/util/threads/ThreadPool.html#getMaxThreads()

Solution:

Introscope Java Agent for Tomcat Server can monitor getCurrentThreadCount and getCurrentThreadBusy metrics using tracers defined in tomcat.pbd.

However, Introscope Java Agent cannot monitor the getMaxThreads metric with the default tracers.

The best method to do this is monitoring the getMaxThreads metric via JMX. Note this is only available if getMaxThreads metric is available in the JMX API for Tomcat Server.

Environment

Release:
Component: APMAGT