Module: check_mk
Branch: master
Commit: e4f9129c584720185e0dd6f496fd0a0f04109fd0
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e4f9129c584720…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Apr 30 12:20:36 2013 +0200
AIX agent: call lparstat with argument 1 1, this give more accurate data
---
ChangeLog | 1 +
agents/check_mk_agent.aix | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
index e771335..f4ea9cd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -81,6 +81,7 @@
* lnx_if in Linux agent: force deterministical order of network devices
* Linux agent: remove obsolete old <<<netif>>> and
<<<netctr>>> sections
* Linux agent: cups_queues: do not monitor non-local queues (thanks to Olaf
Morgenstern)
+ * AIX agent: call lparstat with argument 1 1, this give more accurate data
Notifications:
* notify.py: unique spoolfiles name no longer created with uuid
diff --git a/agents/check_mk_agent.aix b/agents/check_mk_agent.aix
index 769328e..06c579b 100755
--- a/agents/check_mk_agent.aix
+++ b/agents/check_mk_agent.aix
@@ -60,7 +60,7 @@ ps -ef -F user,vszsize,rssize,pcpu,args | sed -e 1d -e 's/ *\([^
]*\) *\([^ ]*\)
if type lparstat >/dev/null 2>&1
then
echo '<<<lparstat_aix>>>'
- lparstat | tail -n1
+ lparstat 1 1 | tail -n1
fi
echo '<<<vmstat_aix>>>'