HowtoForge

How To Monitor And Manage Apache Tomcat - Page 2

Adding Performance Counters For Apache Tomcat

Performance counters measure system activity and performance (metrics). The application retrieves their current values in predefined intervals. The aim of probing and collecting data is to analyze and convert the data into a performance graph/chart. You can define a counter manually or load it from a template. Counter templates provide defined probing parameters for specified devices in order to improve and quicken counter creation.

Each counter template is characterized by the following information:

In order to add Apache Tomcat performance counters, perform the following steps:

  1. Select device from aspect tree in Home view.
  2. Select Monitors tab and switch to the counter list by clicking Counter list link in the upper-right corner of the tab field. A counter list is displayed.
  3. Select Create counter from the global action menu and click Go.

  1. Select the counter you want to create and click Next.
  2. Once the data has been loaded, the edit window shows up with all counter attributes to be provided.

  1. Specify the rest of counter parameters (alarms, thresholds etc.) and click Finish.
  2. The new counter has been created and is now visible on the counter list.

 

Creating Custom Event Processing Rules For Apache Tomcat

In this tutorial I'll show how to assign basic event processing rules, such as: alarm generating, event dropping/forwarding and severity assigning.

To assign an event processing rule, perform the following steps:

  1. After selecting the desired host go to Events tab.
  2. Select events, choose Assign processing rules and click Go.
  3. A dialog window is displayed (see figure below).

  1. Select rule category and click Add new rule.
  2. The newly created event processing rule is now visible and active (there's no need to logout).

 

Tomcat Plugin Overview

Tomcat plugin provides four following views:

If you performed all actions described in this guide you are now able to monitor Apache Tomcat application.

How To Monitor And Manage Apache Tomcat - Page 2