Commit Graph

261 Commits

Author SHA1 Message Date
darode afcc0eb6f0 2011-09-26 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/bin/PandoraAgent.exe, win32/bin/util/tentacle_server.exe: Added 
	lastest version of executables compiled



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 18:21:08 +00:00
darode 8791afb503 2011-09-26 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_windows_service.cc: Fixed a problem sending XML with broker
	mode enabled (the "master" agent didn't report).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 17:25:53 +00:00
vgilc 2097aed8fe 2011-09-26 Vanessa Gil <vanessa.gil@artica.es>
* win32/windows/pandora_wmi.cc: Removed trace.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-26 10:22:29 +00:00
slerena ed5c6c7ed4 2011-09-23 Sancho Lerena <slerena@artica.es>
* installer/pandora.mpi: Updated string version in agent installer.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-23 14:46:05 +00:00
darode a087fa61f4 2011-09-22 Dario Rodriguez <dario.rodriguez@artica.es>
* bin/util/tentacle_server.exe: Added version with memory leak bug
	fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-22 14:01:00 +00:00
darode c65547879e 2011-09-16 Dario Rodriguez <dario.rodriguez@artica.es>
* win32/pandora_agent_conf.cc: Fixed a problem generating broker conf
	files with wrong agent names.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-16 12:35:18 +00:00
vgilc 1d0b904818 2011-09-15 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_windows_service.cc: Fixed problem sending xml file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-15 15:30:13 +00:00
darode 0e8ca9437e 2011-09-14 Dario Rodriguez <dario.rodriguez@artica.es>
* bin/util/tentacle_server.exe: Tentacle Proxy temporal
	with temporal patch for Windows Platforms.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4951 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-14 12:22:26 +00:00
vgilc 22cdbe6999 2011-09-08 Vanessa Gil <vanessa.gil@artica.es>
* win32/bin/pandora_agent.conf: Added example about module preconditions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4929 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-08 13:26:19 +00:00
vgilc 3c5a7c2ae4 2011-09-06 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.php: Fixed error creating broker agent.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4918 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-06 13:59:35 +00:00
vgilc ffaee6938c 2011-09-01 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_windows_service.php: Add information about the parent agent name to xml file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-01 14:37:57 +00:00
Ramon Novoa 19b0d9b621 2011-08-29 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_regexp.cc,
	  modules/pandora_module_regexp.h,
	  modules/pandora_module_factory.cc: Check file size to detect if the
	  file was truncated. Added a new configuration token to avoid seeking
	  to the eof.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 17:17:33 +00:00
darode 276837aa34 2011-08-29 Dario Rodriguez <dario.rodriguez@artica.es>
* modules/pandora_module_factory.cc: Fixed a bug collecting some module
	parameters like min_warning, max_warning, min_ff_event, etc.

	Fixes: 3396949



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-29 14:44:53 +00:00
zarzuelo 8ab93450ef 2011-08-22 Sergio Martin <sergio.martin@artica.es>
* win32/bin/PandoraAgent.exe: Updated the executable
	with the last code build fixing "runWMIQuery error"
	for bug 3394721



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-22 07:44:29 +00:00
slerena c2397d41e1 2011-08-19 Sancho Lerena <slerena@artica.es>
* bin/pandora_agent.conf: Ready to get the server string from the
        installer

        * installer/pandora.mpi: Updated installer, version, some strings
        and added the question to get the agent group.

        * installer/pandora.ico: New icon for windows shortcuts. Nice! :)

        * pandora.cc: Updated version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 19:31:33 +00:00
Ramon Novoa 598ebae6e5 2011-08-19 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_plugin.cc: Set a virtually infinite timeout
	  for plugins.

	* pandora_windows_service.cc: The Pandora_Windows_Service destructor
	  could try to dereference a NULL pointer. Fixed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-19 11:58:22 +00:00
zarzuelo c35cb15176 2011-08-18 Sergio Martin <sergio.martin@artica.es>
* win32/windows/pandora_windows_info.h
	win32/windows/pandora_wmi.cc
	win32/windows/pandora_wmi.h
	win32/windows/pandora_windows_info.cc
	win32/bin/PandoraAgent.exe
	win32/bin/pandora_agent.conf
	win32/pandora_windows_service.cc: Added to the windows agent
	the address token with manual (specified address) and auto 
	(detecting from WMI the address) modes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-18 09:41:37 +00:00
