Commit Graph

1523 Commits

Author SHA1 Message Date
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 51dba4f48a Removed references to the ChangeLog. 2014-09-15 11:34:30 +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
Alejandro Gallardo Escobar a60f20e788 Removed the ChangeLog files :D 2014-09-09 17:41:42 +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
Vanessa Gil 7c470bc30d Commented autocreate_group parameter in config file.
pandora_server/NetBSD/pandora_server.conf.new
2014-09-08 15:20:48 +02:00
Sancho Lerena 14c480c1a6 2014-09-08 Sancho Lerena <slerena@gmail.com>
* pandora_server_installer: Fixed problems on linux due
        bad link paths from /usr/local/bin -> /usr/bin
2014-09-08 12:49:15 +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
vgilc 032a2c8466 2014-08-25 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_db.pl: Fixed problem
	deleting events. Ticket #979.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-25 09:54:22 +00:00
koichirok c5250384d1 2014-08-22 Koichiro Kikuchi <koichiro@rworks.jp>
* FreeBSD/pandora_server: Fixed bug fail to start pandora_server with
	 no profile.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10446 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-22 08:29:34 +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
jsatoh 64cc453910 2014-08-21 Junichi Satoh <junichi@rworks.jp>
* util/pandora_manage.pl: Added an option to add an event comment.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10438 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-21 00:39:25 +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 fa38ef245f 2014-08-14 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new: Added recon_timing_template to the
	  configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 16:17:29 +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
slerena f3522a155f 2014-08-14 Sancho Lerena <slerena@artica.es>
* FreeBSD/pandora_server.conf.new,
        conf/pandora_server.conf.new,
        conf/pandora_server.conf.windows: Modified default configuration
        to avoid put all agents in the group id #2.            




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 13:08:44 +00:00
koichirok 1e12c2ef40 2014-08-14 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server_installer: Fixed wrong chmod target.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 11:26:16 +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
koichirok aaa72b1d72 Fixed date of my latest ChangeLog entry
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 03:14:49 +00:00
koichirok 2b2dd547bc 2014-08-13 Koichiro Kikuchi <koichiro@rworks.jp>
* FreeBSD/tentacle_server: Set rcvar statically.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10416 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-14 03:08:19 +00:00
ramonn 4ba97a9030 2014-08-13 Ramon Novoa <rnovoa@artica.es>
* pandora_server.redhat.spec: Fixed some typos (packages were not
	  being built).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10413 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-13 12:57:31 +00:00
koichirok 9f2dca728e 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
koichirok 78d80911f5 2014-08-12 Koichiro Kikuchi <koichiro@rworks.jp>
* pandora_server_installer: Refactord implementation, added
	"fakeroot" installation support, small bug fixes and improvements:
	fixed processing arguments, replace "test -e" with "test -f" for portability
	(solaris' /bin/sh doesn't support "test -e").

	* Makefile.PL: Install bin/tentacle_server if WITHOUT_TENTACLE=0 so that
	MakeMaker can fix perl path in the shebang line.

	* pandora_server.redhat.spec: Added missing dependency.

	* FreeBSD/pandora_server.conf -> FreeBSD/pandora_server.conf.new: Renamed
	* NetBSD/pandora_server.conf  -> NetBSD/pandora_server.conf.new: Rename

	* FreeBSD/tentacle_server: Small bug fix and improvements. Fixed
	"tentacle_server_flags" and modified code to use proper variables and
	to get pid more strictly.

	* FreeBSD/pandora_server: Added support to start multiple pandora_server
	instances.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10401 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-12 06:06:26 +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 5565e19348 2014-08-07 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl,
	  util/recon_scripts/wmi-recon.pl: Set a default value
	  for nmap_timing_template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10392 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-07 11:50:26 +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
slerena 673e93ce84 2014-08-06 Sancho Lerena <slerena@artica.es>
* NetBSD/pandora_server.conf,
        conf/pandora_server.conf.new,
        conf/pandora_server.conf.windows: New default value for icmp_retries
        to have default setup more realiable but a bit slower.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-08-06 21:21:03 +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 8e60ec9d58 2014-07-30 Ramon Novoa <rnovoa@artica.es>
* util/trap_rate.sh: Added to repository. Script to calculate the rate of
	  SNMP traps received by snmptrapd.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-29 22:41:09 +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 1a13d4e299 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10357 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2014-07-25 13:16:46 +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
jsatoh b4992dcbc5 2014-07-25 Junichi Satoh <junichi@rworks.jp>
* util/pandora_db.pl: Fixed error when 'dbengine' token is not defined
	in pandora_server.conf with enterprise installed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10355 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-25 03:47:55 +00:00
mdtrooper f7469f47c1 2014-07-23 Miguel de Dios <miguel.dedios@artica.es>
* util/plugin/snmp_remote.pl: some fixed for the snmp v3.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-23 12:11:36 +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
hkosaka c4cf0f5b79 2014-07-11 Hirofumi Kosaka <kosaka@rworks.jp>
* util/pandora_manage.pl: To handle multi-byte strings in
	command line arguments (assumes utf-8).


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-11 06:51:39 +00:00