Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Glassfish default checks and policies

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

TypeCheckDescriptionUsage and usage exampleOutput
Metricglassfish.metric-jvm-levelRetrieves the Glassfish server's JVM metrics. Requires basic authentication credentials.
-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`
Metricglassfish.metric-server-requestsProvides http-request metrics for all applications deployed on the Glassfish server. Requires basic authentication credentials.
-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`
Metricglassfish.metric-server-resourcesProvides metrics of the resources deployed on the Glassfish server. Requires basic authentication credentials.
-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`
Metricglassfish.metric-transaction-serviceProvides metrics for all transactions on applications deployed on the Glassfish server. Requires basic authentication credentials.
-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`
Metricglassfish.metrics-deployed-appsProvides metric output of applications deployed on the Glassfish server. Requires basic authentication credentials.
-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`
Metricglassfish.metrics-deployment-lifecycleProvides lifecycle metrics of the Glassfish server applications. Requires basic authentication credentials.
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