Description

This template monitors the transaction, system stats, and classes. 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 : jsp

application.component.name : servlet

application.component.name : request

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

    glassfish.transaction.committedcount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionProvides the number of transactions that have been committed.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Transaction Monitor
    Unitcount

    Possible Inputs

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

    glassfish.transaction.rolledbackcount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionProvides the number of transactions that have been rolled back.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Transaction Monitor
    Unitcount

    Possible Inputs

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

    glassfish.transaction.activecount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionProvides the number of transactions that are currently active.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Transaction Monitor
    Unitcount

    Possible Inputs

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

    glassfish.transaction.service.state

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionIndicates if the transaction service has been frozen.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Transaction Monitor
    UnitNULL

    Possible Inputs

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

    glassfish.loadedclass.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of classes currently loaded in the JVM.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Classes Monitor
    Unitcount

    Possible Inputs

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

    glassfish.unloadedclass.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionTotal number of classes unloaded since the JVM started.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Classes Monitor
    Unitcount

    Possible Inputs

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

    glassfish.totalservletsloaded.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionTotal number of Servlets ever loaded.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Classes Monitor
    Unitcount

    Possible Inputs

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

    glassfish.activeservletsloaded.count

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of Servlets loaded.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Classes Monitor
    Unitcount

    Possible Inputs

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

    glassfish.jsp.totaljspcount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionTotal number of JSP pages ever loaded.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Classes Monitor
    Unitcount

    Possible Inputs

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

    glassfish.jsp.jsperrorcount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionTotal number of errors triggered by JSP page invocations.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Classes Monitor
    Unitcount

    Possible Inputs

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

    glassfish.jsp.jspreloadedcount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionTotal number of JSP pages that were reloaded.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Classes Monitor
    Unitcount

    Possible Inputs

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

    glassfish.jsp.jspcount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionNumber of active JSP pages.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish Classes Monitor
    Unitcount

    Possible Inputs

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

    glassfish.jvm.uptime

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionUptime of the Java virtual machine in milliseconds.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish System Stats Monitor
    Unitms

    Possible Inputs

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

    glassfish.servlet.processingtime

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionAverage response time.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish System Stats Monitor
    Unitms

    Possible Inputs

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

    glassfish.request.processingtime

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionAverage request processing time.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish System Stats Monitor
    Unitms

    Possible Inputs

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

    glassfish.request.errorcount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionCumulative value of the error count, with error count representing the number of cases where the response code was greater than or equal to 400.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish System Stats Monitor
    Unitcount

    Possible Inputs

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

    glassfish.request.requestcount

    Metric Details

    Metric Details
    Applicable forDevice
    DescriptionCumulative number of requests processed so far.
    CategoryApplication
    Collector TypeGateway
    Monitor NameGlassfish System Stats Monitor
    Unitcount

    Possible Inputs

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