Apache Tomcat 6.0 server
Apache Tomcat 6.0 server
Log Track Supported: Yes
Config Track Supported: No
Custom Properties Supported: None
Supported Control Actions: start,stop,restart
Supported Metrics:
| Name | Alias | Units | Category | Default On | Default Interval |
|---|---|---|---|---|---|
| UpTime | Uptime | ms | UTILIZATION | true | 30 min |
| Free Swap Space Size | FreeSwapSpaceSize | B | UTILIZATION | true | 5 min |
| Free Physical Memory Size | FreePhysicalMemorySize | B | UTILIZATION | true | 5 min |
| Process Cpu Time | ProcessCpuTime | ms | UTILIZATION | true | 10 min |
| Process Cpu Time per Minute | ProcessCpuTime1m | ms | UTILIZATION | true | 10 min |
| Open File Descriptor Count | OpenFileDescriptorCount | none | UTILIZATION | false | 5 min |
| Thread Count | ThreadCount | none | UTILIZATION | false | 10 min |
| Thread Count per Minute | ThreadCount1m | none | UTILIZATION | false | 10 min |
| Current Thread Cpu Time | CurrentThreadCpuTime | ms | UTILIZATION | false | 10 min |
| Current Thread Cpu Time per Minute | CurrentThreadCpuTime1m | ms | UTILIZATION | false | 10 min |
| Current Thread User Time | CurrentThreadUserTime | ms | UTILIZATION | false | 10 min |
| Current Thread User Time per Minute | CurrentThreadUserTime1m | ms | UTILIZATION | false | 10 min |
| Daemon Thread Count | DaemonThreadCount | none | UTILIZATION | false | 5 min |
| Peak Thread Count | PeakThreadCount | none | UTILIZATION | false | 30 min |
| Availability | Availability | percentage | AVAILABILITY | true | 5 min |
Configuration help:
Configure Apache Tomcat for JMX
To configure Tomcat for JMX monitoring see http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html.For a quick down and dirty method follow these instructions,
in
JAVA_OPTS="-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=6969 \
-Dcom.sun.management.jmxremote.ssl=false \
-Dcom.sun.management.jmxremote.authenticate=false $JAVA_OPTS"
export JAVA_OPTS
From there restart Tomcat and that is it.
General Log and Config Track Properties
- Enable Log Tracking - Check to enable log tracking.
- Track event log level - Only track events of level greater than or equal to this level. Order is: [Error, Warn, Info, Debug]
Mapping:- FATAL,ERROR -> Error
- WARN -> Warn
- INFO -> Info
- DEBUG -> Debug
- Log Pattern Match - Include messages that match the given regular expression. The given pattern can be a substring to look for in log messages or a regular expression. See: java.util.regex.Pattern.
- Log Pattern Exclude - Exclude messages that match the given regular expression.
- Log Files - Comma delimited list of log files to track. Relative files are resolved to ${installpath}.