From 084a5c2352023bb4dee4bfe3f1a5d574b323cfb2 Mon Sep 17 00:00:00 2001 From: zarzuelo Date: Mon, 17 May 2010 09:52:36 +0000 Subject: [PATCH] 2010-05-17 Sergio Martin * linux/pandora_agent.conf: Improved the default modules memused and proctotal for bug 3002626 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/ChangeLog | 5 +++++ pandora_agents/linux/pandora_agent.conf | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 15aec325e7..558aba935a 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,8 @@ +2010-05-17 Sergio Martin + + * linux/pandora_agent.conf: Improved the default + modules memused and proctotal for bug 3002626 + 2010-05-16 Raúl Mateos * linux/pandora_agent_installer, linux/DEBIAN/make_deb_package.sh, diff --git a/pandora_agents/linux/pandora_agent.conf b/pandora_agents/linux/pandora_agent.conf index 6437feff2b..59995263b1 100755 --- a/pandora_agents/linux/pandora_agent.conf +++ b/pandora_agents/linux/pandora_agent.conf @@ -128,7 +128,7 @@ module_end module_begin module_name memused module_type generic_data -module_exec cat /proc/meminfo | grep "Active" | awk '{ print $2 }' +module_exec cat /proc/meminfo | grep "Active:" | awk '{ print $2 }' module_postprocess 0,976 module_description Meminfo postprocess module_end @@ -136,7 +136,7 @@ module_end module_begin module_name proctotal module_type generic_data -module_exec ps -A | wc -l +module_exec ps -A | tail --lines=+5 | wc -l module_description Total processes module_end