2011-07-18 Sergio Martin <sergio.martin@artica.es>

* unix/Linux/pandora_agent.conf: Change default memory modules to get it with free command
	and using postprocessing to unit conversion. Bug: 3284422



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
zarzuelo 2011-07-18 11:32:50 +00:00
parent 8ae1be96ef
commit 300715f798
2 changed files with 11 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2011-07-18 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf: Change default memory modules to get it with free command
and using postprocessing to unit conversion. Bug: 3284422
2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* win32/bin/pandora_agent.conf: Add example lines with drone agents and additional configuration files.

View File

@ -178,16 +178,17 @@ module_end
module_begin
module_name memfree
module_type generic_data
module_exec cat /proc/meminfo | grep MemFree | awk '{ print $2 }'
module_exec free -m | grep buffers/cache | awk '{print $4}'
module_description Free memory in MB
module_end
# This module uses postprocess feature to pass postprocess value to module
# This module uses postprocess feature to unit conversion
module_begin
module_name memused
module_type generic_data
module_exec cat /proc/meminfo | grep "Active:" | awk '{ print $2 }'
module_postprocess 0,976
module_description Meminfo postprocess
module_exec free -k | grep buffers/cache | awk '{print $3}'
module_postprocess 0,000976
module_description Used memory in KB postprocessed to be in MB
module_end
module_begin