Add a collector for DRBD.

This collector exposes most of the useful information that can be found
in /proc/drbd. Sizes are normalised to be in bytes, as /proc/drbd uses
kibibytes.
This commit is contained in:
Ed Schouten 2016-12-05 11:37:35 +01:00
commit 6269f7502a
5 changed files with 265 additions and 0 deletions

View file

@ -5,6 +5,7 @@ set -euf -o pipefail
collectors=$(cat << COLLECTORS
conntrack
diskstats
drbd
entropy
filefd
hwmon