Glassfish のデフォルトチェックとポリシー

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:6分
  • エージェントクライアントコレクター は、Glassfish モニタリングのための以下のデフォルトのチェックとポリシーを提供します。

    表 : 1. GlassFish メトリクスポリシー
    タイプ チェック 説明 使用方法と使用例 出力
    メトリクス glassfish.metric-jvm-level

    GlassFish サーバーの JVM メトリクスを取得します。

    ベーシック認証情報が必要です。

    -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
    

    使用例: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
    メトリクス glassfish.metric-server-requests

    GlassFish サーバーに展開されるすべてのアプリケーションの http 要求メトリクスを提供します。

    ベーシック認証情報が必要です。

    -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
    

    使用例: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
    メトリクス glassfish.metric-server-resources

    GlassFish サーバーに展開されるリソースのメトリクスを提供します。

    ベーシック認証情報が必要です。

    -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
    

    使用例: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
    メトリクス glassfish.metric-transaction-service

    GlassFish サーバーに展開されるアプリケーションのすべてのトランザクションのメトリクスを提供します。

    ベーシック認証情報が必要です。

    -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
    

    使用例: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
    メトリクス glassfish.metrics-deployed-apps

    GlassFish サーバーに展開されるアプリケーションのメトリクスの出力を提供します。

    ベーシック認証情報が必要です。

    -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
    

    使用例: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
    メトリクス glassfish.metrics-deployment-lifecycle

    GlassFish サーバーアプリケーションのライフサイクルメトリクスを提供します。

    ベーシック認証情報が必要です。

    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
    

    使用例: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