From bd9dc48101a1a679b7cbe3b3f159460dd0fac3b0 Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 10 Sep 2017 10:35:19 +0200 Subject: 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@jenkins ~ % sudo -u munin munin-run df _dev_vda1.value 68.3826224440343 _tmp.value 0.114949544270833 _srv_workspace.value 7.53729629516602 mattia@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@jenkins ~ % Signed-off-by: Mattia Rizzolo --- hosts/jenkins/etc/munin/plugin-conf.d/df | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hosts/jenkins/etc/munin') diff --git a/hosts/jenkins/etc/munin/plugin-conf.d/df b/hosts/jenkins/etc/munin/plugin-conf.d/df index 43b0b03e..b3fdadcb 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 -- cgit v1.2.3-70-g09d2