darode be63cf6054 2011-07-29 Dario Rodriguez <dario.rodriguez@artica.es>
* bin/PandoraAgent.exe: Compiled new exe with a bug fixed.
	* pandora_windows_service.cc: Fixed a bug related to proxy mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-29 09:19:50 +00:00
darode 42aaa6dc4e 2011-07-28 Dario Rodriguez <dario.rodriguez@artica.es>
* pandora_windows_service.h, pandora_windows_service.cc: Added proxy
	mode feature.
	* bin/PandoraAgent.exe: Created new compiled version with proxy mode 
	feature.
	* bin/pandora_agent.conf: Added new parameters to configure proxy mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-28 17:34:51 +00:00
slerena efc728cc59 2011-07-28 Sancho Lerena <slerena@artica.es>
* bin/util/tentacle_server.exe: Tentacle server executable to use it
        in the drone/proxy mode.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-28 16:54:12 +00:00
Ramon Novoa d320f55981 2011-07-14 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module.h,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc: Set additional module configuration
	  parameters from the XML.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4572 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 16:45:12 +00:00
vgilc 86a4567f18 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* win32/bin/pandora_agent.conf: Add example lines with drone agents and additional configuration files. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4569 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 15:19:39 +00:00
vgilc 7389ead9b6 2011-07-14 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	win32/pandora_windows_service.cc
	win32/main.cc: Created runtime enviroment variables for agents and fixed bug in drone agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4559 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-14 08:58:18 +00:00
vgilc ca87ec849c 2011-07-11 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	win32/pandora_windows_service.cc: Allow drone agents in Windows.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-11 15:49:29 +00:00
vgilc 76b521cbb5 2011-06-21 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_windows_service.cc
	  win32/modules/pandora_module.cc
	  win32/modules/pandora_module.h
	  win32/modules/pandora_module_factory.cc
	  unix/pandora_agent: Allow the windows and unix agent to include preconditions on modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-21 11:06:47 +00:00
vgilc d0bd876295 2011-06-07 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora_agent_conf.cc
	  win32/pandora_agent_conf.h
	  win32/modules/pandora_module_list.cc
	  win32/modules/pandora_module_list.h: Allow the windows agent to include additional configuration files.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-08 14:12:57 +00:00
vgilc f2747e0a08 2011-05-06 Vanessa Gil <vanessa.gil@artica.es>
* win32/pandora.cc: Fixed: Windows agent log and system time are unsynchronized.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-06 10:38:30 +00:00
vgilc cc491d5c6e 2011-04-05 Vanessa Gil <vanessa.gil@artica.es>
* win32/modules/pandora_module_exec.cc,
	  win32/pandora_windows_service.cc: Fixed get module output part of over 4096 byte.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-05-05 14:05:25 +00:00
Ramon Novoa d1d4e002dd 2011-03-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_regexp.cc: Added support for extended regular
	  expressions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4068 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-08 15:50:00 +00:00
Ramon Novoa 6f9a411433 2011-03-02 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_factory.cc, unix/pandora_agent: Changed
	  module_post_process to module_postprocess to match the documentation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4044 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-02 10:41:29 +00:00
Ramon Novoa 6c2489b4c7 2011-03-01 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module.h,
	  win32/modules/pandora_module_factory.cc,
	  win32/modules/pandora_module.cc,
	  unix/pandora_agent,
	  shellscript/linux/pandora_agent: Set the module min, max and
	  post_process in the XML data file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-03-01 14:45:32 +00:00
Ramon Novoa bc89d98ab2 2011-02-03 Ramon Novoa <rnovoa@artica.es>
* win32/installer/pandora.mpi, win32/pandora.cc, unix/pandora_agent: Free
	  the threads semaphore when a module or plugin does not execute.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-02-03 09:44:04 +00:00
Ramon Novoa 63f926fba5 2010-12-27 Ramon Novoa <rnovoa@artica.es>
* unix/pandora_agent, win32/pandora.cc,
	  win32/installer/pandora.mpi: Updated version strings for the
	  3.2 release.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-27 18:30:40 +00:00
