From c8c144587e6afa4821a5f3a685f4a7953e91918c Mon Sep 17 00:00:00 2001 From: Brian Brazil Date: Thu, 29 Mar 2018 15:18:12 +0100 Subject: [PATCH] Enable bonding collector by default. (#872) Signed-off-by: Brian Brazil --- README.md | 2 +- collector/bonding_linux.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 19de9fd4..b3047af0 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ Name | Description | OS ---------|-------------|---- arp | Exposes ARP statistics from `/proc/net/arp`. | Linux bcache | Exposes bcache statistics from `/sys/fs/bcache/`. | Linux +bonding | Exposes the number of configured and active slaves of Linux bonding interfaces. | Linux conntrack | Shows conntrack statistics (does nothing if no `/proc/sys/net/netfilter/` present). | Linux cpu | Exposes CPU statistics | Darwin, Dragonfly, FreeBSD, Linux diskstats | Exposes disk I/O statistics. | Darwin, Linux @@ -58,7 +59,6 @@ zfs | Exposes [ZFS](http://open-zfs.org/) performance statistics. | [Linux](http Name | Description | OS ---------|-------------|---- -bonding | Exposes the number of configured and active slaves of Linux bonding interfaces. | Linux buddyinfo | Exposes statistics of memory fragments as reported by /proc/buddyinfo. | Linux devstat | Exposes device statistics | Dragonfly, FreeBSD drbd | Exposes Distributed Replicated Block Device statistics (to version 8.4) | Linux diff --git a/collector/bonding_linux.go b/collector/bonding_linux.go index 2d25974c..8f441e85 100644 --- a/collector/bonding_linux.go +++ b/collector/bonding_linux.go @@ -31,7 +31,7 @@ type bondingCollector struct { } func init() { - registerCollector("bonding", defaultDisabled, NewBondingCollector) + registerCollector("bonding", defaultEnabled, NewBondingCollector) } // NewBondingCollector returns a newly allocated bondingCollector.