Plugin:Disk

From collectd Wiki
Revision as of 17:55, 15 February 2009 by Octo (talk | contribs) (Created initial page.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

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.

Synopsis

<Plugin "disk">
  Disk "sda"
  Disk "/^hd/"
  IgnoreSelected false
</Plugin>

Example graphs

Plugin-disk-merged.png Plugin-disk-octets.png Plugin-disk-ops.png Plugin-disk-time.png

Dependencies

  • Linux
    • Either /proc/diskstats (Linux 2.6) or /proc/partitions (Linux 2.4)
  • Darwin / Mac OS X
  • Solaris
    • libkstat(3KSTAT)