diff options
author | Helmut Grohne <helmut@subdivi.de> | 2015-11-06 18:17:10 +0100 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2015-11-06 18:17:10 +0100 |
commit | e6364055aef2d9d660349e060ec909f08d3943e1 (patch) | |
tree | 11dc1d171a10b935efc1b49ae8776ee3e472fe08 | |
parent | 5b0a2dc249bd25dbc7a0c8c911f80a7ffc94dcd2 (diff) | |
download | jenkins.debian.net-e6364055aef2d9d660349e060ec909f08d3943e1.tar.xz |
add a munin plugin to plot OutOfMemoryError exceptions
-rw-r--r-- | hosts/jenkins/etc/munin/plugin-conf.d/jenkins_oom | 5 | ||||
-rwxr-xr-x | update_jdn.sh | 1 |
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 |