aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-31 04:50:48 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-31 04:50:48 +0100
commit61a6b19c48da87d6e64ee3cc5d207c95d7ab7e4a (patch)
tree7a1bdbf65b7285fe2254b1bcee81ebb835e717c3
parent21d54ff7296ff33c11b9f7b788417a11e702f0d0 (diff)
downloaddabmux-61a6b19c48da87d6e64ee3cc5d207c95d7ab7e4a.tar.gz
dabmux-61a6b19c48da87d6e64ee3cc5d207c95d7ab7e4a.tar.bz2
dabmux-61a6b19c48da87d6e64ee3cc5d207c95d7ab7e4a.zip
Define RCException in munin script
-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 605e717..e374e07 100755
--- a/doc/stats_dabmux_multi.py
+++ b/doc/stats_dabmux_multi.py
@@ -104,6 +104,9 @@ state.critical 2:4
ctx = zmq.Context()
+class RCException(Exception):
+ pass
+
if not os.environ.get("MUNIN_CAP_MULTIGRAPH"):
sys.stderr.write("This needs munin version 1.4 at least\n")
sys.exit(1)