2006-07-11 Esteban Sanchez <estebans@artica.es>
* 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
This commit is contained in:
parent
c883e2fcb9
commit
8bd863ad58
|
@ -1,5 +1,10 @@
|
||||||
2006-07-11 Esteban Sanchez <estebans@artica.es>
|
2006-07-11 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
|
* bin/pandora_agent.conf: Added examples of CPU usage and free space
|
||||||
|
on disk.
|
||||||
|
|
||||||
|
2006-07-11 Esteban Sanchez <estebans@artica.es>
|
||||||
|
|
||||||
* modules/pandora_module_cpuusage.[cc,h]: Added to repository.
|
* modules/pandora_module_cpuusage.[cc,h]: Added to repository.
|
||||||
Implements a module to get the CPU usage percentage.
|
Implements a module to get the CPU usage percentage.
|
||||||
|
|
||||||
|
|
|
@ -62,4 +62,21 @@ module_name ReceivedPackets
|
||||||
module_type generic_data
|
module_type generic_data
|
||||||
module_exec netstat -s | grep "Paquetes recibidos "| tr -d " " | cut -f 2 -d "=" | tr -d "\n"
|
module_exec netstat -s | grep "Paquetes recibidos "| tr -d " " | cut -f 2 -d "=" | tr -d "\n"
|
||||||
module_description Conexiones abiertas (interval 2)
|
module_description Conexiones abiertas (interval 2)
|
||||||
module_end
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue