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
Parameter | Description |
---|---|
Frequency | Warning Threshold | If the metric value satisfies the condition defined along with Warning Threshold value, then a notification is sent to the user. |
Critical Threshold | If the metric value satisfies the condition defined along with Critical Threshold value, then a notification is sent to the user. |
Alert | The 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
Applicable for | Device |
Description | Maximum number of threads in the pool. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.minthreads
Metric Details
Applicable for | Device |
Description | Minimum number of threads in the pool. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.reservedthreads
Metric Details
Applicable for | Device |
Description | The number of reserved threads in the pool. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.queuesize
Metric Details
Applicable for | Device |
Description | Number of jobs queued waiting for a thread. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.detaileddump
Metric Details
Applicable for | Device |
Description | Reports additional details in the dump. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | NULL |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.lowthreadsthreshold
Metric Details
Applicable for | Device |
Description | Threshold at which the pool is low on threads. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.idlethreads
Metric Details
Applicable for | Device |
Description | Number of idle threads in the pool. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.busythreads
Metric Details
Applicable for | Device |
Description | Number of busy threads in the pool. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.lowonthreads
Metric Details
Applicable for | Device |
Description | Thread pool is low on threads. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | NULL |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.daemon
Metric Details
Applicable for | Device |
Description | Thread pool uses daemon threads. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | NULL |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.threads
Metric Details
Applicable for | Device |
Description | Number of threads in the pool. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.threadpool.stoptimeout
Metric Details
Applicable for | Device |
Description | The stop timeout in milliseconds. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | ms |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.sessionhandler.sessiontime.max
Metric Details
Applicable for | Device |
Description | SessionHandler cleans up expired sessions...maximum amount of time sessions have remained active (in s). |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | s |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.sessionhandler.sessiontime.total
Metric Details
Applicable for | Device |
Description | Total time sessions have remained valid. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | s |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.sessionhandler.sessions.created
Metric Details
Applicable for | Device |
Description | Number of sessions created by this node. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.sessionhandler.sessionstime.mean
Metric Details
Applicable for | Device |
Description | Mean time sessions remain valid (in s). |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | s |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.sessionhandler.sessionstimecstddev
Metric Details
Applicable for | Device |
Description | Standard deviation a session remained valid (in s). |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | s |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.defaultsessioncache.sessionscurrent
Metric Details
Applicable for | Device |
Description | The DefaultSessionCache holds sessions in memory..current sessions in cache. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.defaultsessioncache.sessionsmax
Metric Details
Applicable for | Device |
Description | Max sessions in cache. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph
jetty.defaultsessioncache.sessionstotal
Metric Details
Applicable for | Device |
Description | Total sessions in cache. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Jetty Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 2 | 1 – 1440 (mins) |
Filter | ||
Warning Operator | ||
Warning Threshold | ||
Warning Repeat Count | ||
Critical Operator | ||
Critical Threshold | ||
Critical Repeat Count | ||
Alert | No | Yes/No |
Graph (Yes/No) | Yes | Yes/No |
Sample Output
No graph