[Qa-jenkins-scm] [jenkins.debian.net] 01/01: install postfix and configure munin

Holger Levsen holger at moszumanska.debian.org
Mon Aug 10 17:02:57 UTC 2015


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 ffcb145b580a35972d1be48798188f92cf760348
Author: Holger Levsen <holger at layer-acht.org>
Date:   Mon Aug 10 19:01:37 2015 +0200

    install postfix and configure munin
---
 update_jdn.sh | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/update_jdn.sh b/update_jdn.sh
index c4a874f..c205f71 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -121,6 +121,7 @@ if [ -f /etc/debian_version ] ; then
 			munin-node
 			munin-plugins-extra 
 			pigz 
+			postfix
 			python3-psycopg2 
 			schroot 
 			screen 
@@ -271,7 +272,12 @@ if [ "$HOSTNAME" = "jenkins" ] ; then
 fi
 
 if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then
-	cd /etc/munin/plugins ; sudo rm -f postfix_* open_inodes df_inode interrupts irqstats threads proc_pri vmstat if_err_eth0 fw_forwarded_local fw_packets forks open_files users 2>/dev/null
+	cd /etc/munin/plugins
+	sudo rm -f postfix_* open_inodes df_inode interrupts irqstats threads proc_pri vmstat if_err_* exim_* netstat fw_forwarded_local fw_packets forks open_files users 2>/dev/null
+	case $HOSTNAME in
+			jenkins|profitbricks-build?-amd64) [ -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/apache_accesses ] ; then
 		for i in apache_accesses apache_volume ; do sudo ln -s /usr/share/munin/plugins/$i $i ; done
 	fi

-- 
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