[Qa-jenkins-scm] [jenkins.debian.net] 01/01: we only care about iostat monitoring on jenkins, if at all

Holger Levsen holger at layer-acht.org
Sat May 14 22:21:25 UTC 2016


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit ee2d45c287c422294cc9f937e33f909d329d4f0c
Author: Holger Levsen <holger at layer-acht.org>
Date:   Sun May 15 00:20:48 2016 +0200

    we only care about iostat monitoring on jenkins, if at all
---
 update_jdn.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/update_jdn.sh b/update_jdn.sh
index e113226..44fa19a 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -426,6 +426,9 @@ if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then
 			jenkins|profitbricks-build*) [ -L /etc/munin/plugins/squid_cache ] || for i in squid_cache squid_objectsize squid_requests squid_traffic ; do sudo ln -s /usr/share/munin/plugins/$i $i ; done ;;
 			*)	;;
 	esac
+	if [ "$HOSTNAME" != "jenkins" ] && [ -L /etc/munin/plugins/iostat ] ; then
+		sudo rm /etc/munin/plugins/iostat
+	fi
 	if [ "$HOSTNAME" = "jenkins" ] && [ ! -L /etc/munin/plugins/apache_accesses ] ; then
 		for i in apache_accesses apache_volume ; do sudo ln -s /usr/share/munin/plugins/$i $i ; done
 		sudo ln -s /usr/share/munin/plugins/loggrep jenkins_oom

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list