summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hosts/jenkins/etc/munin/plugin-conf.d/jenkins_oom5
-rwxr-xr-xupdate_jdn.sh1
2 files changed, 6 insertions, 0 deletions
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 00000000..a249d3ce
--- /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 58d3cf01..d2a51fce 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