2007-09-11 Esteban Sanchez * windows/pandora_wmi.cc: Fixed an error when detecting running services. Removed unuseful output. * bin/PandoraAgent.exe: Updated to last commit. 2007-09-07 Raul Mateos * installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated beta2 installer binary. * installer/pandora_1.3.mpi: Updated, clearing some texts. 2007-09-06 Esteban Sanchez * pandora_windows_service.cc: Date is now filled with zeros to the left and two digits. * bin/PandoraAgent.exe: Updated to last commmit. 2007-09-05 Raul Mateos * installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated beta2 installer binary. * installer/pandora_1.3.mpi: Updated. * bin/help/how_to_keys_es.html: New help file in spanish. * bin/help/how_to_keys.html: Updated. * installer/README.txt, LICENSE.txt: Updated. 2007-09-05 Esteban Sanchez * windows/pandora_wmi.cc: Fixed a bug that return 0 in some cases of free disk space. * pandora.cc: Renamed debug file to pandora_debug.log * pandora_windows_service.cc: Fixed a blank space. * bin/PandoraAgent.exe: Updated to last commit. 2007-09-03 Raul Mateos * installer/pandora_1.3.mpi: Updated texts in several languages. Now some links are traslated. 2007-08-30 Raul Mateos * installer/pandora_1.3.mpi: Updated deleting first question. * installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated beta2 installer binary. 2007-08-30 Sancho Lerena * bin/PandoraAgent.exe: New .exe (smaller, without debug symbols) 2007-08-29 Raul Mateos * bin/help/how_to_keys.html: Added SSH string. * installer/pandora_1.3.mpi: Updated with small text changes. * installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Updated beta2 installer binary. 2007-08-29 Sancho Lerena * bin/README.txt replaced instead README. * installer/Pandora_Windows_Agent-1.3.0 Beta2-Setup.exe: Added beta2 installer binary. * installer/pandora_1.3.mpi: Several changes on installer from last version !. Now adds to path /util directory, and open a writepad for default config. Also install Pandora on standard windows uninstaller, and also remove correctly all files. Some other minor changes added. * installer/README.txt: Updated also. * installer/How_to_create_installer.txt: Some small changes in file disposition. 2007-08-29 Esteban Sanchez * pandora_windows_service.cc: Fixed a typo. Disconnect ftp client when an error happened. * ftp/pandora_ftp_client.cc: Set network timeout and ftp timeout. Ignore error when executing moving operations, this is compatible with FTP jails * windows/pandora_wmi.cc: Improved WQL queries and fixed some leaks. 2007-08-28 Esteban Sanchez * main.cc: Fixed an error with previous commit. * pandora_windows_service.cc, ftp/pandora_ftp_client.cc: Reduced log level. * bin/PandoraAgent.exe: Updated to last commit. 2007-08-27 Esteban Sanchez * pandora.cc: Updated buildname. * main.cc: Added a missing "]" character. Added version number when showing the help. Fixes #1782569. * bin/PandoraAgent.exe: Updated to last commit. 2007-08-24 Esteban Sanchez * pandora.cc: Changed log and debug file to have the same name that other operative system agents. * bin/PandoraAgent.exe: Updated to last commit. 2007-08-24 Esteban Sanchez * win32/windows/pandora_wmi.cc: Fixed a bug when reading free space from a read-only device such as CD-ROM by improving the WQL query. (Fixes #1780455) * bin/PandoraAgent.exe: Updated to last commit. 2007-08-23 Sancho Lerena * bin/pandora_agent.conf: More comple sample config. 2007-08-23 Esteban Sanchez * pandora_windows_service.cc: Reduced output log level in normal use. * main.cc: Added a new line on help output. * bin/PandoraAgent.exe: Updated to last commit. 2007-08-16 Esteban Sanchez * ftp/pandora_ftp_test.[cc,h]: Added to repository. Implements a FTP test to be run on command line. * main.cc: Added --test-ftp option to perform a FTP test. * PandoraAgent.dev: Added new files. * bin/PandoraAgent.exe: Updated to last commit. 2007-08-16 Esteban Sanchez * pandora_windows_service.cc: Do not check debug flag if copying was not successful. * bin/README: Updated options. * bin/PandoraAgent.exe: Updated to last commit. 2007-08-07 Esteban Sanchez * pandora.cc: Updated agent version. * pandora.h, modules/pandora_module_exec.cc: Redefine WINVER, so CreateJobProject can be found without modifying windef.h. * pandora_agent_conf.cc: Rewritten a loop. * ftp/pandora_ftp_client.[cc,h]: Added to repository. Implemented FTP transfer protocol using libcurl. It adds a library dependency. * pandora_windows_service.cc: Added support for FTP transfers. Select between SSH (default) or FTP. Improved file structure to be cleaner. * pandora_windows_service.h: Added new private functions and removed unneccessary private attribute. * misc/pandora_file.[cc,h]: Added a function to get the filename of a path. * main.cc: Indentation fixed. * bin/libcurl.dll: Added to repository. New dependency. * bin/PandoraAgent.exe: Updated to last commit. 2007-05-23 Raul Mateos * installer/Pandora_Windows_Agent-1.2.1-Setup.exe: Updated installer. Deleted old one. * installer/pandora1.2.1.mpi: Renamed installjammer file and updated version. To use the file, you have to copy the ./bin and ./installer folder to c:\pandora_installer folder. This is explained in the how_to_create.installer.txt new file. * installer/how_to_create.installer.txt: New help file. * installer/README.txt: Updated file with 1.2.1 version. 2006-12-05 Esteban Sanchez * pandora_windows_service.cc: Fixed a bug when the agent name is not configured and should be getted from the system. * bin/PandoraAgent.exe: Updated to last commit. 2006-12-05 Raul Mateos * installer/Pandora_Windows_Agent-1.2.0-Setup.exe: Updated installer. 2006-12-05 Esteban Sanchez * misc/pandora_file.cc: Removed unuser variables. * bin/PandoraAgent.exe: Really updated to last commit. 2006-12-04 Raul Mateos * installer/Pandora_Windows_Agent-1.2.0-Setup.exe: Added icon in program group to view help. This file has changed its name in commit 299. * installer/pandora.mpi: Update installer script file. 2006-12-04 Esteban Sanchez * misc/pandora_file.[cc,h]: Added a function to check the existance of a file. * pandora_ssh_tesct.cc: Check if private and public key files exists when doing the test. * bin/PandoraAgent.exe: Updated to new commit. 2006-12-01 Raul Mateos * installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated with last binary file, also added html help to generate keys. * installer/scripts/*.bat: moved from installer directory. * installer/pandora.mpi: Update installer script file. * installer/README.txt: Updated file. 2006-12-01 Esteban Sanchez * pandora_windows_service.[cc,h]: Added copyDataFile() method to class, it will copy the data file to the remote host. Now the data file is not copied when the debug flag is active. Changed some debug output to log output and changed one log message. * bin/pandora_agent.conf: Updated debug flag option to new format and commented. * bin/PandoraAgent.exe: Updated to new commit. 2006-12-01 Esteban Sanchez * pandora_windows_service.cpp: Fixed a bug when copying the data file to server, which it didn't include the agent name if it was not defined in configuration file and was taken from Windows functions. * bin/PandoraAgent.exe: Updated to new commit. 2006-11-30 Raul Mateos * bin/help/*: New directory and files with help for generating keys. 2006-11-28 Raul Mateos * installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated with last binary file. * installer/pandora.mpi: Update installer script file. * installer/README.txt: Updated file. 2006-11-27 Raul Mateos * installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated with last binary file. * installer/pandora.mpi: Update installer script file. * installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: deleted old file. * bin/pandora_agent.conf: Changed path in server to /var/spool/pandora/data_in. 2006-11-27 Esteban Sánchez * pandora_strutils.h, pandora_strutils.cc: strtoulong() now returns an unsigned long long. This will finally fixes the bug with freedisk big amounts. * windows/pandora_wmi.cc: Now the space amount is a unsigned long long enough to amounts up to PB (billions of GB). * bin/PandoraAgent.exe: Updated to new commit. 2006-11-24 Esteban Sánchez * pandora_strutils.h, pandora_strutils.cc: Added strtoulong() to convert a string into a unsigned long integer. * wmi/pandora_wmi.h, pandora_wmi.cc: Modified getDisgkFreeSpace() to return a unsigned long integer. Used srttoulong() to transform the free disk into a log instead of an integer, that caused a negative value of free disk space when the amount was in the order of GB. * bin/PandoraAgent.exe: Updated to new commit. 2006-11-21 Esteban Sánchez * pandora_windows_service.cc: Changed the debug option of the configuration to "debug" instead of "pandora_debug". * pandora.cc: Removed output to stdout when logging. * bin/pandora_agent.conf: Removed " from module_proc example. Fixes bug #1600008. * bin/PandoraAgent.exe: Updated to new commit. 2006-11-17 Raúl Mateos * installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: New installer to include last binary file. This should be the last one before release of Pandora FMS 1.2. * installer/start_pandora_agent.bat, installer/stop_pandora_agent.bat, installer/LICENSE.txt, installer/README.txt: Added new files used by the installer in shorcuts. * installer/pandora.mpi: Update installer script file. 2006-11-08 Esteban Sanchez * ssh/libssh2/userauth.c: Fixed a bug when the public key file do not finish with '\n' or '\r'. * bin/PandoraAgent.exe: Updated to new changes. 2006-10-13 Raúl Mateos * installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated installer to include last binary file. * installer/logo.png: New File. * installer/logo.gif: Delete file. 2006-10-06 Esteban Sanchez * pandora.cc, pandora.h: Added getPandoraDebug() to get the debug flag value. * pandora_windows_service.cc: Do not remove the data file if flag debug is active. * bin/PandoraAgent.exe: Updated to new changes. * ChangeLog: Style correction. 2006-10-05 Raúl Mateos * installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated installer to include Pair Key generation. * installer/pandora.mpi: New file, installjammer installer. You should change PATHS to include the files into the installer. * installer/pandora.ico: New file, used in the installer. * installer/logo.gif: New file, used in the installer (it should be changed to .png) 2006-09-27 Raúl Mateos * installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated logo image and added shortcut to edit configuration file. 2006-09-22 Raúl Mateos * installer/: New directory to put the Pandora Agent for Windows installer. * Pandora Windows Agent-1.2 Beta3-Setup.exe: New file added to repository. 2006-09-22 Raul Mateos * win32\bin\pandora_agent.conf: Updated some texts to english. * win32\bin\README: Added 2006-08-31 Esteban Sanchez * bin/PandoraAgent.exe: Updated to the new code. 2006-08-31 Esteban Sanchez * pandora.cc, pandora_strutils.h, windows_service.h, wmi/pandora_wmi.cc, ssh/pandora_ssh_test.cc: Documentation comments updated. * ssh/pandora_ssh_client.[h,cc]: Documentation comments updated. Comment deleted. * windows_service.cc: Comment deleted. 2006-08-15 Esteban Sanchez * autogen.sh, configure.in, Makefile.am, Doxyfile.in: Added to repository. They are used to generate documentation, not to compile. * main.cc: Added some comments. Style correction. * pandora.[cc,h]: Added documentation comments. Changed visibility of some attributes. * pandora_agent_conf.[cc,h]: Added to Pandora namespace. Added documentation comments. * pandora_windows_service.[cc,h], pandora_strutils.[cc,h], windows/pandora_windows_infp.[cc,h], ssh/pandora_ssh_test.[cc,h]: Added documentation comments. * ssh/pandora_ssh_client.[cc,h]:Added documentation comments. Removed old method to connect with user and password. Style correction. * misc/pandora_file.[cc,h]: Added documentation comments. Renamed some parameters. * modules/pandora_module.[cc,h]: Added documentation comments. Put a name to the enumerators. Added a new class to agroupate all exceptions produced by Pandora_Module child class objects. Changed visibility of some attributes. Added some new methods and renamed others. * modules/pandora_module_cpuusage.[cc,h], modules/pandora_module_exec.[cc,h], modules/pandora_module_freememory.[cc,h], modules/pandora_module_freedisk.[cc,h], modules/pandora_module_proc.[cc,h], modules/pandora_module_service.[cc,h]: Added documentation comments. Some changes to adapt the objects to the Pandora_Module changes. * modules/pandora_module_list.[cc,h]: Added documentation comments. Some changes to adapt the objects to the Pandora_Module changes. Added to Pandora_Modules namespace. * windows/pandora_windows_wmi.[cc,h]: Added documentation comments. Renamed Pandora_Wmi_Error to Pandora_Wmi_Exception. * windows_service.[cc,h]: Added documentation comments. Changed visibility of some attributes. Style correction. 2006-07-17 Esteban Sanchez * main.cc: Added "--help" option. * pandora_strutils.cpp: Renamed to pandora_strutils.cc * bin/PandoraAgent.exe: Updated to the new commit. 2006-07-17 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.