2010-07-05 Raul Mateos <raulfopandora@gmail.com>

* bin/pandora_agent.conf: Added example of D Drive. Added comments
        to some modules. Added lost module_begin. Improved command.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-07-05 09:12:14 +00:00
parent 79cb9d5e35
commit 1203784e8c
2 changed files with 20 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2010-07-05 Raul Mateos <raulfopandora@gmail.com>
* bin/pandora_agent.conf: Added example of D Drive. Added comments
to some modules. Added lost module_begin. Improved command.
2010-07-02 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h, modules/pandora_module_factory.cc,

View File

@ -92,6 +92,14 @@ module_freepercentdisk C:
module_description Free space on drive C: (%)
module_end
# Free space on disk D: (%)
# module_begin
# module_name FreeDiskD
# module_type generic_data
# module_freepercentdisk D:
# module_description Free space on drive D: (%)
# module_end
# CPU usage percentage
module_begin
module_name CPUUse
@ -136,7 +144,6 @@ module_end
#module_description Last date and time user launch microsoft Windows update
#module_end
# Example of a remote TCP check
#module_begin
#module_name Tcp Sample check
@ -165,20 +172,23 @@ module_end
#module_end
# Example of module exec, used to know about the memory used by pandora process
# grep.exe and gawk.exe are included in the util directory of the agent.
#module_begin
#module_name PandoraFMS RAM
#module_type generic_data
#module_exec tasklist | grep Pandora | awk "{ print $5 }" | tr -d "."
#module_exec tasklist | grep Pandora | gawk "{ print $5 }" | tr -d "."
#module_end
# Example of module exec, used get number of active terminal services sessions
# Works on Windows 2003. In Windows XP the query.exe and quser.exe files were
# moved to %WINDIR%\system32\dllcache. If XP, copy the exe to %WINDIR%\system32
#module_begin
#module_name Active TS Sessions
#module_type generic_data_string
#module_exec query session | grep Active | awk "{ print $2 }" |wc -l
#module_description Number of activbe TS Sessions
#module_exec query session | grep Activ | gawk "{ print $2 }" |wc -l
#module_description Number of active TS Sessions
#module_end
# Example of watchdog process opening it if it gets closed
# NOTE: This need to enable "Service can interactuate with the deskop" option
# in the Pandora FMS Service configuration (Windows Service Control management).