Supported OS Linux Mac OS Windows

概要

ベースシステムから CPU、IO、負荷、メモリ、スワップ、アップタイムなどに関するメトリクスを取得します。以下のチェックもシステムに関連しています。

  • Directory チェック - 指定したディレクトリのファイルからメトリクスをキャプチャします。
  • Disk チェック - ディスクに関するメトリクスをキャプチャします。
  • Process チェック - システムで実行されている特定のプロセスからメトリクスをキャプチャします。

セットアップ

インストール

System チェックは Datadog Agent パッケージに含まれています。サーバーに追加でインストールする必要はありません。

収集データ

Metrics

イベント

System チェックには、イベントは含まれません。

サービスチェック

System チェックには、サービスのチェック機能は含まれません。

タグ

すべてのシステムメトリクスは、自動的に host:<HOST_NAME> でタグ付けされます。また、以下のネームスペースは device:<DEVICE_NAME> でタグ付けされます。

  • system.disk.*
  • system.fs.inodes.*
  • system.io.*
  • system.net.*

System コア

このチェックは、ホスト上の CPU コアの数と CPU 時間 (システム、ユーザー、アイドル時間など) を収集します。

セットアップ

インストール

システムコアチェックは Datadog Agent パッケージに含まれています。サーバーに追加でインストールする必要はありません。

構成

  1. Agent の構成ディレクトリのルートにある conf.d/ フォルダーの system_core.d/conf.yaml ファイルを編集します。使用可能な全構成オプションの詳細については、サンプル system_core.d/conf.yaml を参照してください。: チェックを有効にするには、instances に少なくとも 1 つのエントリが必要です。例:

    init_config:
    instances:
        - foo: bar
        tags:
            - key:value
    
  2. Agent を再起動します

検証

Agent のステータスサブコマンドを実行し、Checks セクションで system_core を探します。

収集データ

Metrics

system.core.count
(gauge)
The number of CPU cores on the host
Shown as core
system.core.user
(gauge)
The percentage of time a given CPU core has spent in user mode
Shown as percent
system.core.user.total
(gauge)
The percentage of time the whole CPU has spent in user mode
Shown as percent
system.core.system
(gauge)
The percentage of time a given CPU core has spent in kernel mode
Shown as percent
system.core.system.total
(gauge)
The percentage of time the whole CPU has spent in kernel mode
Shown as percent
system.core.idle
(gauge)
The percentage of time a given CPU core has spent idle
Shown as percent
system.core.idle.total
(gauge)
The percentage of time the whole CPU has spent idle
Shown as percent
system.core.nice
(gauge)
[Unix] The percentage of time a given CPU core has spent in niced (prioritized) processes in user mode
Shown as percent
system.core.nice.total
(gauge)
[Unix] The percentage of time the whole CPU has spent in niced (prioritized) processes in user mode
Shown as percent
system.core.guest
(gauge)
[Linux] The percentage of time a given CPU core has spent running a virtual CPU for guest operating systems under the control of the Linux kernel
Shown as percent
system.core.guest.total
(gauge)
[Linux] The percentage of time the whole CPU has spent running a virtual CPU for guest operating systems under the control of the Linux kernel
Shown as percent
system.core.iowait
(gauge)
[Linux] The percentage of time a given CPU core has spent waiting for I/O to complete
Shown as percent
system.core.iowait.total
(gauge)
[Linux] The percentage of time the whole CPU has spent waiting for I/O to complete
Shown as percent
system.core.irq
(gauge)
[Linux, BSD] The percentage of time a given CPU core has spent servicing hardware interrupts
Shown as percent
system.core.irq.total
(gauge)
[Linux, BSD] The percentage of time the whole CPU has spent servicing hardware interrupts
Shown as percent
system.core.softirq
(gauge)
[Linux, BSD] The percentage of time a given CPU core has spent servicing software interrupts
Shown as percent
system.core.softirq.total
(gauge)
[Linux, BSD] The percentage of time the whole CPU has spent servicing software interrupts
Shown as percent
system.core.guest_nice
(gauge)
[Linux] The percentage of time a given CPU core has spent running a niced guest
Shown as percent
system.core.guest_nice.total
(gauge)
[Linux] The percentage of time the whole CPU has spent running running a niced guest
Shown as percent
system.core.steal
(gauge)
[Linux] The percentage of time a given CPU core has spent running a virtual CPU for guest operating systems under the control of the Linux kernel
Shown as percent
system.core.steal.total
(gauge)
[Linux] The percentage of time a given CPU core has spent running a virtual CPU for guest operating systems under the control of the Linux kernel
Shown as percent
system.core.interrupt
(gauge)
[Windows] The percentage of time a given CPU core has spent servicing hardware interrupts
Shown as percent
system.core.interrupt.total
(gauge)
[Windows] The percentage of time the whole CPU has spent servicing hardware interrupts
Shown as percent
system.core.dpc
(gauge)
[Windows] The percentage of time a given CPU core has spent servicing deferred procedure calls (DPCs)
Shown as percent
system.core.dpc.total
(gauge)
[Windows] The percentage of time the whole CPU has spent servicing deferred procedure calls (DPCs)
Shown as percent
system.core.frequency
(gauge)
The frequency or clock speed a given CPU
Shown as megahertz

Depending on the platform, the check may collect other CPU time metrics, such as system.core.interrupt on Windows, system.core.iowait on Linux, etc.

プラットフォームによっては、このチェックは他の CPU 時間メトリクスも収集します。たとえば、Windows では system.core.interrupt が、Linux では system.core.iowait が収集されます。

イベント

System コアチェックには、イベントは含まれません。

サービスチェック

datadog.agent.up

Returns OK if the Agent is running properly. Alerts are created if the host does not respond.

Statuses: ok, critical

System スワップ

このチェックは、ホストがスワップイン/スワップアウトしたバイト数を監視します。

セットアップ

インストール

システムのスワップチェックは Datadog Agent パッケージに含まれています。サーバーに追加でインストールする必要はありません。

構成

  1. Agent の構成ディレクトリのルートにある conf.d/ フォルダーの system_swap.d/conf.yaml ファイルを編集します。使用可能なすべての構成オプションの詳細については、サンプル system_swap.d/conf.yaml を参照してください。: このチェックは初期コンフィギュレーションを受け取りません。

  2. Agent を再起動します

検証

Agent のステータスサブコマンドを実行し、Checks セクションで system_swap を探します。

収集データ

Metrics

system.swap.swapped_in
(gauge)
Bytes of memory swapped in
system.swap.swapped_out
(gauge)
Bytes of memory swapped out

イベント

System スワップチェックには、イベントは含まれません。

サービスチェック

System スワップチェックには、サービスのチェック機能は含まれません。

PREVIEWING: guacbot/translation-pipeline