Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CSD
public
zabbix-templates
Commits
ed631aa9
Commit
ed631aa9
authored
Nov 17, 2022
by
Fulvio Galeazzi
Browse files
2022-11-17: FG; Updates for Pacific output.
parent
fd86aed4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Ceph/Script/cephUsage.pl
View file @
ed631aa9
...
...
@@ -142,7 +142,7 @@ if (defined $opt_filter) {
}
# Fetch the data and put it in an array
my
@_data
=
`
$cephCmd
df
detail
`;
my
@_data
=
`
$cephCmd
df
`;
chomp
@_data
;
my
%poolHash
;
...
...
@@ -155,10 +155,6 @@ foreach my $_line (@_data)
$skipNext
=
0
;
next
;
}
if
(
$_line
=~
m/^\w+/
)
{
$skipNext
=
1
;
next
;
}
$_line
=~
s/^\s+//
;
my
@fields
=
split
(
/\s+/
,
$_line
);
if
(
$_line
=~
m/TOTAL/
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment