- check_iostat: fix to work with iostat on sle15
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=14
This commit is contained in:
parent
315c48ab46
commit
d7a583cfc0
@ -122,7 +122,7 @@ while (<IOSTAT>) {
|
||||
$iowait = $stats[4];
|
||||
next;
|
||||
}
|
||||
if (/^Device:/) {
|
||||
if (/^Device/) {
|
||||
my @hdrs = split('\s+', $_);
|
||||
my ($search_rps) = grep { $hdrs[$_] eq "r/s" } 0..$#hdrs;
|
||||
$field_rps = $search_rps if $search_rps;
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 10 11:08:51 CEST 2018 - ro@suse.de
|
||||
|
||||
- check_iostat: fix to work with iostat on sle15
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 15 12:52:11 CET 2017 - ro@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package monitoring-plugins-sar-perf
|
||||
#
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
|
Loading…
Reference in New Issue
Block a user