Commit Graph

230 Commits

Author SHA1 Message Date
Ramon Novoa feac9b4263 Added support for warmup intervals (see the official docs for more
info).
2015-11-13 16:28:46 +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
Ramon Novoa 9154814f2c 2013-03-26 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/Tools.pm,
	  lib/PandoraFMS/DataServer.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  bin/pandora_server: Improved pandora_get_os to support custom operating
	  systems and moved it from Tools.pm to Core.pm.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-26 16:13:15 +00:00
Ramon Novoa ec65703d8b 2013-03-20 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf,
	  lib/PandoraFMS/Core.pm,
	  lib/PandoraFMS/Config.pm,
	  bin/pandora_server: Added the parameter braa_retries, which lets braa
	  retry SNMP modules a number of times before handing it over to the
	  network server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-20 15:50:41 +00:00
Ramon Novoa 33dfb15aff 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Moved a log message to verbosity 10.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 18:23:07 +00:00
Ramon Novoa 442bf2013c 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Style fix.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 18:12:53 +00:00
Ramon Novoa 3c9fe04dc2 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm,
	  bin/pandora_server,
	  util/pandora_db.pl: Added support for on-demand module status
	  calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7865 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 17:16:59 +00:00
Ramon Novoa 0abefef794 2013-02-28 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Undid the previous commit since forking after
	  having launched all server threads can lead to trouble.

	* lib/PandoraFMS/Core.pm: Removed some debugging code that polluted the
	  logs.
	
	* lib/PandoraFMS/NetworkServer.pm: Removed a DISTINCT from the query since
	  module ids are unique.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 10:30:32 +00:00
Ramon Novoa d40c9a0b01 2013-02-25 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Delay the backgrounding of the main process to
	  make log messages available when starting from the init script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 14:36:01 +00:00
zarzuelo ad40156f0e 2013-02-14 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/Core.pm
	bin/pandora_server
	util/pandora_db.pl: Adapt status counts querys to use only
	not disabled modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-14 13:11:52 +00:00
Ramon Novoa 272ff3ec26 2013-01-31 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server,
	  conf/pandora_server.conf,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/Core.pm,
	  util/pandora_manage.pl: Added support for event storm protection and
	  disabling auto event validation.

	* lib/PandoraFMS/Server.pm: Improved the server status update function
	  to use run less queries.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7556 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-31 18:02:41 +00:00
Ramon Novoa d4196780e3 2012-12-24 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Re-calculate module status count upon server
          startup.

        * util/pandora_db.pl: Use new not-init status for module status count
          calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-24 12:15:51 +00:00
zarzuelo 53162b4e9a 2012-12-13 Sergio Martin <sergio.martin@artica.es>
* conf/pandora_server.conf
	lib/PandoraFMS/Config.pm
	lib/PandoraFMS/DB.pm
	lib/PandoraFMS/Core.pm
	bin/pandora_server: Added new thread to the
	event replication process (enterprise feature) 
	and control this one and the policy queue patrol 
	process with new two configuration parameters



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-12-13 17:07:23 +00:00
mdtrooper 9467c58ebc 2012-08-30 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/Core.pm: refactoriced the code for the new Planned
	Downtime, now check the downtimes once and periodical and the
	subtypes of downtimes.
	
	* bin/pandora_server: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-30 16:35:24 +00:00