2006-07-14 Esteban Sanchez * modules/pandora_module_factory.cc: Removed unnecessary debug. * windows/pandora_wmi.cc: Removed graphical exceptions to be executed when something happens with disphelper library. Get a string when retrieving the FreeSpace field on getDiskFreeSpace(), it solves a bug when the free space was a huge amount. * bin/PandoraAgent.exe: Updated to the new commit. 2006-07-12 Esteban Sanchez * modules/pandora_module_freememory.[cc,h]: Added to repository. Implements a module to the the amount of free memory. * modules/pandora_module.h, modules/pandora_module_factory.cc, modules/pandora_module_list.cc: Added support to Pandora_Module_Freememory. * modules/pandora_wmi.[cc,h]: Added getFreememory () to get the amount of free memory. * pandora_windows_service.h: Removed public specificator from some functions. * PandoraAgent.dev: Added new files. * bin/PandoraAgent.exe: Updated to the new commit. * bin/pandora_agent.conf: Added example of free memory module. 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. * modules/pandora_module.h, modules/pandora_module_factory.cc, modules/pandora_module_list.cc: Added support to Pandora_Module_Cpuusage. * modules/pandora_module_freedisk.cc: Removed unnecessary debug output. * modules/pandora_module_service.h: Style correction. * windows/pandora_wmi.[cc,h]: Added getCpuUsagePercentage(). Removed unnecessary debug output. * PandoraAgent.dev: Added new files to the project. * bin/PandoraAgent.exe: Updated to the new commit. 2006-07-11 Esteban Sanchez * pandora_windows_service.h: Public methods converted into private. * modules/pandora_module_freedisk.[cc,h]: Added to repository. Implements a module to check the free space in a disk. * modules/pandora_module.h, modules/pandora_module_factory.cc, pandora_module_list.cc: Added support to Pandora_Module_Freedisk modules. * ssh/libssh2/channel.c: Fixed a bug on libssh2_channel_wait_closed that caused to not copy the file to the remote host. * windows/wmi/pandora_wmi.[cc,h]: Added getDiskFreeSpace() to get support eh Pandora_Module_Freedisk modules. * pandora_strutils,[cc,h]: Added longtostr() to convert a long into a string. * PandoraAgent.dev: Added new files to the project. * bin/PandoraAgent.exe: Updated to the new commit. 2006-07-10 Esteban Sanchez * modules/pandora_module_list.cc: Delete modules from the list in the destructor. * ssh/libssh2/*: Updated to a new version of libssh2 (v 0.14). It solves a very important leak. * PandoraAgent.dev: Linker options modified. Libssh2 files are not compiled as C++. 2006-07-05 Sancho Lerena * INSTALL, COPYNG: Added to repository * util/ : Added GNU Tools to repository. * libeay32.dll, zlib1.dll: Added to repository. * pandora_agent.conf: Some changes to example config file. Added some examples to reflect a more "real" setup. 2006-07-05 Esteban Sanchez * README: Style correction. * pandora.cc: Log file renamed. * modules/pandora_module.cc: Fixed a bug when sending a integer value from a module exec type. 2006-07-05 Esteban Sanchez * AUTHORS, README: Added to repository * PandoraAgent.dev: Linker options modified to not point to a static path. 2006-07-05 Esteban Sanchez * pandora.h, ssh/padora_ssh_client.h: Define renamed. * pandora_windows_service.cc: SSH user modified. * main.cc: Added Pandora_SSH_Test * ssh/pandora_ssh_test.h: Added define to avoid recursive inclusion. * ssh/pandora_ssh_test.cc: Unnecessary includes removed. 2006-07-05 Esteban Sanchez * pandora.[cc,h]: Program name and display name of the application. Added pandora_version variable and getPandoraAgentVersion() * pandora_windows_service.[cc,h]: Added checking of debug flag when reading the configuration file. Get the agent name from the machine if it was not defined in the configuration file. Date format on getXmlHeader() corrected. Style correction. * bin/README.txt: Fixed a error. * bin/PandoraAgent.tar.gz: Updated to the new commit. * windows/pandora_wmi.cc: The errors are now shown using pandoraLog(). * modules/pandora_module.cc, modules/pandora_module_exec.cc, ChangeLog: Style correction. 2006-07-05 Esteban Sanchez * bin/README.txt: Added to repository. * pandora.h: Service name renamed. 2006-07-05 Esteban Sanchez * windows/pandora_wmi.cc: Removed unnecessary debug. Check the service state on isRunningService () * pandora_agent_conf.cc, modules/pandora_module_factory.cc: Removed unnecessary debug. * bin/PandoraAgent.tar.gz: Added to repository. * ssh/pandora_ssh_client.cc: Debug converted into log. * pandora_windows_service.cc: Get the interval value (in minutes) and set it to the service. Check if the XML of the module is NULL before adding it to the file. Added log output on error. Delete temporal file before finishing the run. * pandora_windows_service.h: Macro modified. * modules/pandora_module.h, modules/pandora_module.cc: Added new exception, raised when the interval is not fulfilled. Added code to the run funtion of the Pandora_Module class, to check the execution interval. * modules/pandora_module_proc.cc, modules/pandora_module_exec.cc, modules/pandora_module_service.cc: Call to the run() base class function before running the specific code. * modules/pandora_module_list.cc: Removed use of namespace and use a explicit specification. 2006-07-04 Esteban Sanchez * windows/pandora_wmi.*, windows/pandora_windows_info.*, windows/wmi/disphelper.*, misc/pandora_file.*, ssh/*, ssh/libssh2/*, modules/pandora_module_service.*, modules/pandora_module_proc.*: Added to repository. * pandora_windows_service.cc, pandora_windows_service.h: getXMLHeader renamed to getXmlHeader and modified its behavior. Updated to the Pandora XML specification. Add SSH and XML generation functionallity. * modules/pandora_module_exec.cc: Added the execution to a job to prevent zombies process. Update the execution command. * modules/pandora_module_factory.cc: Added Pandora_Module_Proc and Pandora_Module_Service. Added the interval parameter. * modules/pandora_module_list.cc: Added support to Pandora_Module_Proc and Pandora_Module_Service. * modules/pandora_module.h: Added new types of modules. Added execution times and module description to the Pandora_Module class. Added support to Pandora_Module_Proc and Pandora_Module_Service. Added getXml, setInterval and setDescription functions. * pandora.h: Commentary fixed. * Changelog: Renamed to ChangeLog 2006-06-20 Esteban Sanchez * Initial import.