aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-18 17:01:15 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-01-18 17:01:15 +0100
commita312c10c18f3896d6ac4693ac27b3e9a00b9adf7 (patch)
treee878683c2c4106a19c05f9dbdcd023860cc6b613 /doc
parent23da95c5ca8ce23e43b3fc628a51e8fee44f2de1 (diff)
downloaddabmux-a312c10c18f3896d6ac4693ac27b3e9a00b9adf7.tar.gz
dabmux-a312c10c18f3896d6ac4693ac27b3e9a00b9adf7.tar.bz2
dabmux-a312c10c18f3896d6ac4693ac27b3e9a00b9adf7.zip
create multigraph zmq_inbuf again
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/stats_dabmux_multi.py7
1 files changed, 6 insertions, 1 deletions
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))