Commit Graph

114 Commits

Author SHA1 Message Date
fermin831 4b05351df0 Fixed async issues in windows brokers 2017-05-18 11:55:44 +02:00
Daniel Maya 622edc1369 new feature: added agent_alias_cmd in pandora_agent 2017-04-17 12:50:46 +02:00
Hirofumi Kosaka ddf6919654 "agent_alias" could not work at Pandora Agent for Windows. #116 2017-04-10 18:27:34 +09:00
Hirofumi Kosaka ad05691e2d "remote_config" did not work at Pandora Agent for Windows. #116 2017-04-10 18:26:29 +09:00
fermin831 3106b55fbd Removed unwanted windows agent traces 2017-02-28 15:06:35 +01:00
Daniel Maya d39b108c1f Merge branch 'develop' into feature/alias_freandly_name
Conflicts:
	pandora_agents/unix/pandora_agent
	pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql
	pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql
	pandora_console/godmode/agentes/agent_manager.php
	pandora_console/godmode/agentes/modificar_agente.php
	pandora_console/godmode/agentes/planned_downtime.editor.php
	pandora_console/godmode/massive/massive_delete_modules.php
	pandora_console/godmode/massive/massive_edit_modules.php
	pandora_console/include/class/Tree.class.php
	pandora_console/include/functions_graph.php
	pandora_console/include/functions_treeview.php
	pandora_console/include/functions_ui.php
	pandora_console/operation/agentes/estado_agente.php
	pandora_console/operation/agentes/status_monitor.php
	pandora_console/pandoradb.sql
2017-02-16 16:05:21 +01:00
Ramon Novoa c11b1c1150 Parse group_id XML attributes. 2016-12-13 15:03:30 +01:00
Ramon Novoa 8ec5f53100 Added a new group_id configuration option (win32). 2016-12-13 15:02:39 +01:00
Ramon Novoa 2ee3225e56 Send the eHorus key as a custom field (win32). 2016-12-07 15:54:52 +01:00
Ramon Novoa 246b605076 Added group password support to the Win32 agent. 2016-11-25 12:41:27 +01:00
Ramon Novoa f720817e57 Added support for random agent names on win32. 2016-09-29 12:50:04 +02:00
fermin831 8c30cbd756 Added AUTODISABLE mode to agents Tickets #3497 2016-06-03 11:58:13 +02:00
fermin831 5dcb313522 Cron bug and crontab and alert template is sended in win32 TICKETS #3355 2016-03-01 19:13:40 +01:00
fermin831 388e1ff533 Extended Debug mode. Now, agents report allways to server 2015-10-06 16:09:46 +02:00
fermin831 6b84a45ef6 Added disable_logfile token to Windows Agent 2015-09-22 18:35:19 +02:00
Ramon Novoa 80fea40223 recvTentacleDataFile should throw an exception when it fails, otherwise
remote configuration doesn't work!
2015-09-08 15:41:49 +02:00
Junichi Satoh 97c9358fa0 Improved to be able to define timeout for file transfer programs
in windows agent.
2015-06-03 16:03:27 +09:00
hkosaka ed53b3c67b Specify -C option to Launch tentacle_server when using SSL proxy mode. 2015-03-30 18:29:44 +09:00
Akihiro Uchida fad89150ee Change function name in pandoralog 2015-03-05 01:44:59 +09:00
Akihiro Uchida 83e5287613 Extend getAgentNameFromCmdExec timeout to 60s 2015-03-05 01:43:39 +09:00
Akihiro Uchida ce6d76eabc Separate getAgentNameCmdExec from getCoordinatesFromCmdExec 2015-03-04 20:36:43 +09:00
Akihiro Uchida 9ff9a41494 Extend getCoordinatesFromCmdExec timeout to 500 ms to make consistent with timeout for WaitForSingleObject 2015-03-04 20:18:47 +09:00
Akihiro Uchida 1b2eff4438 Remember the agent_name_cmd result in xml header 2015-03-04 14:07:44 +09:00
Ramon Novoa ba1c14ec4f Fixed remote_config (broken by another feature). 2015-02-09 13:38:52 +01:00
Ramon Novoa 341928b8dd Add util to the PATH before launching the proxy. Fixes ticket #1175.
(cherry picked from commit 787b76bb49)
2015-02-04 16:03:16 +01:00
Junichi Satoh eefdd73507 Improved to be able to define agent name using external command. 2014-11-16 12:04:00 +09:00
Ramon Novoa fc2e9cc698 Do not delete collections if a broker is configured (win32). 2014-10-17 16:39:30 +02:00
pandora-release 661dcbcdb9 Fixes to make the agent work on win64.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-20 11:16:42 +00:00
Ramon Novoa 30d5edeeb5 2013-04-15 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Open the XML data file in binary
	  mode to avoid getting extra carriage returns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-15 17:12:25 +00:00
