From 6ed53129450fbc5d80531acd2eac1e3deac75b0a Mon Sep 17 00:00:00 2001 From: Barry de Graaff <4353213+barrydegraaff@users.noreply.github.com> Date: Thu, 4 Jul 2024 09:05:40 +0200 Subject: [PATCH] ZBUG-4177 Exclude devices prevent disk warning --- src/libexec/zmstat-df | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libexec/zmstat-df b/src/libexec/zmstat-df index b8a15892f..268eee060 100644 --- a/src/libexec/zmstat-df +++ b/src/libexec/zmstat-df @@ -35,7 +35,7 @@ chomp $hostname; my $platform = qx(/opt/zimbra/libexec/get_plat_tag.sh); chomp $platform; -my $DF = '/bin/df -k'; +my $DF = '/bin/df -k -x squashfs -x udev -x devtmpfs -x overlay -x efivarfs'; my $HEADING = 'timestamp, path, disk, disk_use, disk_space, disk_pct_used'; my @DF_EXCLUDES = split(/:/, getLocalConfig("zmstat_df_excludes") || "");