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
ee2d45c2
Commit
ee2d45c2
authored
May 15, 2016
by
Holger Levsen
Browse files
we only care about iostat monitoring on jenkins, if at all
parent
a8959b72
Changes
1
Hide whitespace changes
Inline
Side-by-side
update_jdn.sh
View file @
ee2d45c2
...
@@ -426,6 +426,9 @@ if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then
...
@@ -426,6 +426,9 @@ if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then
jenkins|profitbricks-build
*
)
[
-L
/etc/munin/plugins/squid_cache
]
||
for
i
in
squid_cache squid_objectsize squid_requests squid_traffic
;
do
sudo ln
-s
/usr/share/munin/plugins/
$i
$i
;
done
;;
jenkins|profitbricks-build
*
)
[
-L
/etc/munin/plugins/squid_cache
]
||
for
i
in
squid_cache squid_objectsize squid_requests squid_traffic
;
do
sudo ln
-s
/usr/share/munin/plugins/
$i
$i
;
done
;;
*
)
;;
*
)
;;
esac
esac
if
[
"
$HOSTNAME
"
!=
"jenkins"
]
&&
[
-L
/etc/munin/plugins/iostat
]
;
then
sudo rm
/etc/munin/plugins/iostat
fi
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
sudo ln
-s
/usr/share/munin/plugins/loggrep jenkins_oom
...
...
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