* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/installer: Updated some installer items. (.conf), Readme,
.mpi (installer sources) and replaced final .EXE installer with an
updated one.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated to solve small
bug with stopping service when uninstalling.
* installer/babel.mpi: Update installer script file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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/babel.mpi: Update installer script file.
* installer/README.txt: Updated file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@293 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@292 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server/data_in: Removed old directory.
* pandora_server/config/pandora_server.conf: Changed data_in directory to
/var/spool/pandora/data_in.
* pandora_agents/win32/installer/Pandora_FMS_Windows_Agent-1.2-Setup.exe: Updated with last binary file.
* pandora_agents/win32/installer/pandora.mpi: Update installer script file.
* pandora_agents/win32/installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: deleted old file.
* pandora_agents/win32/bin/pandora_agent.conf: Changed path in server to
/var/spool/pandora/data_in.
* pandora_console/general/footer.php: Add variable $time to get time from server which PHP < 5.1. Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@281 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent.sh, linux/pandora_agent_daemon: Update license,
translated text from spanish to english, updated build.
* linux/pandora_agent.conf: Solved small bug with vmstat.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@279 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@265 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
* ChangeLog: Changed order of date of last commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@262 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated
installer to include last binary file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated installer to include
Pair Key generation.
* pandora.mpi: New file, installjammer installer. You should change PATHS
to include the files into the installer.
* pandora.ico: New file, used in the installer.
* logo.gif: New file, used in the installer (it should be changed to .png)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Pandora Windows Agent-1.2 Beta3-Setup.exe: Updated logo image
and added shortcut to edit configuration file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* installer/: New directory to put the Pandora Agent for Windows installer
* Pandora Windows Agent-1.2 Beta3-Setup.exe: New file added to repository
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* main.cc: Added "--help" option.
* pandora_strutils.cpp: Renamed to pandora_strutils.cc
* bin/PandoraAgent.exe: Updated to the new commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@139 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Some headers changed to show the "official" GPL Header info
* modificar_server.php. Add highlights. Add line before the submit button. Add help.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@133 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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++.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@117 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@98 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Change name from install information contained in bin/README.txt to INSTALL
* Added needed libs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@95 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* AUTHORS, README: Added to repository
* PandoraAgent.dev: Linker options modified to not point to a static
path.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@94 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@91 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
* Changelog: Renamed to ChangeLog.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@85 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@83 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f