From: Michael Howe Date: Sat, 16 Dec 2017 23:54:05 +0000 (+0000) Subject: lvmcache_ - change graph types to gauge rather than derive X-Git-Tag: 0.10~4 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=bfe98e6497ea7e889c5a2468a90b6d80a1d2701e;p=packages%2Fm%2Fmunin-plugins-local.git lvmcache_ - change graph types to gauge rather than derive Turns out we don't want derive after all. --- diff --git a/debian/changelog b/debian/changelog index dc05eda..bbb7651 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -munin-plugins-local (0.10~test.1) UNRELEASED; urgency=medium +munin-plugins-local (0.10~test.2) UNRELEASED; urgency=medium * Add lvmcache_ plugin, for graphing lvm cache state diff --git a/plugins/lvmcache_ b/plugins/lvmcache_ index 218a291..20c198f 100755 --- a/plugins/lvmcache_ +++ b/plugins/lvmcache_ @@ -54,31 +54,31 @@ graph_args --base 1024 -l 0 graph_scale yes blks_total.label Total blocks blks_total.draw LINE1 -blks_total.type DERIVE +blks_total.type GAUGE blks_total.min 0 blks_used.label Used blocks blks_used.draw LINE1 -blks_used.type DERIVE +blks_used.type GAUGE blks_used.min 0 blks_read_hit.label Cache read hits blks_read_hit.draw LINE1 -blks_read_hit.type DERIVE +blks_read_hit.type GAUGE blks_read_hit.min 0 blks_read_miss.label Cache read misses blks_read_miss.draw LINE1 -blks_read_miss.type DERIVE +blks_read_miss.type GAUGE blks_read_miss.min 0 blks_write_hit.label Cache write hits blks_write_hit.draw LINE1 -blks_write_hit.type DERIVE +blks_write_hit.type GAUGE blks_write_hit.min 0 blks_write_miss.label Cache write hits blks_write_miss.draw LINE1 -blks_write_miss.type DERIVE +blks_write_miss.type GAUGE blks_write_miss.min 0 blks_dirty.label Dirty blocks blks_dirty.draw LINE1 -blks_dirty.type DERIVE +blks_dirty.type GAUGE blks_dirty.min 0 EOF }