Description
This template monitors the live threads, number of threads created, maximum heap and non-heap memory, used heap and non-heap memory, allocated heap and non-heap size and it also gives the count of passivated, persisted and rejected sessions. It is applicable for the devices containing Glassfish application.
Prerequisites
Java must be installed on the device.
How to Apply: For Glassfish we have Instance Based Monitoring or Component Discovery Monitoring . In order to do that, we should add the following custom parameter:
application.component.name : session
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
glassfish.totalstartedthreadcount
Metric Details
Applicable for | Device |
Description | Returns the total number of threads created and also started since the Java virtual machine started. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Thread Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.daemonthreadcount
Metric Details
Applicable for | Device |
Description | Returns the current number of live daemon threads. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Thread Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.threadcount
Metric Details
Applicable for | Device |
Description | Returns the current number of live threads including both daemon and non-daemon threads. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Thread Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.memory.usedheapsize.count
Metric Details
Applicable for | Device |
Description | Amount of used heap memory in bytes. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Memory Monitor |
Unit | Bytes |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.memory.usednonheapsize.count
Metric Details
Applicable for | Device |
Description | Amount of used non heap size memory in bytes. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Memory Monitor |
Unit | Bytes |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.memory.committedheapsize.count
Metric Details
Applicable for | Device |
Description | Amount of heap memory in bytes that is committed for the Java virtual machine to use. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Memory Monitor |
Unit | Bytes |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.memory.committednonheapsize.count
Metric Details
Applicable for | Device |
Description | Amount of non-heap memory in bytes that is committed for the Java virtual machine to use. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Memory Monitor |
Unit | Bytes |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.memory.maxheapsize.count
Metric Details
Applicable for | Device |
Description | Maximum amount of heap memory in bytes that can be used for memory management. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Memory Monitor |
Unit | Bytes |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.memory.maxnonheapsize.count
Metric Details
Applicable for | Device |
Description | Maximum amount of non heap memory in bytes that can be used for memory management. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Memory Monitor |
Unit | Bytes |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.activesessionscurrent
Metric Details
Applicable for | Device |
Description | Number of active sessions. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Sessions Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.activatedsessionstotal
Metric Details
Applicable for | Device |
Description | Total number of sessions ever activated. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Sessions Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.expiredsessionstotal
Metric Details
Applicable for | Device |
Description | Total number of sessions ever expired. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Sessions Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.passivatedsessionstotal
Metric Details
Applicable for | Device |
Description | Total number of sessions ever passivated. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Sessions Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.persistedsessionstotal
Metric Details
Applicable for | Device |
Description | Total number of sessions ever persisted. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Sessions Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.sessionstotal
Metric Details
Applicable for | Device |
Description | Total number of sessions ever created. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Sessions Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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
glassfish.rejectedsessionstotal
Metric Details
Applicable for | Device |
Description | Total number of sessions ever rejected. |
Category | Application |
Collector Type | Gateway |
Monitor Name | Glassfish Sessions Monitor |
Unit | count |
Possible Inputs
Metric | Input Value | Range of Values |
---|---|---|
Frequency | 5 | 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