Collector Type: Agent
Category: Application Monitors
Application Name: Tomcat
Global Template Name: Linux - Apache Tomcat Monitors
Introduction
Apache Tomcat, often referred to as Tomcat Server, is an open-source Java Servlet Container developed by the Apache Software Foundation (ASF). Tomcat implements several Java EE specifications including Java Servlet, JavaServer Pages (JSP), Java EL, and WebSocket, and provides a “pure Java” HTTP web server environment in which Java code can run.
Tomcat is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation, released under the Apache License 2.0 license, and is open-source software. It is monitored through JMX.
Prerequisite: Please refer JMX Monitoring to enable JMX in the java application
Parameters
Name | Default Value | Description |
---|---|---|
IPAddress | 127.0.0.1 | IP Address on which the JMX listens |
Port | 7199 | JMX Listener port |
Username | NA | Username, if enabled in JMX |
Password | NA | Password, if enabled in JMX |
Note: All field attributes are mandatory, use default values wherever applicable.
Collected Metrics
Metric Name | Display Name | Description |
---|---|---|
tomcat.threads.count | Tomcat-ThreadCount | Number of threads created. |
tomcat.threads.busy | Tomcat-ThreadsBusy | Number of busy threads. |
tomcat.req.processor.mbytes_received | Tomcat-ReqProcessorDataReceived | MBytes received per second by all the request processors running on the Apache Tomcat. |
tomcat.req.processor.mbytes_sent | Tomcat-ReqProcessorDataSent | MBytes sent per second by all the request processors running on the Apache Tomcat. |
tomcat.req.processor.error_count | Tomcat-ReqProcessorErrorCount | Errors per second on all the request processors running on the Apache Tomcat. |
tomcat.req.processor.processing_time | Tomcat-ReqProcessorProcessingTime | The amount of processing time taken per second. |
tomcat.req.processor.request_count | Tomcat-ReqProcessorRequestCount | Requests per second on all the request processors running on the Apache Tomcat. |
tomcat.servlet.error_count | Tomcat-ServletErrorCount | Number of erroneous requests received by the servlet per second. |
tomcat.servlet.processing_time | Tomcat-ServletProcessingTime | The amount of processing time taken per second. |
tomcat.servlet.request_count | Tomcat-ServletRequestCount | Number of requests served by the servlet per second. |
tomcat.cache.access_count | Tomcat-CacheAccessCount | Number of times the cache was accessed per second. |
tomcat.cache.hits_count | Tomcat-CacheHitsCount | Number of times the cache was hit per second. |
tomcat.jsp.count | Tomcat-JspCount | Number of times JSPs were accessed on all the applications per second. |
tomcat.jsp.reload_count | Tomcat-JspReloadCount | Number of times JSPs were reloaded on all the applications per second. |
tomcat.active_sessions.count | Tomcat-ActiveSessions | Number of active sessions to the server. |
tomcat.jvm.uptime | Tomcat-Uptime | Uptime of the server. |
tomcat.jvm.gc.collection_count | Tomcat-JVM.GC.collection_count | Number of garbage objects collected. |
tomcat.jvm.gc.collection_time | Tomcat-JVM.GC.collection_time | Time taken for collection of the garbage objects. |
tomcat.jvm.mem.heap_committed | Tomcat-JVM.Mem.heap_committed | Heap memory committed (in MB) for the server. |
tomcat.jvm.mem.heap_used | Tomcat-JVM.Mem.heap_used | Heap memory usage (in MB) of the server. |
tomcat.jvm.mem.non_heap_committed | Tomcat-JVM.Mem.non_heap_committed | Non-heap memory committed (in MB) for the server. |
tomcat.jvm.mem.non_heap_used | Tomcat-JVM.Mem.non_heap_used | Non-heap memory usage (in MB) of the server. |
tomcat.jvm.threads.count | Tomcat-JVM.Threads | Number of threads. |
tomcat.jvm.open_fds_count | Tomcat-JVM.OpenFDs | Number of Open file descriptors of the server. |