diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-18 17:01:15 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-01-18 17:01:15 +0100 |
commit | a312c10c18f3896d6ac4693ac27b3e9a00b9adf7 (patch) | |
tree | e878683c2c4106a19c05f9dbdcd023860cc6b613 /doc/stats_dabmux_multi.py | |
parent | 23da95c5ca8ce23e43b3fc628a51e8fee44f2de1 (diff) | |
download | dabmux-a312c10c18f3896d6ac4693ac27b3e9a00b9adf7.tar.gz dabmux-a312c10c18f3896d6ac4693ac27b3e9a00b9adf7.tar.bz2 dabmux-a312c10c18f3896d6ac4693ac27b3e9a00b9adf7.zip |
create multigraph zmq_inbuf again
Diffstat (limited to 'doc/stats_dabmux_multi.py')
-rwxr-xr-x | doc/stats_dabmux_multi.py | 7 |
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)) |