Docs » Integrations Guide » Integrations Reference » Disk

../../_images/integrations_collectd2.png Disk 🔗

Metadata associated with the Disk collectd plugin can be found here. The relevant code for the plugin can be found here.

DESCRIPTION 🔗

From collectd wiki:

The Disk plugin collects performance statistics of hard-disks and, where supported, partitions. While the “octets” and “operations” are quite straight forward, the other two datasets need a little explanation:

  • merged are the number of operations, that could be merged into other, already queued operations, i. e. one physical disk access served two or more logical operations. Of course, the higher that number, the better.
  • time is the average time an I/O-operation took to complete. Since this is a little messy to calculate take the actual values with a grain of salt. Since 5.5 there are also additional metrics on the Linux platform:
  • io_time - time spent doing I/Os (ms). You can treat this metric as a device load percentage (Value of 1 sec time spent matches 100% of load).
  • weighted_io_time - measure of both I/O completion time and the backlog that may be accumulating.
  • pending_operations - shows queue size of pending I/O operations. For details about these metrics you can also read kernel documentation (Explanations of fields “Field 9”, “Field 10” and “Field 11”).

REQUIREMENTS AND DEPENDENCIES 🔗

This plugin requires:

Software Version
collectd 1.5+

INSTALLATION 🔗

If you are using the new Smart Agent, see the docs for the collectd/disk monitor for more information. The configuration documentation below may be helpful as well, but consult the Smart Agent repo’s docs for the exact schema.

Installation and initial configuration options are available as part of the SignalFx collectd agent.

CONFIGURATION 🔗

Optional configuration 🔗

The following configuration options are optional. You may specify them in the configuration file in order to override default values provided by the plugin.

configuration option definition default value
Disk Include specific Disk(s) "sda" "/^hd/"
IgnoreSelected Ignore the designation of specific Disks false

USAGE 🔗

The primary use of this plugin is to track the available space on the systems disks. This can be used to set alerts and thresholds to avoid a disks from being filled to capacity.

The SignalFx collectd plugin computes aggregated utilization metrics based on the output of this plugin you can learn more by looking at the metrics for the plugin.