mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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
518cbfccc5
commit
41839d69f7
@ -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>
|
2010-05-20 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* unix/pandora_agent_installer, unix/DEBIAN/control,
|
* unix/pandora_agent_installer, unix/DEBIAN/control,
|
||||||
|
@ -146,14 +146,16 @@ 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_end
|
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_end
|
module_end
|
||||||
|
|
||||||
# Process information
|
# Process information
|
||||||
|
Loading…
x
Reference in New Issue
Block a user