Skip to content

collectors DiskSpaceCollector

Rob Smith edited this page Jul 16, 2012 · 18 revisions

DiskSpaceCollector

Uses /proc/mounts and os.statvfs() to get disk space usage

Dependencies

  • /proc/mounts

Examples

exclude_filters = ,                 # no exclude filters at all
exclude_filters = ^/boot, ^/mnt     # exclude everything that begins /boot or /mnt
exclude_filters = m,                # exclude everything that includes the letter 'm'

Options

  • Generic Options
  • enabled: Enable collecting these metrics
  • exclude_filters: A list of regex patterns. Any filesystem matching any of these patterns will be excluded from disk space metrics collection
  • byte_unit: Default numeric output(s)
  • filesystems: filesystems to examine

Example Output

All keys are prefixed with nodes.hostname by default

Clone this wiki locally