Commit Graph

914 Commits

Author SHA1 Message Date
artica 6f77347410 Auto-updated build strings. 2014-09-19 00:01:07 +02:00
artica 427bb5fe12 Auto-updated build strings. 2014-09-18 00:01:08 +02:00
Akihiro Uchida 6fa1bd78a9 Added max_log_generation config 2014-09-17 13:38:58 +09:00
artica c72ff36999 Auto-updated build strings. 2014-09-17 00:01:08 +02:00
Ramon Novoa bf779c52b3 Create an event when an agent can't be created because it can't be assigned to a group. 2014-09-16 16:58:37 +02:00
Ramon Novoa 62fd5767bd Set the default maximum log size to 1MB. 2014-09-16 16:58:37 +02:00
Ramon Novoa 27040239f9 Print module and agent information when plugin execution fails. Fixes ticket #1293 2014-09-16 16:58:37 +02:00
Ramon Novoa 6cfd5dc5b5 Prevent inc modules from becoming unknown after a count reset. 2014-09-16 12:19:42 +02:00
artica 51cf261d72 Auto-updated build strings. 2014-09-16 09:46:20 +02:00
Ramon Novoa 8a6afbb8f3 Fixed the master server query.
The master server should only take modules from servers of the same type.
2014-09-10 18:05:33 +02:00
Ramon Novoa a7c0010ec5 Added constants for server types. 2014-09-10 18:05:33 +02:00
Ramon Novoa e925a221ed Force nmap to use seconds as the timeout unit. 2014-09-09 13:06:42 +02:00
Ramon Novoa 0656960395 Added support for on-demand macros to the Plug-in Server. 2014-09-09 11:03:07 +02:00
Junichi Satoh 8808685b8b 2014-09-06 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed that unknown modules are never
	recovered when module data is received correctly in/after the
	race condition (module execution time exceeds its interval).
2014-09-06 11:16:46 +09:00
Ramon Novoa 5c2a8134cf 2014-09-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Tools.pm: Added basic support to log to syslog.
2014-09-04 13:02:23 +02:00
Ramon Novoa c30d468bb9 2014-09-03 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added dynamic macros for agent custom fields.
2014-09-03 16:23:09 +02:00
Ramon Novoa 4ebe53ba66 2014-09-02 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added support for loading complex macros on
	  demand.
2014-09-02 20:47:57 +02:00
Ramon Novoa 3837a5d1f5 2014-09-02 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Added the macros _agentcustomid_ and
	  _modulecustomid_.
2014-09-02 20:47:57 +02:00
hkosaka 7ac9f71c07 2014-08-27 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Fixed that _plugin_param2_
	and _plugin_param2_desc_ (and so on) were not replaced with
	the corresponding values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-27 02:36:02 +00:00
