2010-05-20 Sergio Martin <sergio.martin@artica.es>
* unix/Linux/pandora_agent.conf: Improved the agent modules memused and proctotal git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
695c36bba2
commit
32d2e337ba
|
@ -1,3 +1,8 @@
|
|||
2010-05-20 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* unix/Linux/pandora_agent.conf: Improved the
|
||||
agent modules memused and proctotal
|
||||
|
||||
2010-05-20 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* unix/pandora_agent_installer, unix/DEBIAN/control,
|
||||
|
|
|
@ -146,14 +146,16 @@ 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
|
||||
|
||||
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
|
||||
|
||||
# Process information
|
||||
|
|
Loading…
Reference in New Issue