Module: check_mk
Branch: master
Commit: 50009a6f735c8d0695594bd3d016b47386c60cb0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=50009a6f735c8d…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Jun 9 11:47:13 2015 +0200
lparstat_aix: Added supported for antother (not yet known) version
---
checks/lparstat_aix | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/checks/lparstat_aix b/checks/lparstat_aix
index 9bcf6ca..2b0895b 100644
--- a/checks/lparstat_aix
+++ b/checks/lparstat_aix
@@ -60,6 +60,10 @@ def check_lparstat(item, params, info):
cols = [ 'physc', 'entc', 'lbusy', 'app',
'vcsw', 'phint', 'nsp', 'utcyc' ]
uom = [ '', '%', '', '',
'', '', '%', '%' ]
values = line[-8:]
+ elif len(line) == 11:
+ cols = [ 'physc', 'entc', 'lbusy', 'app',
'vcsw', 'phint', 'nsp' ]
+ uom = [ '', '%', '', '',
'', '', '%' ]
+ values = line[-7:]
elif len(line) == 10:
cols = [ 'physc', 'entc', 'lbusy', 'app',
'vcsw', 'phint' ]
uom = [ '', '%', '', '',
'', '' ]