summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2016-05-15 00:20:48 +0200
committerHolger Levsen <holger@layer-acht.org>2016-05-15 00:20:48 +0200
commitee2d45c287c422294cc9f937e33f909d329d4f0c (patch)
tree0799e4e482bd1f8ee8b62ab6baac52facd814b04
parenta8959b727f2e3109a4f82a4d4a1b964c276aa8fd (diff)
downloadjenkins.debian.net-ee2d45c287c422294cc9f937e33f909d329d4f0c.tar.xz
we only care about iostat monitoring on jenkins, if at all
-rwxr-xr-xupdate_jdn.sh3
1 files changed, 3 insertions, 0 deletions
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