Description

This template monitors metrics related to threadpool, sessionhandler, and sessioncache. It is applicable for the devices containing Jetty application.

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 Jetty, we have Instance Based Monitoring or Component Discovery Monitoring. In order to do that, we should add the following custom parameter:

application.component.name : SessionCache

application.component.name : SessionHandler

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

    jetty.threadpool.maxthreads

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionMaximum number of threads in the pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.threadpool.minthreads

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionMinimum number of threads in the pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.threadpool.reservedthreads

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe number of reserved threads in the pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.threadpool.queuesize

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of jobs queued waiting for a thread.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.threadpool.detaileddump

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionReports additional details in the dump.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    UnitNULL

    Possible Inputs

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

    jetty.threadpool.lowthreadsthreshold

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThreshold at which the pool is low on threads.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.threadpool.idlethreads

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of idle threads in the pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.threadpool.busythreads

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of busy threads in the pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.threadpool.lowonthreads

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThread pool is low on threads.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    UnitNULL

    Possible Inputs

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

    jetty.threadpool.daemon

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThread pool uses daemon threads.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    UnitNULL

    Possible Inputs

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

    jetty.threadpool.threads

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of threads in the pool.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.threadpool.stoptimeout

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe stop timeout in milliseconds.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitms

    Possible Inputs

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

    jetty.sessionhandler.sessiontime.max

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionSessionHandler cleans up expired sessions...maximum amount of time sessions have remained active (in s).
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Units

    Possible Inputs

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

    jetty.sessionhandler.sessiontime.total

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionTotal time sessions have remained valid.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Units

    Possible Inputs

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

    jetty.sessionhandler.sessions.created

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of sessions created by this node.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.sessionhandler.sessionstime.mean

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionMean time sessions remain valid (in s).
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Units

    Possible Inputs

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

    jetty.sessionhandler.sessionstimecstddev

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionStandard deviation a session remained valid (in s).
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Units

    Possible Inputs

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

    jetty.defaultsessioncache.sessionscurrent

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionThe DefaultSessionCache holds sessions in memory..current sessions in cache.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.defaultsessioncache.sessionsmax

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionMax sessions in cache.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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

    jetty.defaultsessioncache.sessionstotal

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionTotal sessions in cache.
    CategoryApplication
    Collector TypeGateway
    Monitor NameJetty Monitor
    Unitcount

    Possible Inputs

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