Commit Graph

342 Commits

Author SHA1 Message Date
Ramon Novoa add2fbcc81 Show a warning message if Net::SSLeay may leak memory. 2020-03-23 19:02:21 +01:00
Jose Gonzalez 3c5554b985 Deleted stderr for curl testing 2020-01-29 17:32:04 +01:00
Jose Gonzalez d1e545da24 Solved issue with logger message when default path was assumed 2020-01-29 11:46:31 +01:00
Jose Gonzalez c8194166ef Added console_api_pass write for pandora_server.conf 2020-01-27 16:19:27 +01:00
Jose Gonzalez 7102b14e8b Refactoring and adding new specs 2020-01-24 13:10:02 +01:00
Jose Gonzalez 78fb874886 Solved some issues with paramethers 2020-01-22 16:33:12 +01:00
Jose Gonzalez ee44c74d27 Solved issue with user profile creation 2020-01-20 12:40:19 +01:00
Jose Gonzalez 6fdd460f8a Solved an internal issue for control the test result 2020-01-20 11:27:39 +01:00
Jose Gonzalez 867ae40b17 Changed pandora server start for control if is needed add parameters. Also, deleted default parameters 2020-01-17 22:58:45 +01:00
Jose Gonzalez 742329336e Added link with visual consoles 2019-10-24 14:30:34 +02:00
Jose Gonzalez 29bcd379f7 Added changes for liking with visual consoles 2019-10-24 11:53:35 +02:00
Jose Gonzalez 7c39f3680e Added feature sample_agent 2019-10-22 11:54:27 +02:00
fbsanchez 647ce5706e encryption key prepared before being used 2019-10-04 14:53:07 +02:00
Ramon Novoa 39d5285720 Re-read the configuration from the DB periodically. 2019-09-11 09:25:40 +02:00
Rafael Ameijeiras c91893c948 spec console open and build_rpm for rhel7
Former-commit-id: 324d90d95ea5757285e64ba3e28346ef007a815f
2019-04-11 13:45:57 +02:00
fermin831 86509caf6b Fixed downtimes disabled and enabled agents
Former-commit-id: a5c2362e4faf6c0ed9ff2047b6d070aa4d7cdac8
2019-02-26 14:44:51 +01:00
fbsanchez ed63ef47fa Moved ReconServer to DiscoveryServer
Former-commit-id: 5e18aa75d669f6b45d3b4e2648f31473fd206091
2019-02-13 14:56:10 +01:00
Ramon Novoa 2480de2f9f Fix a typo in pandora_exec. 2018-11-21 16:20:26 +01:00
fbsanchez df5e6daf7b re evaluate enterprise capabilities on configuration reload 2018-11-07 15:59:19 +01:00
fbsanchez 7407431343 re-initialize pandorafms_server after configuration change 2018-11-07 14:57:20 +01:00
Ramon Novoa eba9c58f18 Prevent the counter from overflowing often when server_threshold is low. 2018-10-02 12:43:39 +02:00
fermin831 fb97c373ff Fixed replication events and update cache problems 2018-08-14 11:43:14 +02:00
Ramon Novoa 9a9956296f Check and restart server threads if necessary.
Ref pandora_enterprise#2593.
2018-08-10 11:35:27 +02:00
Ramon Novoa 90dd961fa1 Do not use quotemeta to escape arguments on win32.
Ref pandora_enterprise#2625.
2018-08-08 11:24:50 +02:00
Ramon Novoa 467beb58fd Updated the win32 Tentacle binaries. 2018-07-05 11:29:07 +02:00
Ramon Novoa 0f4ea33667 Update Tentacle to the latest version.
Ref pandora_enterprise#2360.
2018-07-04 12:32:55 +02:00
fermin831 7afc617e62 [Rebranding] Implemented server rebranding through environment vars 2018-05-25 12:39:30 +02:00
fermin831 cc26124289 Rebranding open server 2018-05-17 16:12:44 +02:00
vgilc 118bed56fe Merge branch 'ent-2100-Mejorar-descripcion-de-errores-en-el-TENTACLE-SERVER' into 'develop'
Now tentacle server errors are more descriptives

