Module: check_mk
Branch: master
Commit: ad9a08c313ab838990106bdba9e0f613a3b3c639
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ad9a08c313ab83…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Dec 18 09:59:47 2014 +0100
#1772 FIX lparstat_aix: Check handles already working agent output again
---
.werks/1772 | 10 ++++++++++
ChangeLog | 1 +
checks/lparstat_aix | 8 ++++++--
3 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.werks/1772 b/.werks/1772
new file mode 100644
index 0000000..d97313f
--- /dev/null
+++ b/.werks/1772
@@ -0,0 +1,10 @@
+Title: lparstat_aix: Check handles already working agent output again
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i1
+Date: 1418893154
+
+
diff --git a/ChangeLog b/ChangeLog
index 54855cb..712ba0f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -26,6 +26,7 @@
* 1770 FIX: megaraid_pdisks: Now handling unconfigured good/bad states...
* 1771 FIX: domino_mailqueues: Fixed exception during inventory when no data usable
data available
* 1208 FIX: netwroks_fs: Detects now not reachable cifs mounts
+ * 1772 FIX: lparstat_aix: Check handles already working agent output again
Multisite:
* 1758 Improved exception hander: Shows details without additional debug request,
added mailto link for error report...
diff --git a/checks/lparstat_aix b/checks/lparstat_aix
index 20ffa17..134f445 100644
--- a/checks/lparstat_aix
+++ b/checks/lparstat_aix
@@ -43,10 +43,14 @@ def inventory_lparstat(info):
def check_lparstat(item, params, info):
line = info[0]
- if len(line) == 9:
+ if len(line) == 10:
+ cols = [ 'physc', 'entc', 'lbusy', 'app',
'vcsw', 'phint' ]
+ uom = [ '', '%', '', '',
'', '' ]
+ values = line[-6:]
+ elif len(line) == 9:
cols = [ 'physc', 'entc', 'lbusy', 'app' ]
uom = [ '', '%', '', '' ]
- values = line[-4]
+ values = line[-4:]
elif len(line) == 6:
cols = [ 'nsp', 'utcyc' ]
uom = [ '%', '%' ]