[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] jenkins-shell-monitor: raise diskusage warning level for /var/lib/schroot
Holger Levsen (@holger)
gitlab at salsa.debian.org
Thu Apr 27 21:31:17 BST 2023
Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net
Commits:
f66492e3 by Holger Levsen at 2023-04-27T22:31:04+02:00
jenkins-shell-monitor: raise diskusage warning level for /var/lib/schroot
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
1 changed file:
- bin/jenkins-shell-monitor.sh
Changes:
=====================================
bin/jenkins-shell-monitor.sh
=====================================
@@ -15,7 +15,7 @@
# define some warning levels (in gigabytes) for some directories
declare -A WARNING_LEVEL
WARNING_LEVEL['/var/lib/jenkins']=80
-WARNING_LEVEL['/var/lib/schroot']=50
+WARNING_LEVEL['/var/lib/schroot']=70
WARNING_LEVEL['/srv/schroots']=100
WARNING_LEVEL['/srv/reproducible-results/rbuild-debian']=50
WARNING_LEVEL['r-b-userContent../dbd*/buster']=5
@@ -44,6 +44,9 @@ main_loop() {
# most data is updated every 23 minutes in the outer loop,
# except some, which is only updated every 180 minutes...:
if [ $SEQ0 -eq 0 ] ; then
+ #
+ # gather directory stats
+ #
(
printf "%-45s %-5s %-5s %s\n" "mountpoint" "size" "avail" "usage"
for FILESYSTEM in /dev/vda1 /var/lib/jenkins/userContent/reproducible /srv/workspace /tmp ; do
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f66492e3331f2bd1ced5bd093c5a7ce9e81a5ef8
--
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/f66492e3331f2bd1ced5bd093c5a7ce9e81a5ef8
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/20230427/839734ea/attachment-0001.htm>
More information about the Qa-jenkins-scm
mailing list