diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index 90b6ddcf35..3d39be2d1c 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,407 +1,416 @@ -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醤chez - - * 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醤chez - - * 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醤chez - - * 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鷏 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鷏 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鷏 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鷏 Mateos - - * installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated logo - image and added shortcut to edit configuration file. - -2006-09-22 Ra鷏 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. +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醤chez + + * 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醤chez + + * 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醤chez + + * 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鷏 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鷏 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鷏 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鷏 Mateos + + * installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated logo + image and added shortcut to edit configuration file. + +2006-09-22 Ra鷏 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. diff --git a/pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe b/pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe index 3b9dfa5179..ae97a9bf6c 100644 Binary files a/pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe and b/pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe differ diff --git a/pandora_agents/win32/installer/README.txt b/pandora_agents/win32/installer/README.txt index 5555bafa9a..8aff04f61c 100644 --- a/pandora_agents/win32/installer/README.txt +++ b/pandora_agents/win32/installer/README.txt @@ -1,6 +1,6 @@ -Pandora is the free Distributed Monitoring System. +Pandora FMS is the Free Monitoring System. -This is the Windows agent, programmed in C++ with GNU tools and gcc. +This is the Windows agent installer, programmed in C++ with GNU tools and gcc. The binary included is PandoraAgent.exe, that will run as a Windows Service. This should be done by the installer, if you have any problem, run: diff --git a/pandora_agents/win32/installer/pandora.mpi b/pandora_agents/win32/installer/pandora.mpi index 048db18a07..220f3ce2c9 100644 --- a/pandora_agents/win32/installer/pandora.mpi +++ b/pandora_agents/win32/installer/pandora.mpi @@ -1,6 +1,6 @@ array set info { AllowLanguageSelection -No +Yes AppName {Pandora Free Monitoring System Windows Agent} @@ -24,17 +24,11 @@ CommandLineFailureAction {Fail (recommended)} Company -{脕rtica Soluciones Tecnol贸gicas S.T.} +{脕rtica Soluciones Tecnol贸gicas S.L.} CompressionLevel 6 -CreateDesktopShortcut -Yes - -CreateQuickLaunchShortcut -Yes - DefaultLanguage English @@ -51,7 +45,7 @@ IncludeDebugging Yes InstallVersion -1.0.0.2 +1.0.0.3 LaunchApplication Yes @@ -178,13 +172,8 @@ InstallComponent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 -setup Install -title {Cop InstallComponent 1816F27B-8A0F-47D9-9433-93C62D0CD81C -setup Install -title {Check for Previous Install} -component CheckForPreviousInstall -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 InstallComponent C0ABB0FC-E4C3-4955-B16C-37FA5C6DCA28 -setup Install -title {Create Folder} -component CreateFolder -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 InstallComponent B865820C-DFF0-4A19-AFBE-8CC0136543CF -setup Install -title {Install Selected Files} -component InstallSelectedFiles -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 -InstallComponent 77AAF6D2-BB64-4080-A1C8-4F3373A31A3A -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 -InstallComponent 61C2FDF5-242F-4982-BBC8-F71CBA9C5DE3 -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 -InstallComponent 9595B40E-22BA-4E6D-AB81-1292E482FB6F -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 -InstallComponent 062A52B5-D9BA-43E7-A6B4-3C3FBD33ED83 -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 -InstallComponent 26BC0EC8-61D5-41BC-93EA-C4D5C62F25E4 -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 InstallComponent E8082112-E869-4AAC-918A-3C5307CB6423 -setup Install -title {Message Box} -component MessageBox -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 -InstallComponent 5A843D75-D3C0-4EA4-8C21-F29DBE168521 -setup Install -conditions {87FE38EB-DF8C-4DD6-8F4A-F09D4DD0ECB6 1FF15B8D-813C-40C8-876D-156505470C6B} -title {Execute External Program} -component ExecuteExternalProgram -command reorder -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 +InstallComponent 5A843D75-D3C0-4EA4-8C21-F29DBE168521 -setup Install -conditions {87FE38EB-DF8C-4DD6-8F4A-F09D4DD0ECB6 1FF15B8D-813C-40C8-876D-156505470C6B} -title {Execute External Program} -component ExecuteExternalProgram -command insert -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 Condition 87FE38EB-DF8C-4DD6-8F4A-F09D4DD0ECB6 -active Yes -parent 5A843D75-D3C0-4EA4-8C21-F29DBE168521 -title {Ask Yes or No} -component AskYesOrNo Condition 1FF15B8D-813C-40C8-876D-156505470C6B -active Yes -parent 5A843D75-D3C0-4EA4-8C21-F29DBE168521 -title {String Is Condition} -component StringIsCondition InstallComponent D651AEE7-E69C-44FD-B111-8DE881B83843 -setup Install -conditions 3E668536-AEF9-48A5-A5D0-1DE224E0D276 -title {Execute External Program} -component ExecuteExternalProgram -command insert -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 @@ -192,10 +181,15 @@ Condition 3E668536-AEF9-48A5-A5D0-1DE224E0D276 -active Yes -parent D651AEE7-E69C InstallComponent 33B90425-CD22-45B1-9027-7395E23425CE -setup Install -conditions {C26ADDF5-B908-4B20-81F9-655807DD5C7B B1313CDD-A5DA-4A72-ABCF-59E341F46E5A} -title {Execute External Program} -component ExecuteExternalProgram -command insert -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 Condition C26ADDF5-B908-4B20-81F9-655807DD5C7B -active Yes -parent 33B90425-CD22-45B1-9027-7395E23425CE -title {Ask Yes or No} -component AskYesOrNo Condition B1313CDD-A5DA-4A72-ABCF-59E341F46E5A -active Yes -parent 33B90425-CD22-45B1-9027-7395E23425CE -title {String Is Condition} -component StringIsCondition -InstallComponent E7EA4D7E-6DFE-47A1-947C-6B1D70EFD6F8 -setup Install -title {Install Log File} -component InstallLogFile -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 InstallComponent 05AB3D42-63A6-4A2D-90B7-5E0647445351 -setup Install -title {Install Uninstaller} -component InstallUninstaller -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 -InstallComponent 60F2F86C-6BBD-4C93-887E-8ECB65A5DDCB -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 +InstallComponent E7EA4D7E-6DFE-47A1-947C-6B1D70EFD6F8 -setup Install -title {Install Log File} -component InstallLogFile -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 InstallComponent A247675F-046A-4C9F-814B-41527A5B4EA2 -setup Install -title {Move Forward} -component MoveForward -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 +InstallComponent 77AAF6D2-BB64-4080-A1C8-4F3373A31A3A -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 +InstallComponent 61C2FDF5-242F-4982-BBC8-F71CBA9C5DE3 -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 +InstallComponent 9595B40E-22BA-4E6D-AB81-1292E482FB6F -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 +InstallComponent 062A52B5-D9BA-43E7-A6B4-3C3FBD33ED83 -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 +InstallComponent 26BC0EC8-61D5-41BC-93EA-C4D5C62F25E4 -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 +InstallComponent 60F2F86C-6BBD-4C93-887E-8ECB65A5DDCB -setup Install -title {Install Windows Shortcut} -component InstallWindowsShortcut -type action -active Yes -parent 661189B2-8DBD-4E1E-B2A5-FF7C435C1623 InstallComponent D8E7CB00-75A9-4031-BB60-047D19C89753 -setup Install -title {Setup Complete} -component SetupComplete -type pane -active Yes -parent StandardInstall InstallComponent B3DC46D9-345A-4534-B9CC-873647DA4A81 -setup Install -conditions {0898EB52-F809-4B66-8FEF-900E9745ED38 FE12D13F-E622-4640-9A96-9F95E056559F} -title {View Readme Checkbutton} -component AddWidget -command insert -type action -active Yes -parent D8E7CB00-75A9-4031-BB60-047D19C89753 Condition 0898EB52-F809-4B66-8FEF-900E9745ED38 -active Yes -parent B3DC46D9-345A-4534-B9CC-873647DA4A81 -title {File Exists Condition} -component FileExistsCondition @@ -213,7 +207,7 @@ Condition 86A623D9-F175-4F3E-97B5-15D52B7B9874 -active Yes -parent 1F7C75DC-8004 Condition 02CCB56D-6D6D-4279-B617-DA980BBA0FC8 -active Yes -parent 1F7C75DC-8004-46C9-A39C-6E852C05E103 -title {String Is Condition} -component StringIsCondition InstallComponent 862253D2-7CCE-4650-A41F-1296A320A8B1 -setup Install -title {Execute Action} -component ExecuteAction -type action -active Yes -parent SilentInstall InstallComponent 7DE8CA95-CD7F-4DB0-8769-3D03363F2A4C -setup Install -title Exit -component Exit -type action -active Yes -parent SilentInstall -InstallComponent 23FCB9D3-7AA3-4034-8579-EB66379E46C8 -setup Install -title {Startup Actions} -type actiongroup -active Yes -parent ActionGroupsInstall +InstallComponent 23FCB9D3-7AA3-4034-8579-EB66379E46C8 -setup Install -title {Startup Actions} -type actiongroup -active No -parent ActionGroupsInstall InstallComponent AAC8F807-D2DC-4217-A909-92132F5CA32C -setup Install -conditions {F6476C46-BCA9-4066-B0A9-E0D03B4014D6 14F906D2-8874-4CE1-B74F-B6DE472D2DCC} -title Exit -component Exit -command insert -type action -active Yes -parent 23FCB9D3-7AA3-4034-8579-EB66379E46C8 Condition F6476C46-BCA9-4066-B0A9-E0D03B4014D6 -active Yes -parent AAC8F807-D2DC-4217-A909-92132F5CA32C -title {String Is Condition} -component StringIsCondition Condition 14F906D2-8874-4CE1-B74F-B6DE472D2DCC -active Yes -parent AAC8F807-D2DC-4217-A909-92132F5CA32C -title {Ask Yes or No} -component AskYesOrNo @@ -306,6 +300,9 @@ License 0984E8A0-C38E-441B-A031-BCB19716E0DF,Caption,subst 1 +0984E8A0-C38E-441B-A031-BCB19716E0DF,Conditions +{0 conditions} + 0984E8A0-C38E-441B-A031-BCB19716E0DF,Message,subst 1 @@ -315,6 +312,9 @@ License 0ABA7462-20D0-4529-B75F-37E8525668BD,Alias {Finish Actions} +0ABA7462-20D0-4529-B75F-37E8525668BD,Conditions +{0 conditions} + 0ABCD476-DEC8-4DEC-8D34-E4604F4ABA32,Platform Windows @@ -339,6 +339,9 @@ Yes 14C49B0E-CDD3-42F5-9840-47CFA13F7C1C,Caption,subst 1 +14C49B0E-CDD3-42F5-9840-47CFA13F7C1C,Conditions +{1 condition} + 14C49B0E-CDD3-42F5-9840-47CFA13F7C1C,Message,subst 1 @@ -372,6 +375,9 @@ No 181CB7A1-ABD8-4DBA-8FC2-02A23A077060,Conditions {0 conditions} +19EBFAC0-83A4-4585-A459-BE44E585953F,Conditions +{0 conditions} + 19EBFAC0-83A4-4585-A459-BE44E585953F,State disabled @@ -423,9 +429,15 @@ LaunchApplication 1FF15B8D-813C-40C8-876D-156505470C6B,String <%Answer%> +23FCB9D3-7AA3-4034-8579-EB66379E46C8,Active +No + 23FCB9D3-7AA3-4034-8579-EB66379E46C8,Alias {Startup Actions} +23FCB9D3-7AA3-4034-8579-EB66379E46C8,Conditions +{0 conditions} + 26BC0EC8-61D5-41BC-93EA-C4D5C62F25E4,Conditions {0 conditions} @@ -456,6 +468,9 @@ No 333668BE-FF48-4EBC-BDE5-F06A9CB5A099,CloseButton,subst 1 +333668BE-FF48-4EBC-BDE5-F06A9CB5A099,Conditions +{3 conditions} + 333668BE-FF48-4EBC-BDE5-F06A9CB5A099,Message,subst 1 @@ -498,6 +513,9 @@ NextButton 3A1A2BDA-B8F8-4F63-8D49-58A7C46D4BCB,Alias {Finish Actions} +3A1A2BDA-B8F8-4F63-8D49-58A7C46D4BCB,Conditions +{0 conditions} + 3E668536-AEF9-48A5-A5D0-1DE224E0D276,FailureMessage {ERROR: I can't find the PandoraAgent.exe file} @@ -507,6 +525,9 @@ NextButton 48B6BBA1-6E57-4F24-A197-D80E14913459,Filename <%ProgramExecutable%> +4D1586CF-54A8-4247-9BDF-7FA7E5A192F6,Conditions +{0 conditions} + 4E7789D9-F175-4850-A615-BF786EF9A83C,Message,subst 1 @@ -943,6 +964,9 @@ B5120279-23E9-4757-99A3-548F029D0421,Y B6705E80-0395-453A-BC1D-E1BBD8D3FFB2,Alias {Startup Actions} +B6705E80-0395-453A-BC1D-E1BBD8D3FFB2,Conditions +{0 conditions} + B865820C-DFF0-4A19-AFBE-8CC0136543CF,Conditions {0 conditions} @@ -967,6 +991,9 @@ C26ADDF5-B908-4B20-81F9-655807DD5C7B,Title,subst C3F33EA6-1694-4CDD-9A50-89D3E46E780F,Alias {Cancel Actions} +C3F33EA6-1694-4CDD-9A50-89D3E46E780F,Conditions +{0 conditions} + C57C6846-F39C-4D09-8008-D43470FAD071,Conditions {0 conditions} @@ -1003,6 +1030,9 @@ D70BB230-EE6A-4601-99D0-87D9C2B2111E,String D74AA54D-EA03-4E5B-A4F4-25EC22ED20CF,Comment {Ask the user if they want to proceed with the uninstall.} +D74AA54D-EA03-4E5B-A4F4-25EC22ED20CF,Conditions +{2 conditions} + D8E7CB00-75A9-4031-BB60-047D19C89753,BackButton,subst 1 @@ -1024,6 +1054,9 @@ D8E7CB00-75A9-4031-BB60-047D19C89753,NextButton,subst E09D0867-6CDD-4A4C-B3F1-E5BB868CD728,Alias {Install Actions} +E09D0867-6CDD-4A4C-B3F1-E5BB868CD728,Conditions +{0 conditions} + E5CD4D08-6331-4F49-937C-949A501D9B9A,BackButton,subst 1 @@ -1066,6 +1099,9 @@ E8082112-E869-4AAC-918A-3C5307CB6423,Title,subst E9D8B68E-B780-46CA-B6E0-315CCC734848,Alias {Cancel Actions} +EB3BE1C7-501D-43F7-883B-F0960FF79EC4,Conditions +{0 conditions} + F1A35B0F-4ED6-4687-8D6B-92BF1D209A25,BackButton,subst 1 @@ -1386,7 +1422,7 @@ It is recommended that you close all other applications before continuing. Click Next to continue or Cancel to exit Setup.} E8082112-E869-4AAC-918A-3C5307CB6423,Message -{Please generate both Public and Private keys, SSH2 DSA, and save them like id_dsa.pub and id_dsa into <%InstallDir%>\key folder.} +{Please generate both Public and Private keys, SSH2 DSA, and save them like id_dsa.pub and id_dsa, OpenSSH format, into <%InstallDir%>\key folder.} E8082112-E869-4AAC-918A-3C5307CB6423,Title {Public and Private Key Generation} @@ -1398,4 +1434,43 @@ FD4A35A5-930C-464A-BF60-2E721C498270,Text <%CreateDesktopShortcutText%> } +::msgcat::mcmset es { +87FE38EB-DF8C-4DD6-8F4A-F09D4DD0ECB6,Message +{驴Quiere generar las claves p煤blica y privada?} + +87FE38EB-DF8C-4DD6-8F4A-F09D4DD0ECB6,Title +{Generaci贸n de claves p煤blica y privada} + +C26ADDF5-B908-4B20-81F9-655807DD5C7B,Message +{驴Desea iniciar el Servicio Pandora Agent?} + +C26ADDF5-B908-4B20-81F9-655807DD5C7B,Title +{Inicio de Servicio} + +D8E7CB00-75A9-4031-BB60-047D19C89753,Message +{El Instalador InstallJammer ha instalado <%AppName%> con 茅xito. Pulse Finalizar para salir de este Instalador.} + +E5CD4D08-6331-4F49-937C-949A501D9B9A,Caption +{Bienvenido al Instalador InstallJammer para <%AppName%>} + +E5CD4D08-6331-4F49-937C-949A501D9B9A,Message +{Este programa instalar谩 <%AppName%> versi贸n <%Version%> en su equipo. + +Se recomienda cerrar las dem谩s aplicaciones antes de continuar. + +Pulse siguiente para continuar o Cancelar para salir de la instalaci贸n.} + +E8082112-E869-4AAC-918A-3C5307CB6423,Message +{Genere las claves P煤blica y Privada de tipo SSH2 DSA, y gu谩rdelas como id_dsa.pub e id_dsa en formato OpenSSH en el directorio <%InstallDir%>\key.} + +E8082112-E869-4AAC-918A-3C5307CB6423,Title +{Generaci贸n de clave p煤blica y clave privada} + +F1A35B0F-4ED6-4687-8D6B-92BF1D209A25,Caption +{Se ha recopilado la informaci贸n necesaria para comenzar a copiar los archivos del programa. Si desea revisar o cambiar la configuraci贸n, pulse Atr谩s. Si esta conforme con la configuraci贸n, pulse Siguiente para comenzar a copiar los archivos.} + +UninstallStartupText +{Se eliminar谩 completamente <%AppName%> de su sistema. 驴Seguro que desea esto?} + +}