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 TomEE Plus 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 : ThreadPool

application.component.name : Servlet

application.component.name : Jsp

  • 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.

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.tomee.plus.cache.access_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of accesses to the cache per second shown as get
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.cache.hits_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of cache hits per second shown as hit
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.globalrequestprocessor.bytes_rcvd

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionBytes per second received by all request processors shown as byte
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    UnitBytes

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.globalrequestprocessor.bytes_sent

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionBytes per second sent by all the request processors shown as byte
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    UnitBytes

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.globalrequestprocessor.error_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of errors per second on all request processors shown as error
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.globalrequestprocessor.max_time

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe longest request processing time (in milliseconds) shown as millisecond
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.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 NameTomEE Plus Monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.globalrequestprocessor.request_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of requests per second across all request processors shown as request
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.jsp.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of JSPs per second that have been loaded in the web module shown as page
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.jsp.reload_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of JSPs per second that have been reloaded in the web module shown as page
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.threadpool.threads.max

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe maximum number of allowed worker threads shown as thread
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.threadpool.threads.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of threads managed by the thread pool shown as thread
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.threadpool.threads.busy

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of threads that are in use shown as thread
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.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 NameTomEE Plus Monitor
    Unitms

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.servlet.error_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of erroneous requests received by the servlet per second shown as error
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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.tomee.plus.servlet.request_count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of requests received by the servlet per second shown as request
    CategoryApplication
    Collector TypeGateway
    Monitor NameTomEE Plus Monitor
    Unitcount

    Possible Inputs

    Possible Inputs
    MetricInput ValueRange of Values
    Frequency5Manual
    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