1107 Commits

Author SHA1 Message Date
Ramon Novoa
fa1e9a08d2 Prevent inc modules from becoming unknown after a count reset. 2014-09-16 12:19:42 +02:00
artica
3018c5d1f3 Auto-updated build strings. 2014-09-16 09:46:20 +02:00
Ramon Novoa
0349404003 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
5282d9ef9a Added constants for server types. 2014-09-10 18:05:33 +02:00
Ramon Novoa
6196d06e82 Force nmap to use seconds as the timeout unit. 2014-09-09 13:06:42 +02:00
Ramon Novoa
b53da5c0cd Added support for on-demand macros to the Plug-in Server. 2014-09-09 11:03:07 +02:00
Junichi Satoh
e49311ae2a 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
aa52dfdadc 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
1ef60281c9 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
1435c70cc6 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
4dff787be0 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
a44b72ec25 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
d172f5e26d 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
Ramon Novoa
7b91329e6f 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
1351a3cb68 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
Ramon Novoa
06030e52cf 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
8d94e15eb5 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
aabc528c01 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
33563f350e 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
Ramon Novoa
b7183f4daf 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
9260d1b8d5 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
Ramon Novoa
06ea5990ec 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
6ab46fe635 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
dd712435c6 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
Ramon Novoa
37b9dc584d 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
Ramon Novoa
d91a102537 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
f679cec04c 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
a3cb1f7e26 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
7f711d541c 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
5083b64e5b 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
9e2b44a372 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
7d8bfca646 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
926a66dccf 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
b211dd9b0f 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
074d1e0eb9 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
010724600d 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
fd4dc8cf2b 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
f1a942ae93 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
b74d9624aa 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
40dae6c07e 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
bd4abc532e 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
bef6f7f40c 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
35e98cee02 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
pandora-release
836948293c Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-18 22:01:26 +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
pandora-release
46a6b0aaf8 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10226 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 22:01:32 +00:00
Ramon Novoa
281ca5ab92 2014-06-17 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Removed an unused module.

	* util/recon_scripts/snmp-recon.pl: Always perform a brute-force network scan.
	  Connect hosts via traceroute if no L2 information is available.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10218 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 11:21:51 +00:00
pandora-release
972628d95d Updated version and build strings for the 5.1RC1 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 11:19:26 +00:00
vgilc
5449f418d4 2014-06-17 Vanessa Gil <vanessa.gil@artica.es>
* lib/PandoraFMS/Core.pm: Fixed bug
	scheduling downtime.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10215 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 10:17:05 +00:00
hkosaka
e8f76f8e9d 2014-06-17 Hirofumi Kosaka <kosaka@rworks.jp>
* lib/PandoraFMS/PluginServer.pm: Fixed to handle plugin's
	output that includes multibyte character string.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10207 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-17 02:18:49 +00:00