Windows Services

Telegraf Win_services モニターには、この Splunk Observability Cloud インテグレーションを使用します。メリット、インストール、設定、メトリクスを参照してください

注意: Smart Agent モニターは非推奨になります。Windows サービスデータを収集するには、OpenTelemetry Collector と Telegraf Windows Services Input プラグインを使用します。手順については、「Telegraf Input プラグインと OpenTelemetry によりサービスを監視」を参照してください。

Splunk Distribution of OpenTelemetry Collector は、Smart Agent レシーバーと telegraf/win_services モニタータイプを使用して、Windows サービスに関するメトリクスをインジェストします。

メリット

インテグレーションを設定すると、これらの機能にアクセスできるようになります:

インストール

このインテグレーションを導入するには、以下の手順に従ってください:

  1. Splunk Distribution of OpenTelemetry Collector をホストにデプロイします:

  2. 設定のセクションで説明するように、モニターを設定します。

  3. Splunk Distribution of OpenTelemetry Collector を再起動します。

設定

Smart Agent モニターとCollector のインテグレーションを使用するには、以下の手順に従います:

  1. Smart Agent レシーバーを設定ファイルに含めます。

  2. レシーバーセクションおよびパイプラインセクションの両方で、Collector 構成にモニタータイプを追加します。

このインテグレーションを有効にするには、Collector構成に以下を追加します:

YAML
receivers:
  smartagent/win_services:
    type: telegraf/win_services # monitor all services

service:
  pipelines:
    metrics:
      receivers: [smartagent/win_services]

特定のサービスを監視するには、以下の設定を使用します:

YAML
receivers:
  smartagent/win_services:
    type: telegraf/win_services
    serviceNames:
         - exampleService1  # only monitor exampleService1

service:
  pipelines:
    metrics:
      receivers: [smartagent/win_services]

コンフィギュレーション設定

次の表に、このモニターの設定オプションを示します:

オプション

必須

タイプ

説明

serviceNames

いいえ

文字列のリスト

モニターするサービスの名前。指定しない場合、すべてのサービス

を監視します。

メトリクス

このインテグレーションでは、以下のメトリクスを使用できます:

https://raw.githubusercontent.com/signalfx/splunk-otel-collector/main/internal/signalfx-agent/pkg/monitors/telegraf/monitors/winservices/metadata.yaml

備考

  • Splunk Observability Cloud で利用可能なメトリクスタイプの詳細は、「メトリクスタイプ」を参照してください。

  • ホストベースのサブスクリプションプランでは、デフォルトのメトリクスは、ホスト、コンテナ、バンドルメトリクスなど、Splunk Observability Cloud のホストベースのサブスクリプションに含まれるメトリクスです。カスタムメトリクスはデフォルトでは提供されていないため、料金が発生する場合があります。詳細については、「メトリクスカテゴリ」を参照してください。

  • MTSベースのサブスクリプションプランでは、すべてのメトリクスがカスタムです。

  • メトリクスを追加するには、「その他のメトリクスの追加」で extraMetrics の設定方法を参照してください。

トラブルシューティング

If you are a Splunk Observability Cloud customer and are not able to see your data in Splunk Observability Cloud, you can get help in the following ways.

Available to Splunk Observability Cloud customers

Available to prospective customers and free trial users

  • Ask a question and get answers through community support at Splunk Answers.

  • Join the Splunk community #observability Slack channel to communicate with customers, partners, and Splunk employees worldwide.