-
Notifications
You must be signed in to change notification settings - Fork 384
collectors DiskSpaceCollector
Rob Smith edited this page Jul 13, 2012
·
18 revisions
Uses /proc/mounts and os.statvfs() to get disk space usage
- /proc/mounts
-
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 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'
-
byte_unit: Default numeric output(s)
-
filesystems: filesystems to examine
All keys are prefixed with nodes.hostname by default