Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Debian QA
jenkins.debian.net
Commits
e6364055
Commit
e6364055
authored
Nov 06, 2015
by
Helmut Grohne
Browse files
add a munin plugin to plot OutOfMemoryError exceptions
parent
5b0a2dc2
Changes
2
Hide whitespace changes
Inline
Side-by-side
hosts/jenkins/etc/munin/plugin-conf.d/jenkins_oom
0 → 100644
View file @
e6364055
[jenkins_oom]
env.logfile /var/log/jenkins/jenkins.log
env.title Jenkins OutOfMemoryErrors
env.regex OutOfMemoryError
env.label OutOfMemoryError
update_jdn.sh
View file @
e6364055
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment