Apache Tomcat

Tomcat Server Template

This template collects server resource information from an Apache Tomcat server by retrieving status information from the Tomcat status page.

Prerequisites: None.

Credentials: User with manager role:

Tomcat users and roles can be configured in tomcat-users.xml file.
Example:
<role rolename="manager"/>
  <user username="user" password="pass" roles="manager"/>

Monitored Components:

Note: You need to set thresholds for counters according to your environment. It is recommended to monitor counters for some length of time to understand potential value ranges and then set the thresholds accordingly. For more information, seehttp://knowledgebase.solarwinds.com/kb/questions/2415.

Note: By default all components use port 8080. If your Tomcat server uses another port, you should manually change the Port Number field in all components.

Tomcat Free Memory

This monitor returns the amount of heap space currently available to the Java Virtual Machine. This value should be as high as possible. The heap space may be of a fixed size or may be expanded and shrunk, depending on the garbage collector's strategy. More information can be found here: http://javarevisited.blogspot.com/2011/05/java-heap-space-memory-size-jvm.html.

Tomcat Total Memory

This monitor returns the total amount of memory currently allocated to the Java Virtual Machine heap space. This value should be as low as possible. You should set thresholds according to yourTomcat Max Memory value. If the returned value is near the Tomcat Max Memory value or you received OutOfMemoryErrorerrors, you may need to increase the heap size. More information can be found here: http://javarevisited.blogspot.com/2011/05/java-heap-space-memory-size-jvm.html.

Tomcat Max Memory

This monitor returns the maximum size of the heap space, not including the permanent generation area.

Tomcat Total Processing Time

This monitor returns the total processing time, in milliseconds, since the server started.

Tomcat Total Request Count

This monitor returns the total number of requests from the server since the server started.

Tomcat Total Bytes Sent

This monitor returns the total number of bytes sent from the server since the server started.

Tomcat Total Bytes Received

This monitor returns the total number of bytes sent to the server since the server started.

Tomcat Total Errors Count

This monitor returns the total number of errors from all request processors

APM_Apache_Template_Pack.pdf