From ee2d45c287c422294cc9f937e33f909d329d4f0c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 15 May 2016 00:20:48 +0200 Subject: 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 e1132263..44fa19a6 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 -- cgit v1.2.3-70-g09d2