From 9757cd63ee83c185c45d52ad7a998c3c5146bc08 Mon Sep 17 00:00:00 2001 From: Julien Allary <julien.allary@ubicast.eu> Date: Fri, 30 Sep 2016 15:57:43 +0200 Subject: [PATCH] modified munin configuration --- 31.Install_munin/0_setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/31.Install_munin/0_setup.sh b/31.Install_munin/0_setup.sh index 7c20ea18..f3d98fb2 100755 --- a/31.Install_munin/0_setup.sh +++ b/31.Install_munin/0_setup.sh @@ -18,15 +18,17 @@ echo '' >> /etc/munin/plugin-conf.d/munin-node echo '[nginx*]' >> /etc/munin/plugin-conf.d/munin-node echo 'env.url http://127.0.0.1/nginx_status' >> /etc/munin/plugin-conf.d/munin-node echo 'env.ua nginx-status-verifier/0.1' >> /etc/munin/plugin-conf.d/munin-node -cp nginx* /usr/share/munin/plugins/uwsgi_ +cp nginx* /usr/share/munin/plugins/ ln -s /usr/share/munin/plugins/nginx-combined /etc/munin/plugins/ ln -s /usr/share/munin/plugins/nginx_connection_request /etc/munin/plugins/ ln -s /usr/share/munin/plugins/nginx_error /etc/munin/plugins/ ln -s /usr/share/munin/plugins/nginx_memory /etc/munin/plugins/ ln -s /usr/share/munin/plugins/nginx_vhost_traffic /etc/munin/plugins/ ln -s /usr/share/munin/plugins/nginx_working_set /etc/munin/plugins/ +ln -s /usr/share/munin/plugins/nginx_request /etc/munin/plugins/nginx_request +ln -s /usr/share/munin/plugins/nginx_status /etc/munin/plugins/nginx_status # http_response_time -cp http_response_time_ /usr/share/munin/plugins/uwsgi_ +cp http_response_time_ /usr/share/munin/plugins/ chmod +x /usr/share/munin/plugins/http_response_time_ ln -s /usr/share/munin/plugins/http_response_time_ /etc/munin/plugins/http_response_time_ms cat << EOF >> /etc/munin/plugin-conf.d/munin-node -- GitLab