From: Marc Fournier Date: Fri, 6 Nov 2015 08:32:40 +0000 (+0100) Subject: battery: add missing capacity type to types.db X-Git-Tag: collectd-5.5.1~53 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b7de71b32b11645957e210ebadc86ca6cd84041f;p=collectd.git 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 --- 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