Glassfish default checks and policies

reference brazil Updated Sep 10, 2026 2 min read glassfish-checks-policies.md
Raw file servicenow.com

Agent Client Collector provides the following default checks and policies for Glassfish monitoring.

Type

Check

Description

Usage and usage example

Output

Metric

glassfish.metric-jvm-level

Retrieves the Glassfish server's JVM metrics.

Requires basic authentication credentials.

CSS
-i, --instance  Glassfish Monitoring Instance Name (required)-p, --password  Glassfish password-P, --port  Glassfish API port--ssl  Enable secure connnection to Glassfish-u –username  Glassfish username

Usage example: metric-glassfish-jvm-level.rb {{if .labels.params_port}} -P {{.labels.params_port}} {{end}} -i {{.labels.params_glassfish_server_instance}}

glassfish.jvm.garbage-collectors.Scavenge.CollectionCount 200 0 1652959788

Metric

glassfish.metric-server-requests

Provides http-request metrics for all applications deployed on the Glassfish server.

Requires basic authentication credentials.

CSS
-i, --instance  Glassfish Monitoring Instance Name (required)-p, --password  Glassfish password-P, --port  Glassfish API port--ssl  Enable secure connnection to Glassfish-u –username  Glassfish username

Usage example: metric-glassfish-server-requests.rb -i {{.labels.params_glassfish_server_instance}} {{if .labels.params_port}} -P {{.labels.params_port}} {{end}}

glassfish.http-service.server.request.Count 200 0 1652959788

Metric

glassfish.metric-server-resources

Provides metrics of the resources deployed on the Glassfish server.

Requires basic authentication credentials.

CSS
-i, --instance  Glassfish Monitoring Instance Name (required)-P, --port  Glassfish API port-r --resource_pool  Resource Pool Name--ssl  Enable secure connnection to Glassfish-u –username  Glassfish username-p --password  Glassfish password

Usage example: metric-glassfish-server-resources.rb {{if .labels.params_port}} -P {{.labels.params_port}} {{end}} {{if .labels.params_resource_pool}} -r {{.labels.params_resource_pool}} {{end}} -i {{.labels.params_glassfish_server_instance}}

glassfish.resources.{{PoolName}}.AverageConnWaitTime 0 1652959936

Metric

glassfish.metric-transaction-service

Provides metrics for all transactions on applications deployed on the Glassfish server.

Requires basic authentication credentials.

CSS
-i, --instance  Glassfish Monitoring Instance Name (required)-P, --port  Glassfish API port--ssl  Enable secure connnection to Glassfish-u –username  Glassfish username-p --password  Glassfish password

Usage example: metric-glassfish-transaction-service.rb {{if .labels.params_port}} -P {{.labels.params_port}} {{end}} -i {{.labels.params_glassfish_server_instance}}

glassfish.transaction-service.ActiveCount 0 1652959977

Metric

glassfish.metrics-deployed-apps

Provides metric output of applications deployed on the Glassfish server.

Requires basic authentication credentials.

CSS
-a, --apps  Application deployed on Glassfish server (required)-i, --instance  Glassfish Monitoring Instance Name (required)-P, --port  Glassfish API port--ssl  Enable secure connnection to Glassfish-u –username  Glassfish username-p --password  Glassfish password

Usage example: metric-glassfish-deployed-applications.rb {{if .labels.params_port}} -P {{.labels.params_port}} {{end}} -a {{.labels.params_deployed_apps}} -i {{.labels.params_glassfish_server_instance}}

glassfish.applications.{{Deployed Application}}.ActivatedSessionsTotal 0 1652959665

Metric

glassfish.metrics-deployment-lifecycle

Provides lifecycle metrics of the Glassfish server applications.

Requires basic authentication credentials.

CSS
metric-glassfish-deployment-lifecycle.rb (options)-i, --instance  Glassfish Monitoring Instance Name (required)-p --password  Glassfish password-P, --port  Glassfish API port--ssl  Enable secure connnection to Glassfish-u –username  Glassfish username

Usage example: metric-glassfish-deployment-lifecycle.rb {{if .labels.params_port}} -P {{.labels.params_port}} {{end}} -i {{.labels.params_glassfish_server_instance}}

glassfish.deployment.lifecycle.ActiveApplicationsDeployed 2 1653022649

**Parent Topic:**[Agent Client Collector Monitoring default checks and policies](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/agent-client-collector/agent-policies-checks.md)
Search documentation
Search document titles and file paths on the brazil branch