Commit Graph

1763 Commits

Author SHA1 Message Date
Alejandro Gallardo Escobar 987bc2b3c6 Fixed the purge of reports 2014-10-27 15:31:31 +01:00
Ramon Novoa 8596b1365c Fixed a typo in a module name. 2014-10-27 13:21:34 +01:00
Alejandro Gallardo Escobar 334c843482 Changed the permissions to 755 2014-10-27 13:00:15 +01:00
artica 267f399e5e Auto-updated build strings. 2014-10-27 00:01:08 +01:00
artica 57dc110ce5 Auto-updated build strings. 2014-10-26 00:01:08 +02:00
artica 7c7b6b3927 Auto-updated build strings. 2014-10-25 00:01:10 +02:00
Ramon Novoa 1499e283b0 Reduced verbosity to make parsing output easier. 2014-10-24 15:23:54 +02:00
Ramon Novoa aafb027ba8 Fixed a typo in a log message. 2014-10-24 15:23:53 +02:00
artica 83289ea0ca Auto-updated build strings. 2014-10-24 00:01:10 +02:00
pandora-release cef5cf245b Updated version and build strings. 2014-10-23 16:45:00 +02:00
artica 0e6d6a41de Auto-updated build strings. 2014-10-23 00:01:10 +02:00
artica 84c329c6c2 Auto-updated build strings. 2014-10-22 00:01:09 +02:00
mdtrooper 859818f8f2 Added the lost macro _agentgroup_ 2014-10-21 14:33:49 +02:00
artica 30e3064b2c Auto-updated build strings. 2014-10-21 00:01:10 +02:00
artica 7da6763197 Auto-updated build strings. 2014-10-20 00:01:08 +02:00
artica 3f3a6fcea0 Auto-updated build strings. 2014-10-19 00:01:09 +02:00
Junichi Satoh 7ea31cd375 Changed autocreate_group as the same as linux. 2014-10-18 21:27:04 +09:00
artica 44fd6c6e43 Auto-updated build strings. 2014-10-18 00:01:11 +02:00
Alejandro Gallardo Escobar bf8cdcf666 Modified the function "pandora_checkdb_consistency" to force the server to update the values of the modules status of an agent after a module deletion 2014-10-17 17:58:04 +02:00
artica f07bdce454 Auto-updated build strings. 2014-10-17 00:01:08 +02:00
artica fd58a413af Auto-updated build strings. 2014-10-16 00:01:10 +02:00
pandora-release c878b323c1 Updated version and build strings. 2014-10-15 17:06:30 +02:00
mdtrooper a3f22585c5 Ramon in my computer: Fixed the function 'cli_add_event_comment'. Ticket: #1456 2014-10-15 17:03:16 +02:00
Ramon Novoa 6b68c268d4 Added a token to configure the self monitoring interval. 2014-10-15 15:08:19 +02:00
artica 47bba4d676 Auto-updated build strings. 2014-10-15 00:01:10 +02:00
Sancho Lerena dea7cd84b1 Merge branch 'develop' of https://github.com/pandorafms/pandorafms into develop 2014-10-14 18:03:07 +02:00
Sancho Lerena 573233c4fc New default values for autocreate server. This will be safer for a "new" install. 2014-10-14 17:55:16 +02:00
artica 91c620184d Auto-updated build strings. 2014-10-14 00:01:09 +02:00
artica f2b54d32f9 Auto-updated build strings. 2014-10-13 00:01:08 +02:00
artica 12240ba7ee Auto-updated build strings. 2014-10-12 00:01:07 +02:00
artica 39af9a344a Auto-updated build strings. 2014-10-11 00:01:10 +02:00
Ramon Novoa 179b2b5d98 Added a last check for host interface names. 2014-10-10 16:44:21 +02:00
artica d7edcd9bee Auto-updated build strings. 2014-10-10 00:01:10 +02:00
artica ffcd50fa15 Auto-updated build strings. 2014-10-09 00:01:09 +02:00
pandora-release d04a5b8c54 Updated version and build strings for the 5.1SP1RC1 release. 2014-10-08 13:28:58 +02:00
artica be5693a607 Auto-updated build strings. 2014-10-08 00:01:10 +02:00
Sancho Lerena 8d9c3135ee Merge branch 'develop' of https://github.com/pandorafms/pandorafms into develop 2014-10-07 15:57:40 +02:00
Sancho Lerena 464031de21 Fixed missing parameter, was calling to a fixed path 2014-10-07 15:54:26 +02:00
Ramon Novoa 3a27b49edd Delete old data that was not exported. 2014-10-07 14:51:47 +02:00
Ramon Novoa 35a02f3eb8 Make sure the module still exists before compacting its data. 2014-10-07 11:59:46 +02:00
artica ba5ed6cbfe Auto-updated build strings. 2014-10-07 00:01:08 +02:00
artica 0b022cf376 Auto-updated build strings. 2014-10-06 00:01:09 +02:00
artica b3e277570b Auto-updated build strings. 2014-10-05 00:01:08 +02:00
artica 9965c77656 Auto-updated build strings. 2014-10-04 00:01:09 +02:00
Junichi Satoh c0488eea90 Added new tokens as the same as linux. 2014-10-03 13:10:16 +09:00
artica b3d0d8fe0f Auto-updated build strings. 2014-10-03 00:01:13 +02:00
Ramon Novoa 2b68fdc23b Fixed interface names. 2014-10-02 20:18:54 +02:00
Ramon Novoa 237c7539ce Make sure other parameters are properly read from pandora_server.conf. 2014-10-02 16:27:54 +02:00
Ramon Novoa 54d12783a2 Use snmp_timeout instead of a fixed value for the SNMP recon script. 2014-10-02 13:44:17 +02:00
hkosaka 4b2901670f Added the alert macros _groupcustomid_. 2014-10-02 17:15:38 +09:00
artica f4a7b581b6 Auto-updated build strings. 2014-10-02 00:01:08 +02:00
Ramon Novoa 06680d09f2 Added the async_recovery configuration token. 2014-10-01 12:00:14 +02:00
artica ffdaff3d5d Auto-updated build strings. 2014-10-01 00:01:11 +02:00
artica f945b8253f Auto-updated build strings. 2014-09-30 00:01:09 +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 f682e5a48a Included the max value in the inverse interval.
Included the max value in the inverse interval to make it the
complementary of the original interval.
2014-09-29 10:30:34 +02:00
artica eb47ea6870 Auto-updated build strings. 2014-09-29 00:01:07 +02:00
artica ba13ab9bbf Auto-updated build strings. 2014-09-28 00:01:08 +02:00
artica 45f4d30d79 Auto-updated build strings. 2014-09-27 00:01:10 +02:00
pandora-release edd4dc5777 Updated version and build strings. 2014-09-26 14:47:03 +02:00
artica 0ff37dd52a Auto-updated build strings. 2014-09-26 00:01:09 +02:00
Ramon Novoa 1122c578e6 Fixed a typo. 2014-09-25 10:56:08 +02:00
Ramon Novoa 116032fced Fixes to module status calculation with ff enabled. 2014-09-24 20:04:28 +02:00
Sancho Lerena 4cb7ece4be Updated integrity check: added option to compare two integrity files. 2014-09-24 19:46:43 +02:00
Sancho Lerena ff0f2d5256 Added new tool to generate a hash catalog to verify pandora fms setups has not been altered and provide a simple integrity check of libraries, configuration files and sources of both, console, server and agent. 2014-09-24 15:46:20 +02:00
artica 73d714b34d Auto-updated build strings. 2014-09-24 00:01:09 +02:00
Ramon Novoa 8e2aa323b3 Added the Encode::Locale dependency. 2014-09-23 11:42:26 +02:00
artica 01e6463fdc Auto-updated build strings. 2014-09-23 00:01:08 +02:00
Ramon Novoa c43f70edfd Fixed a typo. 2014-09-22 17:06:52 +02:00
Sancho Lerena 08eaf5fc70 Created a new tool for SNMP Trap generation, useful for stress tests and for development. 2014-09-22 12:25:34 +02:00
Ramon Novoa f09b1ab17c Set the self-monitoring interval to 180 seconds (ticket #1324). 2014-09-22 11:08:45 +02:00
artica a73aa5eb84 Auto-updated build strings. 2014-09-22 00:01:09 +02:00
Junichi Satoh 376bbcde81 Fixed pandora_server execution error with wrong variable. 2014-09-21 15:01:18 +09:00
artica e8b00cf2f9 Auto-updated build strings. 2014-09-21 00:01:07 +02:00
artica 59bf5748c7 Auto-updated build strings. 2014-09-20 00:01:09 +02:00
Ramon Novoa e10b5e2522 Renamed interface modules to match those created by the SNMP Wizard. 2014-09-19 12:27:18 +02:00
artica 1877cf2b75 Auto-updated build strings. 2014-09-19 00:01:07 +02:00
Sancho Lerena c6755f0dca New remote plugin to measure packet loss using a remote check. 2014-09-18 18:30:42 +02:00
Ramon Novoa e7dfd18759 Added modules for ifce incoming and outgoing traffic and small fixes. 2014-09-18 18:27:41 +02:00
Ramon Novoa f43fcabc5a Fixed the OS type detection for the uninstaller. 2014-09-18 17:03:31 +02:00
Ramon Novoa f8425f0aa7 Server tasks should be executed on the master server only. 2014-09-18 13:18:06 +02:00
Ramon Novoa ffbbb47aba Fixed a bug that made the installer crash when called without arguments. 2014-09-18 12:57:05 +02:00
artica cd4d803c8c Auto-updated build strings. 2014-09-18 00:01:08 +02:00
Ramon Novoa f4ed2b8d6e Do not delete not init modules by default.
An option has been added to the Pandora FMS Console Setup to enable the
deletion of these modules.
2014-09-17 14:13:51 +02:00
Akihiro Uchida b20c81143d Added max_log_generation config 2014-09-17 13:38:58 +09:00
artica a203d3beb7 Auto-updated build strings. 2014-09-17 00:01:08 +02:00
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
jsatoh 8d7541ce56 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 e62792c36b 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 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
hkosaka 292aa7f6f1 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
vgilc 042034d3f7 2014-07-08 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Fixed problem
	with entities.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10326 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-08 14:24:55 +00:00
vgilc 81d93475df 2014-07-08 Vanessa Gil <vanessa.gil@artica.es>
* util/pandora_manage.pl: Fixed help screen.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-07-08 13:34:12 +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
Ramon Novoa c6fa952498 2014-06-26 Ramon Novoa <rnovoa@artica.es>
* util/pandora_xml_stress.pl: Remove new line and carriage return
	  characters when parsing the configuration file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-26 10:11:47 +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
Ramon Novoa a595a55b1b 2014-06-24 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Improved host connection.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-24 13:20:19 +00:00
vgilc 8c9eeb7a4c 2014-06-24 Vanessa Gil <vanessa.gil@artica.es>
* util/recon_scripts/snmpdevices.pl: Deleted file.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10272 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-24 10:24:59 +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
pandora-release 62c92e4b9f Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10204 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-16 22:01:23 +00:00
pandora-release d17999cb55 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10198 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-15 22:01:20 +00:00
jsatoh 52dadf4a8c 2014-05-15 Junichi Satoh <junichi@rworks.jp>
* util/pandora_manage.pl: Fixed typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10197 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-15 03:47:27 +00:00
jsatoh 82df128455 2014-05-15 Junichi Satoh <junichi@rworks.jp>
* util/pandora_manage.pl: Added support for 'each_ff' and 'ff_timeout'
	to module creation and modifying options.
	Fixed bug that 'enable_unkown_events' cannot be set by module creation
	options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10196 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-15 02:53:41 +00:00
pandora-release b1c0a0c86e Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-14 22:01:20 +00:00
uchida 7ad2b57efa 2014-06-14 Akihiro Uchida <auchida@rworks.jp>
* pandora_server/pandora_server.redhat.spec: allow
	  tty-less sudo for pandora to fix failure on start
	  tentacle_serverd service in recent RHEL derivatives.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-14 14:09:49 +00:00
pandora-release 5cb61aad85 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10189 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-13 22:01:32 +00:00
pandora-release abaea37efd Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-12 22:01:19 +00:00
Ramon Novoa b4fd879fbd 2014-06-12 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Removed the keepalive semaphore, since down_force
	  is not supported in earlier versions of Thread::Semaphore. Made keep alive
	  modules work with an FF threshold.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-12 14:00:09 +00:00
pandora-release ad25bdffe1 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-11 22:01:19 +00:00
Ramon Novoa e61de378ac 2014-06-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Core.pm: Prevent race conditions between keep_alive and
	  keep_alive_nd.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10166 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-11 15:20:23 +00:00
pandora-release afa5cf1471 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10157 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-10 22:01:30 +00:00
pandora-release 95d574a5c7 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-09 23:47:10 +00:00
jsatoh e015b84ba1 2014-06-08 Junichi Satoh <junichi@rworks.jp>
* FreeBSD/pandora_server.conf, NetBSD/pandora_server.conf: Updated
	default settings as the same as Linux ones.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10140 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-08 00:55:21 +00:00
pandora-release 7a5bf78a94 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-07 23:39:28 +00:00
pandora-release 011dba7748 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-06 23:50:32 +00:00
pandora-release c58be14d5d Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-05 23:51:32 +00:00
zarzuelo 845c06216c 2014-06-05 Sergio Martin <sergio.martin@artica.es>
* lib/PandoraFMS/PluginServer.pm
	lib/PandoraFMS/Core.pm: Add tags name macro to alerts and plugins.
	Add tags phones to plugins. Ticket #568



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-05 11:44:31 +00:00
pandora-release 1bed9af6c4 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-04 23:44:17 +00:00
mariopulido 6a1cc19554 2014-06-04 Mario Pulido <mario.pulido@artica.es>
* conf/pandora_server.conf.new: Fixed bug




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10107 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-04 15:42:38 +00:00
pandora-release 33d8938473 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10095 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 23:47:49 +00:00
Ramon Novoa 7185640c79 2014-06-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Create a ping module for agents that do
	  not respond to SNMP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10093 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 13:46:38 +00:00
pandora-release 3ed05d2402 Updated version and build strings for the 5.1BETA1 version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 09:36:52 +00:00
jsatoh 545a30e58b 2014-06-03 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Changed to ignore 'FF timeout' except async
	modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10085 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-03 04:44:31 +00:00
pandora-release 03dc21f167 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10082 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-02 23:45:28 +00:00
pandora-release 4015f1d037 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-06-01 23:38:53 +00:00
pandora-release 89247b77ea Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-31 23:40:26 +00:00
jsatoh 55c25d883f 2014-05-31 Junichi Satoh <junichi@rworks.jp>
* lib/PandoraFMS/Core.pm: Improved 'FF threshold' to be able to define
	timeout.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-31 13:39:45 +00:00
pandora-release 64b353bff4 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10058 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 23:49:14 +00:00
slerena ced5e8c979 2014-05-30 Sancho Lerena <slerena@artica.es>
* conf/pandora_server.conf.new: Review of default configuration file.

        * pandora_server.redhat.spec,
          pandora_server.spec,
          DEBIAN/control: Added perl telnet module as dependency.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 13:56:44 +00:00
Ramon Novoa 68c13d3310 2014-05-30 Ramon Novoa <rnovoa@artica.es>
* conf/pandora_server.conf.new,
	  lib/PandoraFMS/Config.pm,
	  util/pandora_db.pl: Added a new option to move SNMP modules back to the
	  SNMP Enterprise Server.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 12:26:40 +00:00
Ramon Novoa 73494d9f82 2014-05-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/Config.pm
	  lib/PandoraFMS/DataServer.pm: Ignore the agent group coming from the XML
	  if autocreate_group is set.

	* util/recon_scripts/snmp-recon.pl: Changed the default value for a
	  router-less scan.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-30 10:01:23 +00:00
pandora-release d2a07d8210 Auto-updated build strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10041 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-05-29 23:46:41 +00:00