2010-05-17 Sergio Martin <sergio.martin@artica.es>
* 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
This commit is contained in:
parent
faf85431c3
commit
d4bc94443a
|
@ -1,3 +1,8 @@
|
||||||
|
2010-05-17 Sergio Martin <sergio.martin@artica.es>
|
||||||
|
|
||||||
|
* linux/pandora_agent.conf: Improved the default
|
||||||
|
modules memused and proctotal for bug 3002626
|
||||||
|
|
||||||
2010-05-16 Raúl Mateos <raulofpandora@gmail.com>
|
2010-05-16 Raúl Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
* linux/pandora_agent_installer, linux/DEBIAN/make_deb_package.sh,
|
* linux/pandora_agent_installer, linux/DEBIAN/make_deb_package.sh,
|
||||||
|
|
|
@ -128,7 +128,7 @@ module_end
|
||||||
module_begin
|
module_begin
|
||||||
module_name memused
|
module_name memused
|
||||||
module_type generic_data
|
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_postprocess 0,976
|
||||||
module_description Meminfo postprocess
|
module_description Meminfo postprocess
|
||||||
module_end
|
module_end
|
||||||
|
@ -136,7 +136,7 @@ module_end
|
||||||
module_begin
|
module_begin
|
||||||
module_name proctotal
|
module_name proctotal
|
||||||
module_type generic_data
|
module_type generic_data
|
||||||
module_exec ps -A | wc -l
|
module_exec ps -A | tail --lines=+5 | wc -l
|
||||||
module_description Total processes
|
module_description Total processes
|
||||||
module_end
|
module_end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue