From b7de71b32b11645957e210ebadc86ca6cd84041f Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Fri, 6 Nov 2015 09:32:40 +0100 Subject: [PATCH] battery: add missing capacity type to types.db For the record, "capacity" was introduced by a2e732f8. Also fix a bogus example in collectd.conf. Thanks to @ryan-williams for reporting the problem ! Fix #1338 --- src/collectd.conf.in | 2 +- src/types.db | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/collectd.conf.in b/src/collectd.conf.in index 38a05349..729aa032 100644 --- a/src/collectd.conf.in +++ b/src/collectd.conf.in @@ -288,7 +288,7 @@ # # ValuesPercentage false -# ReportDegraded +# ReportDegraded false # # diff --git a/src/types.db b/src/types.db index 38fb546c..c605f56d 100644 --- a/src/types.db +++ b/src/types.db @@ -15,6 +15,7 @@ cache_operation value:DERIVE:0:U cache_ratio value:GAUGE:0:100 cache_result value:DERIVE:0:U cache_size value:GAUGE:0:U +capacity value:GAUGE:0:U ceph_bytes value:GAUGE:U:U ceph_latency value:GAUGE:U:U ceph_rate value:DERIVE:0:U -- 2.11.0