From c495be36aa4744e19aa6f0f036a9d115a1b40f66 Mon Sep 17 00:00:00 2001 From: Mike Koss Date: Wed, 15 Feb 2012 01:38:13 -0800 Subject: [PATCH] Fix y-axis pinned to zero - Munin bug workaround --- plugins/other/bitcoind_ | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugins/other/bitcoind_ b/plugins/other/bitcoind_ index 57207310..7e0ac471 100755 --- a/plugins/other/bitcoind_ +++ b/plugins/other/bitcoind_ @@ -65,8 +65,11 @@ def main(): print 'graph_title Bitcoin %s' % labels[0] print 'graph_vlabel %s' % labels[1] print '%s.label %s' % (request_var, request_var) + # Work-around for Munin bug - extra black line at origin that pins + # y-axis to zero instead of auto-range. + print 'dummy.label dummy' if len(labels) >= 3: - print "graph_args --lower-limit %d" % labels[2] + print 'graph_args --lower-limit %d' % labels[2] return # Munin should send connection options via environment vars