summaryrefslogtreecommitdiffstats
path: root/start-munin.sh
diff options
context:
space:
mode:
authorSoulou <leo.unbek@gmail.com>2016-11-02 00:11:51 +0100
committerGitHub <noreply@github.com>2016-11-02 00:11:51 +0100
commit73d0b3879b90fb48a9177a03382cfd132ab5c431 (patch)
treee786e6d4a761f598eec5e4753c70fdb258f04b10 /start-munin.sh
parent6580e4949d3f3cf3f1972df9a7ce284dddae96b4 (diff)
parentaa2d22c92a523efd26cd575320ab90df5c94e744 (diff)
downloadmunin-73d0b3879b90fb48a9177a03382cfd132ab5c431.tar.gz
munin-73d0b3879b90fb48a9177a03382cfd132ab5c431.tar.bz2
munin-73d0b3879b90fb48a9177a03382cfd132ab5c431.tar.xz
munin-73d0b3879b90fb48a9177a03382cfd132ab5c431.zip
Merge pull request #7 from Scalingo/support_cgi
Support CGI graphs
Diffstat (limited to 'start-munin.sh')
-rw-r--r--start-munin.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/start-munin.sh b/start-munin.sh
index 6df87cc..fda929c 100644
--- a/start-munin.sh
+++ b/start-munin.sh
@@ -114,6 +114,8 @@ fi
/usr/sbin/munin-node
echo "Using the following munin nodes:"
echo $NODES
+# start spawn-cgi to enable CGI interface with munin (dynamix graph generation)
+spawn-fcgi -s /var/run/munin/fcgi-graph.sock -U munin -u munin -g munin /usr/lib/munin/cgi/munin-cgi-graph
# start nginx
/usr/sbin/nginx
# show logs