From d0bfe22441b36e8946f874afa2b127dbde274b7d Mon Sep 17 00:00:00 2001 From: Fulvio Galeazzi <fulvio.galeazzi@garr.it> Date: Wed, 4 Apr 2018 09:07:34 +0200 Subject: [PATCH] 2018-04-05: FG; Updated cephPg.pl to Luminous. --- Ceph/Script/cephPg.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ceph/Script/cephPg.pl b/Ceph/Script/cephPg.pl index 8562e8f..13ca5c2 100755 --- a/Ceph/Script/cephPg.pl +++ b/Ceph/Script/cephPg.pl @@ -134,7 +134,7 @@ foreach my $_line (@_data) if ($skipNext) { next; } - if ($_line =~ m/^v\S+:\s+(\d+)\s+pgs:([^;]*)/) { + if ($_line =~ m/^(\d+)\s+pgs:([^;]*)/) { $skipNext = 1; $pgHash{'tot'} = $1; my $linePart = $2; -- GitLab