From 4556623911d2c5834541c7ed1eb36975c23a1da4 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 31 Jan 2018 04:15:29 +0100 Subject: Fix omission in munin script --- doc/stats_dabmod_munin.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/stats_dabmod_munin.py b/doc/stats_dabmod_munin.py index d3b52ed..f0cf12c 100755 --- a/doc/stats_dabmod_munin.py +++ b/doc/stats_dabmod_munin.py @@ -2,6 +2,9 @@ # # present statistics from ODR-DabMod's # RC interface to munin +# +# Copy this file to /etc/munin/plugins/dabmod +# to use it, and make sure it's executable (chmod +x) import sys import json @@ -272,6 +275,8 @@ if len(sys.argv) == 1: # Plotting FCT is not useful because it overflows in 6s, and the poll # interval is usually 5min + tist_timestamp = get_rc_value("tist", "timestamp", sock) + re_tist_timestamp = re.compile(r"(\d+\.\d+)\ for\ frame\ FCT\ (\d+)", re.X) munin_values += "multigraph tist_timestamp\n" munin_values += handle_re("timestamp.value", re_tist_timestamp, tist_timestamp, 1) -- cgit v1.2.3