--- title: Glassfish default checks and policies description: Agent Client Collector provides the following default checks and policies for Glassfish monitoring. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/agent-client-collector/glassfish-checks-policies.html release: australia product: Agent Client Collector classification: agent-client-collector topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 2 breadcrumb: [ACC-M default checks and policies, ACC-M reference, Agent Client Collector reference, Agent Client Collector, IT Operations Management] --- # Glassfish default checks and policies 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. ``` -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. ``` -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. ``` -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. ``` -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. ``` -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. ``` 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/australia/markdown/australia/it-operations-management/agent-client-collector/agent-policies-checks.md)