[Qa-jenkins-scm] [jenkins.debian.net] 01/01: add a munin plugin to plot OutOfMemoryError exceptions

Helmut Grohne helmutg at moszumanska.debian.org
Fri Nov 6 17:17:45 UTC 2015


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

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

commit e6364055aef2d9d660349e060ec909f08d3943e1
Author: Helmut Grohne <helmut at subdivi.de>
Date:   Fri Nov 6 18:17:10 2015 +0100

    add a munin plugin to plot OutOfMemoryError exceptions
---
 hosts/jenkins/etc/munin/plugin-conf.d/jenkins_oom | 5 +++++
 update_jdn.sh                                     | 1 +
 2 files changed, 6 insertions(+)

diff --git a/hosts/jenkins/etc/munin/plugin-conf.d/jenkins_oom b/hosts/jenkins/etc/munin/plugin-conf.d/jenkins_oom
new file mode 100644
index 0000000..a249d3c
--- /dev/null
+++ b/hosts/jenkins/etc/munin/plugin-conf.d/jenkins_oom
@@ -0,0 +1,5 @@
+[jenkins_oom]
+env.logfile /var/log/jenkins/jenkins.log
+env.title Jenkins OutOfMemoryErrors
+env.regex OutOfMemoryError
+env.label OutOfMemoryError
diff --git a/update_jdn.sh b/update_jdn.sh
index 58d3cf0..d2a51fc 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -328,6 +328,7 @@ if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then
 	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
+		sudo ln -s /usr/share/munin/plugins/loggrep jenkins_oom
 	fi
 	sudo service munin-node force-reload
 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