From: Quentin Smith Date: Mon, 6 Jan 2014 08:07:56 +0000 (-0500) Subject: AREASTACK on non-drawn graphs confuses Munin X-Git-Tag: 0.0.18^0 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/xvm-munin-config.git/commitdiff_plain/refs/heads/quentin AREASTACK on non-drawn graphs confuses Munin --- diff --git a/host/usr/share/xvm-munin-host-config/plugins/xen_net b/host/usr/share/xvm-munin-host-config/plugins/xen_net index 826ba8b..23b20ad 100755 --- a/host/usr/share/xvm-munin-host-config/plugins/xen_net +++ b/host/usr/share/xvm-munin-host-config/plugins/xen_net @@ -88,15 +88,16 @@ graph_period second""" for direction in ('down', 'up'): key = "%s_%s" % (d, direction) print "%s.label %s" % (key, domains[d]['munin_name']) - print "%s.draw AREASTACK" % key print "%s.max 10000000000" % key print "%s.min 0" % key print "%s.type DERIVE" % key print "%s.cdef %s,8,*" % (key, key) if direction == 'down': print "%s.graph no" % key + print "%s.draw LINE1" % key else: print "%s.negative %s_down" % (key, d) + print "%s.draw AREASTACK" % key print "%s.info uuid %s" % (key, domains[d]['uuid']) sys.exit(0)