AREASTACK on non-drawn graphs confuses Munin
[invirt/packages/xvm-munin-config.git] / host / usr / share / xvm-munin-host-config / plugins / xen_net
index 826ba8b..23b20ad 100755 (executable)
@@ -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)