Module: check_mk
Branch: master
Commit: c806d071d5dbed8bad79d25fef83a271a34bd7f1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c806d071d5dbed…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Sep 8 10:27:06 2011 +0200
AIX agent now outputs the user and performance data in <<<ps>>>
---
ChangeLog | 1 +
agents/check_mk_agent.aix | 2 +-
2 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 6a981d3..f985438 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -10,6 +10,7 @@
* ipmi_sensors: correctly handle further positive status texts
(thanks to Sebastian Talmon)
* FIX: nfsmounts handles zero-sized volumes correctly
+ * AIX agent now outputs the user and performance data in <<<ps>>>
Multisite:
* FIX: WATO filtered status GUIs did not update the title after changing
diff --git a/agents/check_mk_agent.aix b/agents/check_mk_agent.aix
index 7ee99ad..7eab7fb 100755
--- a/agents/check_mk_agent.aix
+++ b/agents/check_mk_agent.aix
@@ -45,7 +45,7 @@ echo '<<<df>>>'
df -kP | sed 's/ / - /' | grep -v ^/proc | grep -v ^Filesystem | grep -v :
echo '<<<ps>>>'
-ps -ef -F args | sed 1d
+ps -ef -F user,vszsize,rssize,pcpu,args | sed -e 1d -e 's/ *\([^ ]*\) *\([^ ]*\)
*\([^ ]*\) *\([^ ]*\) */(\1,\2,\3,\4) /'
if type lparstat >/dev/null 2>&1
then