- 重要な情報
- はじめに
- 用語集
- ガイド
- エージェント
- インテグレーション
- OpenTelemetry
- 開発者
- API
- CoScreen
- アプリ内
- Service Management
- インフラストラクチャー
- アプリケーションパフォーマンス
- 継続的インテグレーション
- ログ管理
- セキュリティ
- UX モニタリング
- 管理
Supported OS
ディスクの使用状況および IO に関連したメトリクスを収集します。
ディスクチェックは Datadog Agent パッケージに含まれています。サーバーに追加でインストールする必要はありません。
ディスクチェックはデフォルトで有効になっています。Agent は、すべてのローカルパーティションに関するメトリクスを収集します。カスタムオプション付きでチェックを構成する場合は、Agent のコンフィギュレーションディレクトリ
のルートにある conf.d/
フォルダーの disk.d/conf.yaml
ファイルを編集します。使用可能なすべてのコンフィギュレーションオプションの詳細については、サンプル disk.d/conf.yaml
を参照してください。
ディスクチェックの利用シーンは 3 つあります。
ディスクレターで表される物理ドライブ (例: C:\、D:\ など) の監視は、ディスクチェックで特に考慮することなくそのままサポートされています。
ファイルシステム内のマウントされたフォルダーを監視するには、Administrator 権限が必要です。これは、基盤となる Windows の関数呼び出し FindFirstVolumeMountPoint が管理者権限を必要とするためです。 Agent に Administrator 権限を付与せずにこれらのメトリクスを収集するには、PDH チェック を使用して対応する perf カウンターからマウントポイントメトリクスを収集するようにします。
Windows 上のファイル共有のマウントポイントメトリクスの収集は、コンフィギュレーションで create_mounts
オプションを使用した場合のみサポートされます。
Windows では、マウントされた各フォルダーは、その共有をマウントしたユーザーにのみ表示されます。
そのため、create_mounts
オプションは、Agent のユーザーのコンテキストで監視するマウントポイントを作成することができます。
Agent の status
サブコマンドを実行
し、Checks セクションで disk
を探します。
system.disk.free (gauge) | The amount of disk space that is free. Shown as byte |
system.disk.in_use (gauge) | The amount of disk space in use as a percent of the total. Shown as fraction |
system.disk.read_time (count) | The time in ms spent reading per device Shown as millisecond |
system.disk.read_time_pct (rate) | Percent of time spent reading from disk. Shown as percent |
system.disk.total (gauge) | The total amount of disk space. Shown as byte |
system.disk.used (gauge) | The amount of disk space in use. Shown as byte |
system.disk.utilized (gauge) | The amount of disk space in use as a percentage of the total. Shown as percent |
system.disk.write_time (count) | The time in ms spent writing per device. Shown as millisecond |
system.disk.write_time_pct (rate) | Percent of time spent writing to disk. Shown as percent |
system.fs.inodes.free (gauge) | The number of free inodes. Shown as inode |
system.fs.inodes.in_use (gauge) | The number of inodes in use as a percent of the total. Shown as fraction |
system.fs.inodes.total (gauge) | The total number of inodes. Shown as inode |
system.fs.inodes.used (gauge) | The number of inodes in use. Shown as inode |
system.fs.inodes.utilized (gauge) | The number of inodes in use as a percentage of the total. Shown as percent |
Disk チェックには、イベントは含まれません。
disk.read_write
Returns CRITICAL
if filesystem is in read-only mode.
Note: This service check is not enabled by default. To enable the service check, set service_check_rw
to true
in the disk check’s conf.yaml
file.
ご不明な点は、Datadog のサポートチーム までお問い合わせください。