417003304a
write are at 0 and util is at 100 percent OBS-URL: https://build.opensuse.org/package/show/server:monitoring/monitoring-plugins-sar-perf?expand=0&rev=40
15 lines
675 B
Diff
15 lines
675 B
Diff
Index: check_sar_perf.py
|
|
===================================================================
|
|
--- check_sar_perf.py.orig
|
|
+++ check_sar_perf.py
|
|
@@ -99,7 +99,8 @@ class SarNRPE:
|
|
# Create dictionary
|
|
for i in range(len(columns)):
|
|
# Remove first column if data contains only letters
|
|
- if i != 0 or not search.match(data[i]):
|
|
+ #if i != 0 or not search.match(data[i]):
|
|
+ if (i != 0 or not search.match(data[i])) and (columns[i] != "DEV"):
|
|
# Remove characters that cause issues (%/)
|
|
badchars=['%','/']
|
|
columns[i] = ''.join(j for j in columns[i] if j not in badchars)
|