diff options
author | Holger Levsen <holger@layer-acht.org> | 2016-05-15 00:20:48 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2016-05-15 00:20:48 +0200 |
commit | ee2d45c287c422294cc9f937e33f909d329d4f0c (patch) | |
tree | 0799e4e482bd1f8ee8b62ab6baac52facd814b04 | |
parent | a8959b727f2e3109a4f82a4d4a1b964c276aa8fd (diff) | |
download | jenkins.debian.net-ee2d45c287c422294cc9f937e33f909d329d4f0c.tar.xz |
we only care about iostat monitoring on jenkins, if at all
-rwxr-xr-x | update_jdn.sh | 3 |
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 |