[Qa-jenkins-scm] [jenkins.debian.net] 01/01: munin: use the same df configuration in jenkins of all the other hosts

Mattia Rizzolo mattia at debian.org
Sun Sep 10 08:38:17 UTC 2017


This is an automated email from the git hooks/post-receive script.

mattia pushed a commit to branch master
in repository jenkins.debian.net.

commit bd9dc48101a1a679b7cbe3b3f159460dd0fac3b0
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Sep 10 10:35:19 2017 +0200

    munin: use the same df configuration in jenkins of all the other hosts
    
    This actually fixes some things:
     * includes / without any special include_re option
     * includes /var/lib/jenkins/jobs previously excluded
     * includes /var/lib/jenkins/userContent/reproducible previously excluded
    
    That's because the "/dev" exclusion done before would exclude *all*
    filesystems except tmpfs ones unless explcitly included.
    
    Before and after this change:
    
    mattia at jenkins ~ % sudo -u munin munin-run df
    _dev_vda1.value 68.3826224440343
    _tmp.value 0.114949544270833
    _srv_workspace.value 7.53729629516602
    mattia at jenkins ~ % sudo -u munin munin-run df
    _dev_vda1.value 67.8452744054589
    _tmp.value 0.114415486653646
    _srv_workspace.value 6.10711669921875
    _dev_vde1.value 46.6654873821986
    _dev_mapper_reproducible_userContent.value 67.0841474271059
    mattia at jenkins ~ %
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
---
 hosts/jenkins/etc/munin/plugin-conf.d/df | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/hosts/jenkins/etc/munin/plugin-conf.d/df b/hosts/jenkins/etc/munin/plugin-conf.d/df
index 43b0b03..b3fdadc 100644
--- a/hosts/jenkins/etc/munin/plugin-conf.d/df
+++ b/hosts/jenkins/etc/munin/plugin-conf.d/df
@@ -1,7 +1,6 @@
 [df*]
 env.exclude none unknown iso9660 squashfs udf romfs ramfs debugfs devtmpfs sysfs
-env.include_re ^/$
-env.exclude_re /srv/workspace/pbuilder /run /dev/disk/by /var/lib/schroot/mount /srv/workspace/varlibschroot /dev /sys/fs/cgroup
+env.exclude_re /srv/workspace/pbuilder /run /dev/disk/by /var/lib/schroot/mount /srv/workspace/varlibschroot /dev/shm /sys/fs/cgroup
 env.warning 92
 env.critical 98
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list