Collect metrics related to disk usage and IO.
The disk check is included in the Datadog Agent package, so you don’t need to install anything else on your server.
The Disk check is enabled by default, and the Agent collects metrics on all local partitions. To configure the check with custom options, edit the disk.d/conf.yaml
file, in the conf.d/
folder at the root of your Agent’s configuration directory. See the sample disk.d/conf.yaml for all available configuration options.
Run the Agent’s status
subcommand and look for disk
under the Checks section.
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 fraction of the total. Shown as fraction |
system.disk.read_time_pct (gauge) | 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.write_time_pct (gauge) | 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 fraction 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 |
The Disk check does not include any events.
disk.read_write:
Returns CRITICAL
if filesystem is in read-only mode. Note: This service check must be enabled under service_check_rw
in the disk.d/conf.yaml.
Need help? Contact Datadog support.
On this Page