From a312c10c18f3896d6ac4693ac27b3e9a00b9adf7 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Sat, 18 Jan 2014 17:01:15 +0100 Subject: create multigraph zmq_inbuf again --- doc/stats_dabmux_multi.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/stats_dabmux_multi.py b/doc/stats_dabmux_multi.py index 16e65e9..bd90dce 100755 --- a/doc/stats_dabmux_multi.py +++ b/doc/stats_dabmux_multi.py @@ -8,6 +8,11 @@ import json import socket import os +config_top = """ +multigraph zmq_inbuf +graph_category dabux +""" + config_template = """ multigraph zmq_inbuf.id_{ident} @@ -91,7 +96,7 @@ elif len(sys.argv) == 2 and sys.argv[1] == "config": config = json.loads(sock.recv(256)) - munin_config = "" + munin_config = config_top for conf in config['config']: munin_config += config_template.format(ident=get_id_from_uri(conf)) -- cgit v1.2.3