From 8bd863ad582f2db906c0f491b1c1e19fd13fda06 Mon Sep 17 00:00:00 2001 From: Esteban Sanchez Date: Wed, 12 Jul 2006 10:57:20 +0000 Subject: [PATCH] 2006-07-11 Esteban Sanchez * bin/pandora_agent.conf: Added examples of CPU usage and free space on disk. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@131 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/win32/ChangeLog | 5 +++++ pandora_agents/win32/bin/pandora_agent.conf | 19 ++++++++++++++++++- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index 78e8e3f8b8..0e1ae8e724 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,5 +1,10 @@ 2006-07-11 Esteban Sanchez + + * bin/pandora_agent.conf: Added examples of CPU usage and free space + on disk. +2006-07-11 Esteban Sanchez + * modules/pandora_module_cpuusage.[cc,h]: Added to repository. Implements a module to get the CPU usage percentage. diff --git a/pandora_agents/win32/bin/pandora_agent.conf b/pandora_agents/win32/bin/pandora_agent.conf index cdef531533..80a053c369 100644 --- a/pandora_agents/win32/bin/pandora_agent.conf +++ b/pandora_agents/win32/bin/pandora_agent.conf @@ -62,4 +62,21 @@ module_name ReceivedPackets module_type generic_data module_exec netstat -s | grep "Paquetes recibidos "| tr -d " " | cut -f 2 -d "=" | tr -d "\n" module_description Conexiones abiertas (interval 2) -module_end \ No newline at end of file +module_end + +# Free space on disk +module_begin +module_name FreeDiskC +module_type generic_data +module_freedisk C: +module_description Free space on drive C: +module_end + +# CPU usage percentage +module_begin +module_name CPUUse0 +module_type generic_data +module_cpuusage 0 +module_description CPU#0 usage +module_end +