From: Russ Allbery Date: Thu, 10 Jan 2013 03:50:40 +0000 (-0800) Subject: check_afs_quotas: Return to only checking quota for RW volumes X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=d1465b464aff2f2b6d20fd9be6a005aaee0b0cd1;p=packages%2Fa%2Fafs-monitor.git check_afs_quotas: Return to only checking quota for RW volumes After Michael Meffie's fix, we can restore the behavior of not checking quota on RO and BK volumes, where the concept isn't really meaningful. --- diff --git a/check_afs_quotas b/check_afs_quotas index 943455d..5e6dd09 100755 --- a/check_afs_quotas +++ b/check_afs_quotas @@ -103,7 +103,7 @@ sub serverinfo { my ($volume, %results); local $_; while () { - if (/^(\S+)\s+\d+ (?:RW|RO|BK)\s+(\d+) K\s+On-line\s*$/) { + if (/^(\S+)\s+\d+ RW\s+(\d+) K\s+On-line\s*$/) { $volume = $1; $results{$volume}{size} = $2; } elsif (/^\s+MaxQuota\s+(\d+) K\s*$/) {