Description

This template monitors metrics related to Global request processor, threadpool, servlet, JSP and few performance related metrics.

Prerequisites

Java must be installed on the device. Gateway should be up and running. The device should be reachable from Gateway. The device should be in managed state.

How to Apply:

For Tomcat, we have Instance Based Monitoring or Component Discovery Monitoring . In order to do that, we should add the following custom parameter:

application.component.name : GlobalRequestProcessor

application.component.name : Servlet

application.component.name : Jsp

application.component.name : ThreadPool

Create different monitors for different components in Instance based monitoring.

Only one component is allowed per monitor in Instance based monitoring.

We have three different types of Component Discovery Monitoring. They are:

For a single component :

ALL : ALL your instances will be monitored.

Expression : The Instance Names that match the expression will be monitored.

Manual Selection : With this option, you can select the desired instances while applying templates to the device.

Metric Parameters

Metric Parameters
ParameterDescription
Frequency
  • Frequency is the interval in which you want to probe and collect metric data from the target device/resource
  • Frequency is defined in minutes (min).
  • Warning ThresholdIf the metric value satisfies the condition defined along with Warning Threshold value, then a notification is sent to the user.
    Critical ThresholdIf the metric value satisfies the condition defined along with Critical Threshold value, then a notification is sent to the user.
    AlertThe alert value can be set to either Yes or No. If it is Yes, then an alert message is sent to the user.

    Metrics

    apache.tomcat.threadpool.max_threads

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe maximum number of allowed worker threads.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.threadpool.current_thread_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of threads managed by the thread pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.threadpool.current_threads_busy

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of threads that are in use.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.globalrequestprocessor.bytes_sent

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionAmount of data sent in bytes
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    UnitBytes

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.globalrequestprocessor.bytes_received

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionAmount of data received in bytes
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    UnitBytes

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.globalrequestprocessor.error_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of errors per second on all request processors.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.globalrequestprocessor.request_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of requests per second across all request processors.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.globalrequestprocessor.max_time

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe longest request processing time (in milliseconds).
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.globalrequestprocessor.processing_time

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe sum of request processing times across all requests handled by the request processors (in milliseconds) per second.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.servlet.processing_time

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe sum of request processing times across all requests to the servlet (in milliseconds) per second.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.jspmonitor.jsp_reload_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of JSPs per second that have been reloaded in the web module.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.servlet.error_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of erroneous requests received by the servlet per second.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.servlet.request_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of requests received by the servlet per second.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.stringcache.access_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of accesses to the cache per second.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.stringcache.hit_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of cache hits per second.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph

    apache.tomcat.jspmonitor.jsp_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of JSPs per second that have been loaded in the web module.
    CategoryApplication
    Collector TypeGateway
    Monitor NameApache tomcat monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency151 – 1440 (mins)
    Filter
    Warning Operator
    Warning Threshold
    Warning Repeat Count
    Critical Operator
    Critical Threshold
    Critical Repeat Count
    AlertNoYes/No
    Graph (Yes/No)YesYes/No

    Sample Output

    No graph