See merge request artica/pandorafms!1454
2018-05-09 10:21:18 +02:00
fermin831 1bf0fa6e02 Moved tentacle configuration file 2018-04-27 12:13:01 +02:00
fermin831 3526ea25f9 Updated windows tentacle to 0.6.2 version 2018-04-27 10:21:07 +02:00
fermin831 1fa309516f Added all configuration options and a sample configuration file of tentacle server 2018-04-27 09:26:56 +02:00
fermin831 979e7fa8b5 Added parse configuration file to tentacle server 2018-04-26 15:43:47 +02:00
fermin831 45daae5b64 Now tentacle server errors are more descriptives 2018-04-26 13:35:05 +02:00
fermin831 c024fec509 [Secondary groups] Fixed single secondary group update meta cache 2018-04-04 13:07:45 +02:00
fermin831 e2d61d5794 [Secondary groups] Added update cache on server 2018-04-03 15:36:33 +02:00
Ramon Novoa 21f8194f0d Add a new agent provisioning server (enterprise). 2018-03-13 17:52:34 +01:00
danielmaya 95c92efc6f Fixed disabled agent in bulk operations 2018-02-12 17:14:54 +01:00
enriquecd 4ad0085602 Update metaconsole after agent bulk operations for update - #1674 2017-12-12 17:58:06 +01:00
fermin831 4dfd000ba0 Modified events protection checking to protect secundary servers too 2017-10-11 11:05:55 +02:00
fermin831 4d27093679 Fixed down server time calculation 2017-09-18 11:50:40 +02:00
daniel 8252362879 fixed query in server 2017-07-27 09:33:52 +02:00
Ramon Novoa ce1491154e Sync the agent cache in the background.
Ref artica/pandora_enterprise#871.
2017-06-30 17:53:57 +02:00
Ramon Novoa 03b0b3cb33 Metaconsole nodes will always sync the agent cache. 2017-03-31 11:39:25 +02:00
m-lopez-f ce576441fa Not stop pandora_server service on windows when send XML PARSER error in data consumer. Gitlab: #518 2017-03-14 16:47:09 +01:00
mlopez 75e8926c11 Revert "Only stop service in windows when error not XML PARSER problems. Gitlab: #518"
This reverts commit 4dce98e2d2
2017-03-14 14:30:08 +01:00
m-lopez-f 4dce98e2d2 Only stop service in windows when error not XML PARSER problems. Gitlab: #518 2017-03-14 12:45:50 +01:00
Hirofumi Kosaka b0d8216965 Fixed a bug that non-master servers had stopped log rotation. 2017-03-07 17:58:25 +09:00
Hirofumi Kosaka c7b33abb07 Fixed a bug that non-master servers had stopped their self-monitoring. 2017-03-07 16:29:52 +09:00
Ramon Novoa 2109fcc875 Update the Tentacle clients. 2017-02-27 16:15:05 +01:00
Ramon Novoa a3ab827374 Send at least . and .. when listing files.
Tentacle does not like empty data. Make sure we always send something
when listing files.

(cherry picked from commit 43a7f75343)
2017-02-23 15:45:25 +01:00
Ramon Novoa 45d2529e38 Merge the tentacle_server with support for insecure operations. 2017-02-22 13:20:35 +01:00
Ramon Novoa c3b9f9bdbb Kill child processes when the server exits. 2016-10-27 15:31:19 +02:00
fermin831 1cfe7d9578 Added log to file on tentacle Server 2016-09-05 12:20:13 +02:00
fermin831 b0700e82dd Merged SF tentacle version 0.6.0 (Win32 does not support IPv6)
(cherry picked from commit a0e68d03a0)
2016-06-20 17:31:27 +02:00
Ramon Novoa 226c46e91d Load the Transactional Server from Enterprise.pm. 2016-06-14 12:34:20 +02:00
fbsanchez 2aac324adf Removed unexistent lib use 2016-06-14 12:24:31 +02:00
fbsanchez 32345e07d5 Introducing to Pandora FMS Transactional Server 2016-06-13 13:51:55 +02:00
fermin831 8c30cbd756 Added AUTODISABLE mode to agents Tickets #3497 2016-06-03 11:58:13 +02:00
fermin831 f397b657f1 Added new server_keepalive column to have individual keepalive TICKETS #3273 2016-03-15 16:02:27 +01:00
Ramon Novoa 36217e8b7e Merged the latest version of the Tentacle server from the SF repo.
(cherry picked from commit e44ef7ddc1)
2016-02-01 12:06:20 +01:00
m-lopez-f 2ae4568fc5 Fixed problems with fired alerts when recover this alerts, no show properly in metaconsole. Tiquet: #3111 2015-12-22 11:49:20 +01:00
Ramon Novoa 02aacb05bf Added support for warmup intervals (see the official docs for more
info).

(cherry picked from commit feac9b4263)
2015-11-13 16:29:10 +01:00
fermin831 6a709d20ef Check server remote config every keepalive time and not server_threshold 2015-10-14 19:10:16 +02:00
fermin831 18e3c4a927 Added open files to server remote config 2015-10-09 16:00:34 +02:00
Ramon Novoa ca1db98cfd Improved error logging for the Tentacle server. 2015-07-13 12:40:47 +02:00
Ramón Novoa 62cc0e2abe Merge pull request #24 from Robert-Nelson/tentacle-ssl-fix
Fix two SSL issues
2015-07-13 12:26:42 +02:00
Ramon Novoa 1c719b3bde Fixes for the metaconsole's plug-in server. 2015-06-30 16:34:07 +02:00
Robert Nelson e130b0f5f7 Print IO::Socket::SSL fatal errors during SSL setup 2015-06-05 15:21:57 -07:00
Ramon Novoa 8af3ae3fdb Updated the Tentacle server to version 0.5.0. 2015-05-28 16:56:38 +02:00
Ramon Novoa 9f69bb51db Fixed a warning. 2015-04-30 11:18:44 +02:00
Alejandro Gallardo Escobar e0165a4ab3 Merge branch 'develop' into feature/meta-agent-cache 2015-04-16 14:23:34 +02:00
Ramon Novoa 79afef8cf8 Added support for metaconsole servers. 2015-04-16 11:35:20 +02:00
Ramon Novoa 71def9a7fb Implemented an agent cache for the metaconsole. 2015-04-06 15:26:26 +02:00
Ramon Novoa 3a6f885b15 Added support for password encryption to the Pandora FMS Server. 2015-03-02 17:30:19 +01:00
Ramon Novoa 0b175b191f Force the servers out of scope before shutting down. Fixes ticket #1594. 2015-02-13 12:45:28 +01:00
Ramon Novoa b88c52ccba Added support for multiple master servers. 2015-01-13 10:56:56 +01:00
Ramon Novoa ecc7cadeb7 Updated the Tentacle server to the latest version. 2014-11-27 15:37:36 +01:00
Junichi Satoh 5a074f3c2f Copied the newest tentacle_server from the tentacled repository.
(Fixed that tcp connection is not closed when timed out or connection
refused by libwrap.)
2014-11-25 09:51:58 +09:00
Ramon Novoa 6b68c268d4 Added a token to configure the self monitoring interval. 2014-10-15 15:08:19 +02:00
Hirofumi Kosaka 844b5b93a2 Moved log rotation from inside of logger() to pandora_server's periodic tasks,
preventing warnings below at pandora_server.error;

