mirror of
https://github.com/munin-monitoring/contrib.git
synced 2018-11-08 00:59:34 +01:00
Fix y-axis pinned to zero - Munin bug workaround
This commit is contained in:
parent
b7a1903d2e
commit
c495be36aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user