hkosaka 6eb6fed28a 2014-08-21 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Prevent some warnings would be
	written at pandora_server.error ("Use of uninitialized value
	in subroutine entry at ..." and "Use of uninitialized value in
	string ne at ..").

	MERGED FROM BRANCH 5.0 (rev10441).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-21 10:52:18 +00:00
ramonn 2a5aa76a9b 2014-08-18 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Copy tag names to events, not the URL.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-18 14:43:02 +00:00
alexhigh afded600f0 2014-08-18 Alejandro Gallardo <alejandro.gallardo@artica.es>
* lib/PandoraFMS/Core.pm: Added an internal action to
	create a Integria IMS incident on the function
	"pandora_execute_action". Added the function
	"pandora_create_integria_ticket".

	* util/pandora_manage.pl: Added an option to recreate
	a collection with the function "cli_recreate_collection".
	Added a call to get the Pandora FMS shared config.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-18 13:03:34 +00:00
ramonn 7a45b25746 2014-08-14 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/ReconServer.pm: Added a separate timing template for
	  network scans, since they can be very slow.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 16:09:55 +00:00
hkosaka 434b26086c 2014-08-14 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Added new alert macros
	_plugin_param1_ (,_plugin_param2_ and so on) to access to
	each of plugin parameters. Also added _plugin_param1_desc_
	to access to each description of plugin parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10418 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 03:45:57 +00:00
jsatoh fb0ed522f2 2014-08-12 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm, lib/PandoraFMS/DataServer.pm: Fixed sql
	error with MySQL 5.6 and its default sql_mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-12 01:07:29 +00:00
hkosaka c4b7dc2557 2014-08-11 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed modules would have ignored
	ff_threshold when the module shifted from normal to critical
	while its status remained unknown.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-11 09:53:10 +00:00
ramonn 93874598d5 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  lib/PandoraFMS/ReconServer.pm,
	  util/recon_scripts/snmp-recon.pl,
	  util/recon_scripts/wmi-recon.pl: Added a new parameter to control how
	  aggressive nmap should be.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 10:43:25 +00:00
alexhigh cc0e58b47b 2014-08-06 Alejandro Gallardo <alejandro.gallardo@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Little syntax fix.

	* util/pandora_revent_create.pl: Changed the url encode
	separator of the api call from "," to "|".


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 18:01:48 +00:00
ramonn ded9780100 2014-08-06 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/NetworkServer.pm: Rewrote TCP module socket code for
	  sending data (tcp_send). Fixes ticket #1096.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10385 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 15:48:59 +00:00
hkosaka c9b396f8be 2014-08-05 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Suppress "going to normal (warning,
	critical)" events from "unknown" status, if you disable "Throw
	unknown events" at the Console.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10380 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 07:15:52 +00:00
hkosaka a6f9efa740 2014-08-05 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/Core.pm: Fixed that unknown modules would be
	set to normal if its status is not normal, when new data
	arrives but ff_threshold is greater than 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-05 06:50:51 +00:00
ramonn b92d9110fe 2014-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Set unknown modules to normal if new data
	  arrives but ff_threshold is greater than 0.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 22:39:07 +00:00
ramonn 36d2981f8b 2014-07-28 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm: Added configuration tokens to disable the
	  translation of enterprise strings and variable bindings (SNMP console).

	* lib/PandoraFMS/SNMPServer.pm: Added thread support to the SNMP console.

	* lib/PandoraFMS/DB.pm: Fixed a warning.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10359 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-28 16:24:40 +00:00
mdtrooper df64061283 2014-07-25 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/GIS.pm, lib/PandoraFMS/DB.pm,
	lib/PandoraFMS/Core.pm, lib/PandoraFMS/ReconServer.pm,
	lib/PandoraFMS/DataServer.pm: tiny fixes for to improve the support
	of PostgreSQL.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-25 13:15:24 +00:00
vgilc 23a2b75bb3 2014-06-17 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Added macros
	'_alert_critical_instructions_' and
	'_alert_warning_instructions_'.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10340 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-14 07:09:16 +00:00
vgilc c355bca0ef 2014-07-08 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl
	  lib/PandoraFMS/Core.pm: Added 'create_data_module_from_local_component'
	and 'create_local_component' functions to CLI.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-08 13:24:31 +00:00
pandora-release fcd88889c9 Exported functions that were not exported.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-01 12:18:37 +00:00
pandora-release dc9aa06945 Updated version and build strings for the 5.1 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10313 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-30 12:37:47 +00:00
pandora-release db14e003d4 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-29 22:01:25 +00:00
pandora-release c9d9c3dd4c Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-28 22:01:19 +00:00
pandora-release c2664dcf53 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-27 22:01:37 +00:00
pandora-release a7c83f3244 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10295 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-26 22:01:24 +00:00
pandora-release f2d05bc443 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-25 22:01:20 +00:00
pandora-release ce8564483b Updated version and build strings for the 5.1RC2 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-25 14:49:43 +00:00
pandora-release 3c54c37a41 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-24 22:01:24 +00:00
pandora-release 3ec6ed5539 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10264 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-23 22:01:26 +00:00
pandora-release 001e4028eb Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-22 22:01:20 +00:00
pandora-release b954dfc23c Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-21 22:01:19 +00:00
pandora-release 86f8e3e000 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10247 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-20 22:01:18 +00:00
pandora-release 15a192920f Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-19 22:01:25 +00:00