> Use of uninitialized value in numeric gt (>) at /usr/lib/perl5/PandoraFMS/Tools.pm line 415.

MERGED FROM pandora_5.0.
2014-09-29 19:53:15 +09:00
Ramon Novoa c43f70edfd Fixed a typo. 2014-09-22 17:06:52 +02:00
Ramon Novoa f09b1ab17c Set the self-monitoring interval to 180 seconds (ticket #1324). 2014-09-22 11:08:45 +02:00
Junichi Satoh 376bbcde81 Fixed pandora_server execution error with wrong variable. 2014-09-21 15:01:18 +09:00
Ramon Novoa f8425f0aa7 Server tasks should be executed on the master server only. 2014-09-18 13:18:06 +02:00
koichirok b4811b918b 2014-08-12 Koichiro Kikuchi <koichiro@rworks.jp>
* bin/pandora_server: Fixed issue that pandora_server failed to
	 shut down properly on non-Linux systems.

	Merged r10335 from branch 5.0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-12 06:18:57 +00:00
pandora-release c9d5e8d794 Fixes to the Windows service.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-18 09:57:17 +00:00
Ramon Novoa 7a17f11379 2014-05-28 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server,
	  lib/PandoraFMS/Config.pm: Removed getopts. Fixes a problem found by Junichi.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10027 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-28 09:37:01 +00:00
Ramon Novoa 84277a1333 2014-05-27 Ramon Novoa <rnovoa@artica.es>
* bin/tentacle_server: Updated to the latest version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-27 12:32:38 +00:00
Ramon Novoa 323711f447 2014-05-20 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Stop the service when the server crashes (win32).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-20 14:33:27 +00:00
pandora-release 42371406fe Added to repository. pandora_exec binary for win32.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-14 07:58:02 +00:00
Ramon Novoa 828a23432b 2014-05-13 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Added support to run as a native win32 service.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-13 13:34:57 +00:00
Ramon Novoa f889ebee0f 2014-05-09 Ramon Novoa <rnovoa@artica.es>
* bin/tentacle_server.exe: Added to repository. Tentacle server win32
	  binary.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9902 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-09 15:10:56 +00:00
alexhigh d3338ea1bf 2014-05-05 Alejandro Gallardo <alejandro.gallardo@artica.es>
* bin/pandora_server: Added checks and warnings for
	too many threads and verbosity 10.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-05 11:25:27 +00:00
koichirok e7c86b7d9b 2014-04-03 Koichiro KIKUCHI <koichiro@rworks.jp>
* bin/tentacle_server: Updated to the logfile supported version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-04-03 11:26:15 +00:00
Ramon Novoa 13c843274a 2014-01-15 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Prevent the thread that executes periodic tasks
	  from dying on database errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-15 11:10:53 +00:00
jsatoh b32278225c 2013-09-22 Junichi Satoh <junichi@rworks.jp>
* bin/tentacle_server: Upgraded to 0.4.0. (Imported from trunk of
	tentacled repository.)
	Added support for IPv6 and improved to be able to bind multiple
	interfaces and/or IP addresses.
	Added support for 'TCP Wrappers'. When the 'Authen::Libwrap' is
	installed and -T option is specified, this feature can be used.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8796 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-22 14:44:57 +00:00
Ramon Novoa 9173d085b7 2013-09-09 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm,
	  bin/pandora_server: Added support for event auto-expiry and small
	  fixes.

	* util/pandora_manage.pl: Added support for event custom data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-09-09 16:09:34 +00:00
Ramon Novoa 249f0b38f9 2013-05-16 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Added information about the loading of the
	  enterprise module to the log.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-05-16 08:39:44 +00:00
Ramon Novoa cfb7bc2c90 2013-04-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Server.pm,
	  bin/pandora_server: Moved server tasks to their own thread. Fixes
	  bug #3609450.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-17 14:58:50 +00:00