Commit e6364055 authored by Helmut Grohne's avatar Helmut Grohne
Browse files

add a munin plugin to plot OutOfMemoryError exceptions

parent 5b0a2dc2
[jenkins_oom]
env.logfile /var/log/jenkins/jenkins.log
env.title Jenkins OutOfMemoryErrors
env.regex OutOfMemoryError
env.label OutOfMemoryError
...@@ -328,6 +328,7 @@ if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then ...@@ -328,6 +328,7 @@ if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then
esac esac
if [ "$HOSTNAME" = "jenkins" ] && [ ! -L /etc/munin/plugins/apache_accesses ] ; then 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 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 fi
sudo service munin-node force-reload sudo service munin-node force-reload
fi fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment