Commit Graph

123 Commits

Author SHA1 Message Date
fbsanchez da0c8355c9 RC1 Omnishell for windows 2020-10-02 13:21:08 +02:00
fbsanchez beac005a44 RC1 pandoraFMS windows agent with omnishell reference 2020-10-01 20:56:09 +02:00
Ramon Novoa f39be8f5b9 Add proxy_address and proxy_port parameters to the agents. 2020-09-23 12:04:55 +02:00
Ramon Novoa dac5b6b6b3 Unify file transfer, secondary mode and XML buffer criteria.
Ref pandora_enterprise#5360
2020-01-29 13:08:00 +01:00
Ramon Novoa 337e3357db Non-intensive modules do not need to check a timestamp.
Ref pandora_enterprise#4660.
2019-11-22 13:59:22 +01:00
fbsanchez 3be05cf385 added module_interval feature to broker agents 2019-09-24 19:13:55 +02:00
fermin831 a0da08e1aa Added standby mode on windows agent 2018-09-24 13:13:12 +02:00
fermin831 a724851a4d [Secondary groups] Added secondary groups to Windows agent 2018-04-05 11:02:19 +02:00
fermin831 f8f322e328 [Windows Agent] Removed all references to module_cron_interval 2018-02-21 15:57:46 +01:00
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