Ramon Novoa 94a23729e9 2010-12-10 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_update.exe: Updated. Some paths may have been wrong.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-10 10:53:47 +00:00
Ramon Novoa b12d4b99f8 2010-12-01 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_update.exe: Fixed md5 calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-01 15:38:07 +00:00
Ramon Novoa d90290030d 2010-12-01 Ramon Novoa <rnovoa@artica.es>
* unix/AIX/pandora_agent.conf, unix/pandora_agent,
	  win32/ChangeLog, win32/installer/pandora.mpi,
	  win32/pandora.cc: Updated version strings.
	
	* win32/bin/PandoraAgent.exe: Updated to r3644.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3645 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-12-01 11:32:47 +00:00
Ramon Novoa a639c24f62 2010-11-29 Ramon Novoa <rnovoa@artica.es>
* bin/util/pandora_update.exe: Give the agent service some time to stop.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-29 12:51:58 +00:00
raulmateos 084e864e89 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* LICENCE, Win32/README: Updated version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-23 19:34:32 +00:00
raulmateos db5098e884 2010-11-22 Raul Mateos <raulofpandora@gmail.com>
* LICENCE, Win32/README: Updated version

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-22 18:49:32 +00:00
Ramon Novoa 18f22eae88 2010-11-18 Ramon Novoa <rnovoa@artica.es>
* bin/PandoraAgent.exe: Updated to r3583.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-18 11:18:30 +00:00
Ramon Novoa b3b7e83d00 2010-11-17 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed a typo in copyScpDataFile that made
	  it always return PANDORA_EXCEPTION.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-17 19:22:04 +00:00
Ramon Novoa c8494bfbb6 2010-11-15 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Search for event log descriptions
	  in multiple DLLs if necessary. Improved event log error detection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 16:30:26 +00:00
slerena 7d189d4849 2010-11-14 Sancho Lerena <slerena@artica.es>
* bin/util/pandora_update.exe: This small binary (see the Unix
        perl version to see the sources), allow to replace the running
        windows binary, by stopping the service and restarting it. Will
        allow automatic upgrades of the agent using the fille collection
        mechanism.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-15 01:37:56 +00:00
Ramon Novoa cafe7ef8e5 2010-11-12 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: isServiceRunning returns -1 for module
	  states other than "Running" and "Stopped".

	* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Return a non empty string if
	  the event description can not be read. Save the event id as an
	  unsigned long int to avoid overflows.

	* modules/pandora_module_service.cc,
	  modules/pandora_module_service.h: Aesthetic fix. Removed carriage
	  returns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-12 13:41:24 +00:00
Ramon Novoa fdf6e21673 2010-11-08 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc,
	  modules/pandora_module_logevent.h: Re-wrote the module to avoid
	  using EVENTLOG_SEEK_READ, which seems to cause a lot of trouble.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3561 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-08 19:26:17 +00:00
Ramon Novoa 486749d686 2010-11-05 Ramon Novoa <rnovoa@artica.es>
* installer/pandora.mpi: Updated installation messages.

	* pandora_windows_service.cc: startup_delay after the service is
	  started, not before. Read all secondary server parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-05 14:07:42 +00:00
Ramon Novoa d88ececb74 2010-11-03 Ramon Novoa <rnovoa@artica.es>
* bin/util/tentacle_client.exe: Updated the tentacle client.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-11-03 17:27:04 +00:00
slerena 1153cfdff5 2010-10-29 Sancho Lerena <slerena@artica.es>
* win32/bin/util/mibs: Added default mibs for the small snmpagent
    * tool.

    * win32/bin/util/getsnmp.bat,
    win32/bin/util/snmpget.exe: Added tool to get snmp info from the
    agent using tool from a module_exec.

    * win32/installer/pandora.mpi: Updated installer to have snmpget and
    mibs in the install process.

    * win32/pandora_windows_service.cc: Fixed bug 3098165.

    * win32/pandora.cc: Updated version


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3482 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-29 15:50:43 +00:00
Ramon Novoa 76d230a1e6 2010-10-27 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: We need more information on error
	  997, ignore it for now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-27 11:52:07 +00:00
Ramon Novoa e1685c7b77 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed inventory NIC information.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3339 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-10-04 17:24:10 +00:00