[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] jenkins: enable fail2ban everywhere and monitor it with munin
Holger Levsen (@holger)
gitlab at salsa.debian.org
Sat Mar 25 15:56:51 GMT 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
2d5c765d by Holger Levsen at 2023-03-25T16:56:32+01:00
jenkins: enable fail2ban everywhere and monitor it with munin
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- update_jdn.sh
Changes:
=====================================
update_jdn.sh
=====================================
@@ -314,6 +314,7 @@ if [ -f /etc/debian_version ] ; then
cdebootstrap-
debootstrap
devscripts
+ fail2ban
eatmydata
etckeeper
figlet
@@ -723,6 +724,11 @@ fi
if ! $UP2DATE || [ $BASEDIR/hosts/$HOSTNAME/etc/munin -nt $STAMP ] ; then
cd /etc/munin/plugins
+ # enable some plugins everywhere, currently just fail2ban
+ for i in fail2ban ; do
+ [ -e $i ] || sudo ln -s /usr/share/munin/plugins/$i $i
+ done
+ # delete some everywhere
sudo rm -f postfix_* open_inodes interrupts irqstats threads proc_pri vmstat if_err_* exim_* netstat fw_forwarded_local fw_packets forks open_files users nfs* iostat_ios ntp* df_abs entropy 2>/dev/null
case $HOSTNAME in
ionos1-a*|ionos10*|codethink16*|osuosl*) [ -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 ;;
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2d5c765d0a11c83f14b44fe976985c5a642425e1
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/2d5c765d0a11c83f14b44fe976985c5a642425e1
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20230325/4ffd890f/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list