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
47877156
Commit
47877156
authored
Aug 29, 2019
by
Fulvio Galeazzi
Browse files
2019-09-29: FG; Fix bug causing missing info min/maxfrac when disk broken.
parent
dfcf92f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Ceph/Script/cephDiskPerf.pl
View file @
47877156
...
...
@@ -235,6 +235,7 @@ if ($selectSizeOrDev) {
next
if
$aKey
>=
$selectMax
;
foreach
my
$elem
(
sort
{
$a
<=>
$b
}
@
{
$dataSizeH
{
$aKey
}})
{
next
if
(
$thisHost
&&
not
exists
$osdThisHost
{
$elem
});
next
if
(
not
defined
$dataHash
{
$elem
}{
$perfType
});
print
"
PerfType;ush: OSD=
$elem
size=
$aKey
lat=
"
.
$dataHash
{
$elem
}{
$perfType
}
.
"
\n
"
if
(
defined
$opt_debug
);
push
(
@latArray
,
$dataHash
{
$elem
}{
$perfType
});
$count
++
;
...
...
@@ -251,6 +252,7 @@ if ($selectSizeOrDev) {
next
unless
$aKey
=~
$selectSize
;
foreach
my
$elem
(
sort
{
$a
<=>
$b
}
@
{
$dataTypeH
{
$aKey
}})
{
next
if
(
$thisHost
&&
not
exists
$osdThisHost
{
$elem
});
next
if
(
not
defined
$dataHash
{
$elem
}{
$perfType
});
print
"
Push: OSD=
$elem
size=
$aKey
lat=
"
.
$dataHash
{
$elem
}{
$perfType
}
.
"
\n
"
if
(
defined
$opt_debug
);
push
(
@latArray
,
$dataHash
{
$elem
}{
$perfType
});
$count
++
;
...
...
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