mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
Category Tree: Reduce number of categories
This commit is contained in:
parent
d5440def19
commit
3c98d06933
19 changed files with 25 additions and 25 deletions
|
@ -64,7 +64,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config":
|
|||
# Parent graph declaration
|
||||
print "multigraph nginx_cache_multi_%s" % graph_type
|
||||
print "graph_title Nginx cache status (%s)" % graph_type
|
||||
print "graph_category nginx"
|
||||
print "graph_category webserver"
|
||||
print "graph_vlabel %s" % vlabel
|
||||
if graph_args:
|
||||
print(graph_args)
|
||||
|
@ -80,7 +80,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config":
|
|||
if key != "TOTAL":
|
||||
print "multigraph nginx_cache_multi_%s.%s" % (graph_type, key.lower())
|
||||
print "graph_title Nginx cache status (%s) - %s" % (graph_type, key.capitalize())
|
||||
print "graph_category nginx"
|
||||
print "graph_category webserver"
|
||||
print "graph_vlabel %s" % vlabel
|
||||
print "%s.label %s" % (key.lower(), key.capitalize())
|
||||
print "%s.draw LINE1" % key.lower()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue