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
f2a87796
Unverified
Commit
f2a87796
authored
Oct 11, 2016
by
Holger Levsen
Browse files
monitor postfix on jenkins.d.n
parent
d4edccee
Changes
1
Hide whitespace changes
Inline
Side-by-side
update_jdn.sh
View file @
f2a87796
...
@@ -507,6 +507,10 @@ if [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] || [ ! -f $STAMP ] ; then
...
@@ -507,6 +507,10 @@ 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
case
$HOSTNAME
in
jenkins
)
[
-L
/etc/munin/plugins/postfix_mailstats
]
||
for
i
in
postfix_mailstats postfix_mailvolume postfix_mailqueue
;
do
sudo ln
-s
/usr/share/munin/plugins/
$i
$i
;
done
;;
*
)
;;
esac
if
[
"
$HOSTNAME
"
!=
"jenkins"
]
&&
[
-L
/etc/munin/plugins/iostat
]
;
then
if
[
"
$HOSTNAME
"
!=
"jenkins"
]
&&
[
-L
/etc/munin/plugins/iostat
]
;
then
sudo rm
/etc/munin/plugins/iostat
sudo rm
/etc/munin/plugins/iostat
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