IBM Performance Management

Configuring the Tomcat agent

The Tomcat agent monitors the resources of Tomcat application servers. This agent requires an instance name, so you must create the first agent instance and start the agent manually.

Before you begin

Enable JMX remote for the monitored Tomcat server. Set the port 8686. For instructions, see https://tomcat.apache.org/tomcat-6.0-doc/monitoring.html#Enabling_JMX_Remote.

About this task

The Tomcat agent is a multiple instance agent; you must create the first instance and start the agent manually. The managed system name includes the instance name that you specify, for example, instance_name:host_name:pc, where pc is your two character product code. The managed system name is limited to 32 characters. The instance name that you specify is limited to 28 characters, minus the length of your host name. For example, if you specify TOMCAT2 as your instance name, your managed system name is TOMCAT2:hostname:OT. If you specify a long instance name, the managed system name is truncated and the agent code does not display correctly.

To avoid permission issues when you configure the agent, be sure to use the same root user or non-root user ID that was used for installing the agent. If you installed your agent as a selected user and want to configure the agent as a different user, see Configuring agents as a non-root user. If you installed and configured your agent as a selected user and want to start the agent as a different user, see Starting agents as a non-root user.

Procedure

What to do next

You can verify the Tomcat agent data is displayed in the Performance Management console.

If you installed and configured your agent using a selected user and want to start the agent with a different user, see Starting agents as a non-root user.