2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Removed totals from child graphs and changed draw method for better readability

This commit is contained in:
iborodikhin 2012-10-03 16:09:07 +06:00
parent f6276fc91a
commit 80cb77cb31

View File

@ -78,14 +78,9 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config":
print "graph_title Nginx cache status (%s) - %s" % (graph_type, key.capitalize()) print "graph_title Nginx cache status (%s) - %s" % (graph_type, key.capitalize())
print "graph_category nginx" print "graph_category nginx"
print "graph_vlabel %s" % vlabel print "graph_vlabel %s" % vlabel
print "total.label Total"
print "total.draw AREA"
print "total.min 0"
print "total.colour ff0000"
print "%s.label %s" % (key.lower(), key.capitalize()) print "%s.label %s" % (key.lower(), key.capitalize())
print "%s.draw AREA" % key.lower() print "%s.draw LINE1" % key.lower()
print "%s.min 0" % key.lower() print "%s.min 0" % key.lower()
print "%s.colour 0000ff" % key.lower()
print "" print ""
else: else:
last_byte_file = "%s/%s_state" % (state_dir, prog_name) last_byte_file = "%s/%s_state" % (state_dir, prog_name)