mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-24 18:07:20 +00:00
Fix y-axis pinned to zero - Munin bug workaround
This commit is contained in:
parent
b7a1903d2e
commit
c495be36aa
1 changed files with 4 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue