Skip to content
GitLab
Menu
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
d0bfe224
Commit
d0bfe224
authored
Apr 04, 2018
by
Fulvio Galeazzi
Browse files
2018-04-05: FG; Updated cephPg.pl to Luminous.
parent
3eac504b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Ceph/Script/cephPg.pl
View file @
d0bfe224
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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