From faf64a0cec347d6b0fb21ffbc0b87b1607ad36ef Mon Sep 17 00:00:00 2001 From: Quentin Smith Date: Mon, 6 Jan 2014 03:07:56 -0500 Subject: [PATCH] AREASTACK on non-drawn graphs confuses Munin --- .../share/xvm-munin-host-config/plugins/xen_net | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 1.7.9.5