From 355e9d0a5cc090d4ac60b6bb98783cfac437c11e Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 25 Apr 2014 19:21:18 +0200 Subject: correct munin script for audio levels --- doc/stats_dabmux_multi.py | 3 +++ 1 file changed, 3 insertions(+) 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']) -- cgit v1.2.3