From aa2d22c92a523efd26cd575320ab90df5c94e744 Mon Sep 17 00:00:00 2001 From: Soulou Date: Wed, 2 Nov 2016 00:09:43 +0100 Subject: Support CGI graphs --- test/munin/.gitkeep | 0 test/start_test.sh | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 test/munin/.gitkeep create mode 100755 test/start_test.sh (limited to 'test') diff --git a/test/munin/.gitkeep b/test/munin/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/test/start_test.sh b/test/start_test.sh new file mode 100755 index 0000000..7f81e69 --- /dev/null +++ b/test/start_test.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +if [ -z "$1" ] ; then + echo "usage: $0 " + exit 1 +fi + +basedir="$( cd -P "$( dirname "$0" )" && pwd )/munin" + +docker run -it \ + -p 8080:8080 \ + -v $basedir/log:/var/log/munin \ + -v $basedir/lib:/var/lib/munin \ + -v $basedir/run:/run/munin \ + -v $basedir/cache:/var/cache/munin \ + -e MUNIN_USER=user \ + -e MUNIN_PASSWORD=secret \ + -e NODES="172.17.0.1:$(hostname)" \ + $1 -- cgit v1.2.3