]> git.michaelhowe.org Git - packages/m/munin-plugins-local.git/commitdiff
Fix lvcache_ plugin
authorMichael Howe <michael@michaelhowe.org>
Sat, 16 Dec 2017 23:11:44 +0000 (23:11 +0000)
committerMichael Howe <michael@michaelhowe.org>
Sat, 16 Dec 2017 23:11:44 +0000 (23:11 +0000)
* add config for write_miss statements
* turn all the counters into derive and set min to 0 to prevent negative
  spikes (per the documentation)

debian/changelog
plugins/lvmcache_

index dae773da0f6790f534861a161feefb3aa789d8b3..dc05edaffb259ac2014b25b9219c7d6751f3b154 100644 (file)
@@ -1,4 +1,4 @@
-munin-plugins-local (0.10~test.0) UNRELEASED; urgency=medium
+munin-plugins-local (0.10~test.1) UNRELEASED; urgency=medium
 
   * Add lvmcache_ plugin, for graphing lvm cache state 
 
index c3430b14aea12e77a148e4e97eff1d621ebbf795..218a2912bfbc1b9adc4770aa7e85d96a8dd00ee0 100755 (executable)
@@ -54,16 +54,32 @@ graph_args --base 1024 -l 0
 graph_scale yes
 blks_total.label Total blocks
 blks_total.draw LINE1
+blks_total.type DERIVE
+blks_total.min 0
 blks_used.label Used blocks
 blks_used.draw LINE1
+blks_used.type DERIVE
+blks_used.min 0
 blks_read_hit.label Cache read hits
 blks_read_hit.draw LINE1
+blks_read_hit.type DERIVE
+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.min 0
 blks_write_hit.label Cache write hits
 blks_write_hit.draw LINE1
+blks_write_hit.type DERIVE
+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.min 0
 blks_dirty.label Dirty blocks
 blks_dirty.draw LINE1
+blks_dirty.type DERIVE
+blks_dirty.min 0
 EOF
 }