Ramon Novoa b6d9536abb 2013-04-11 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc,
	  pandora_windows_service.h,
	  udp_server/udp_server.cc: Added an option to force the sending of
	  data files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-11 15:39:28 +00:00
hkosaka 56399280be 2013-04-11 Hirofumi Kosaka <kosaka@rworks.jp>
* win32/pandora_windows_service.cc: Fixed possible resource leaks;
	  - putenv() could run out the environment variable area, if
            using both file_collection and broker_agent.
	  - possible handle leak at launching tentacle_client.
	* Cleaned source code style.

	Merged from branch 4.x.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-11 11:33:52 +00:00
koichirok af8677da4f 2013-04-04 Koichiro KIKUCHI <koichiro@rworks.jp>
* windows_service.cc,
	  pandora_windows_service.cc,
	  windows_service.h: Set iteration base ticks after sleeping startup_delay
	 to exclude time taken by startup_delay from sleep time subtraction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7928 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-04 08:06:38 +00:00
zarzuelo 930b09e5f3 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.h
	  pandora_windows_service.cc: Added support for
	gis_exec (Automatic gis coordinates)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7180 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-21 17:13:05 +00:00
zarzuelo d35f66391b 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Fixed some bugs
	of the type conversions 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7167 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:39:11 +00:00
zarzuelo 2debc7c2fc 2012-11-20 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added support for
	custom fields



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-20 12:29:00 +00:00
zarzuelo 34867c52ad 2012-11-19 Sergio Martin <sergio.martin@artica.es>
* pandora_windows_service.cc: Added new fields of 
	agent in XML header like custom_id and url_address.
	Added coordinates data (not gis_exec yet)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-11-19 15:57:56 +00:00
Ramon Novoa bf54328305 2012-02-07 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Convert tentacle_timeout to milliseconds.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5510 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 16:58:06 +00:00
Ramon Novoa 8589da3b27 2012-02-07 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Added a timeout to the tentacle
	  client execution.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-02-07 16:33:01 +00:00
Ramon Novoa f6818a7277 2012-01-03 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.h,
	  modules/pandora_module.h,
	  modules/pandora_module_factory.cc,
	  modules/pandora_module.cc,
	  pandora_windows_service.cc: Added support for intensive modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-03 17:23:23 +00:00
Ramon Novoa 75116f7eba 2011-12-13 Ramon Novoa <rnovoa@artica.es>
* win32/installer/pandora.mpi,
	  win32/pandora_windows_service.cc,
	  win32/pandora.cc,
	  unix/DEBIAN/control,
	  unix/DEBIAN/make_deb_package.sh,
	  unix/pandora_agent.spec,
	  unix/pandora_agent: Fixed version strings (were wrong
	  in the previous commit).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-13 14:37:32 +00:00
Ramon Novoa 181c11c711 2011-12-13 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Brokers do not need to
	  modify the path.

	* win32/installer/pandora.mpi,
	  win32/pandora.cc,
	  unix/DEBIAN/control,
	  unix/DEBIAN/make_deb_package.sh,
	  unix/pandora_agent.spec,
	  unix/pandora_agent: Updated version strings.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-13 14:10:51 +00:00
Ramon Novoa d3d14d51c8 2011-12-12 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Removed some debugging messages.

	* modules/pandora_module.h,
	  modules/pandora_module.cc,
	  pandora_windows_service.cc: Fixed pre-conditions (were not working
	  properly).

	* modules/pandora_module_regexp.cc: Improved file status detection and
	  small fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-12 17:11:06 +00:00
Ramon Novoa 4e20886910 2011-11-22 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.cc: Fixed a bug that resulted in a buffer
	  overflow.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-22 12:44:47 +00:00
Ramon Novoa f2d1a13a85 2011-11-03 Ramon Novoa <rnovoa@artica.es>
* pandora_windows_service.h,
	  pandora_windows_service.cc: Several fixes to the proxy mode and
	  broker agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-11-03 19:13:57 +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 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
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 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