Commit Graph

1527 Commits

Author SHA1 Message Date
Ramon Novoa 15fb7ff2e3 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 24fea04c8f Set the default maximum log size to 1MB. 2014-09-16 16:58:37 +02:00
Ramon Novoa 74440b457a Set the default verbosity level to 3. 2014-09-16 16:58:37 +02:00
Ramon Novoa ad9fccd499 Print module and agent information when plugin execution fails. Fixes ticket #1293 2014-09-16 16:58:37 +02:00
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 245d7c7bba Removed references to the ChangeLog. 2014-09-15 11:34:30 +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
Alejandro Gallardo Escobar 8e5dadd7ca Removed the ChangeLog files :D 2014-09-09 17:41:42 +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
Vanessa Gil fd1a44df4d Commented autocreate_group parameter in config file.
pandora_server/NetBSD/pandora_server.conf.new
2014-09-08 15:20:48 +02:00
Sancho Lerena e6dd2ec15d 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 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
vgilc fd9e03e9d8 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 9c3208eff7 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 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
jsatoh 37a97f09e8 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
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 78a6ef4602 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
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
slerena 8473797f42 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 6ccb86eae2 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 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
koichirok 4ccdb0f2b0 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 6f232dec95 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
Ramon Novoa 486afe5124 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 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
koichirok 30714cf365 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 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 f14dd07148 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
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
slerena 9a9cee5d92 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 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 50fd3afc56 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
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 ff89315554 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 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