aboutsummaryrefslogtreecommitdiffstats
path: root/doc/stats_dabmux_multi.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-25 19:21:18 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-04-25 19:21:18 +0200
commit355e9d0a5cc090d4ac60b6bb98783cfac437c11e (patch)
tree7f171a28d9779a49f426b66962954aca7c56a266 /doc/stats_dabmux_multi.py
parentb88951203627bf218ca43c9bfbc5e3252fd62213 (diff)
downloaddabmux-355e9d0a5cc090d4ac60b6bb98783cfac437c11e.tar.gz
dabmux-355e9d0a5cc090d4ac60b6bb98783cfac437c11e.tar.bz2
dabmux-355e9d0a5cc090d4ac60b6bb98783cfac437c11e.zip
correct munin script for audio levels
Diffstat (limited to 'doc/stats_dabmux_multi.py')
-rwxr-xr-xdoc/stats_dabmux_multi.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/stats_dabmux_multi.py b/doc/stats_dabmux_multi.py
index 23a2974..a3c9fde 100755
--- a/doc/stats_dabmux_multi.py
+++ b/doc/stats_dabmux_multi.py
@@ -59,10 +59,12 @@ graph_info This graph shows the audio level of both channels of the {ident} ZMQ
left.info Left channel audio level
left.label Left channel audio level
left.min -90
+left.max 0
left.warning -90:-90
right.info Right channel audio level
right.label Right channel audio level
right.min -90
+right.max 0
right.warning -90:-90
"""
@@ -100,6 +102,7 @@ if len(sys.argv) == 1:
munin_values += "multigraph over_underruns_{ident}\n".format(ident=ident)
munin_values += "underruns.value {}\n".format(v['num_underruns'])
munin_values += "overruns.value {}\n".format(v['num_overruns'])
+ munin_values += "multigraph audio_levels_{ident}\n".format(ident=ident)
munin_values += "left.value {}\n".format(v['peak_left'])
munin_values += "right.value {}\n".format(v['peak_right'])