Commit Graph

6378 Commits

Author SHA1 Message Date
darode b923a055dc 2013-02-28 Dario Rodriguez <dario@artica.es>
* lib/PandoraFMS/DataServer.pm: Added feature to update custom
        * field
        on every XML process only with learning mode enabled.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 15:38:23 +00:00
mdtrooper 1df7b829e7 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/gis_maps/configure_gis_map.php, include/functions_gis.php,
	operation/gis_maps/render_view.php: fixes for the layers.
	
	MERGED FROM THE BRANCH PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 15:28:21 +00:00
zarzuelo ae5a6dc1af 2013-02-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	operation/agentes/estado_generalagente.php: Improve the
	forced title in images and the agent operation view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 15:12:49 +00:00
darode d72d06929a 2013-02-28 Dario Rodriguez <dario@artica.es>
* include/functions_api.php: Added new API function to
        create custom field and to get custom field ID by name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 14:41:26 +00:00
slerena fc48d64826 2013-02-28 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/PluginServer.pm: Removed several "Use of
        uninitialized value in string" errors.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 14:21:15 +00:00
mdtrooper 01cff5fda9 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* operation/gis_maps/render_view.php: fixed the mysql error
	messages when have a "none" for group in a layer.
	
	MERGED FROM THE BRANCH PANDORA_4




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 12:55:40 +00:00
mdtrooper 1c331a5a64 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form.php,
	include/functions_html.php, operation/menu.php,
	operation/events/events_list.php: improved source code.
	
	* include/functions_events.php: fixed into the function
	"events_get_agent" the query to get criticities.
	
	Fixes: #3606285




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 11:57:57 +00:00
zarzuelo 7a4ab68386 2013-02-28 Sergio Martin <sergio.martin@artica.es>
* include/functions_io.php
	include/functions_ui.php
	include/functions_reporting.php
	general/logon_ok.php: Improve the main screen putting the 
	last activity in left column, adding icons and improving titles

	* godmode/massive/massive_add_alerts.php
	godmode/massive/massive_copy_modules.php
	godmode/massive/massive_delete_agents.php
	godmode/massive/massive_enable_disable_alerts.php
	godmode/massive/massive_delete_profiles.php
	godmode/massive/massive_edit_agents.php
	godmode/massive/massive_delete_action_alerts.php
	godmode/massive/massive_add_profiles.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/massive/massive_standby_alerts.php
	godmode/massive/massive_add_action_alerts.php: Fix typo in
	logger actions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 11:43:10 +00:00
mdtrooper fefa6f0707 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: into the function
	"reporting_get_agents_detailed_event" readded the code lost from the
	merge from the branch pandora_4.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7742 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 11:24:45 +00:00
ramonn 3f51f901b0 2013-02-28 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Undid the previous commit since forking after
	  having launched all server threads can lead to trouble.

	* lib/PandoraFMS/Core.pm: Removed some debugging code that polluted the
	  logs.
	
	* lib/PandoraFMS/NetworkServer.pm: Removed a DISTINCT from the query since
	  module ids are unique.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 10:30:32 +00:00
mdtrooper 47ca638ee8 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php, include/functions_io.php: fixed the
	update the config without enterprise version.
	
	Fixes: #3606331




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 10:17:39 +00:00
mdtrooper a9ae04d72d 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: fixed php warning message when
	calculate the server healty without servers.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 10:04:58 +00:00
mdtrooper 5c05258961 2013-02-28 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: added code to set the config options
	for the history actions.
	
	Fixes: #3606285
	
	* include/functions_api.php: improved the source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-28 09:46:39 +00:00
zarzuelo 0aeae92b35 2013-02-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_config.php: Include a library in
	functions config to avoid error in GD graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 18:16:49 +00:00
zarzuelo 83f352f09e 2013-02-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_graph.php
	include/graphs/functions_pchart.php
	include/functions_reporting.php
	include/functions_servers.php
	include/constants.php
	operation/agentes/tactical.php
	general/logon_ok.php: A lot of improvements in
	tactical views



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 17:11:42 +00:00
mdtrooper 9f5f4bbdbd 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap_list.php,
	godmode/alerts/alert_templates.php,
	godmode/events/event_responses.list.php,
	godmode/netflow/nf_edit.php: fixed the show elements with the limits
	of user ACL.
	
	Fixes: #3605969




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7735 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 16:53:14 +00:00
darode b9f88ffb9e 2013-02-27 Dario Rodriguez <dario@artica.es>
* operation/agentes/ver_agente.php: Adapted VMware extension known to
        new VMware load options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7734 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 16:05:07 +00:00
darode 90310e2485 2013-02-27 Dario Rodriguez <dario@artica.es>
* include/functions_events.php: Added new fields to events_create_event 
	function: critical warning and unknown instructions, source and tags.
	* include/functions_api.php: Reimplemented api_create_event API function, 
	the behaviour was completly wrong from documented and events_create_event
	function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7733 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 16:03:22 +00:00
Aldrioth cc7e661be2 2013-02-27 Tomas Palacios <tomas.palacios@artica.es>
* pandora_agent_installer: Added compatibility for custom perl
        installation paths.

        * pandora_agent_daemon: Modified the way to find SunOS agent PID
        to make it more reliable.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 15:35:35 +00:00
mdtrooper 2ab21d0dfc 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/Core.pm: erased lost develop traces.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 15:35:18 +00:00
mdtrooper 33a8e04aa3 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/setup/setup_general.php, godmode/setup/setup_netflow.php,
	godmode/setup/setup.php, godmode/setup/performance.php,
	godmode/setup/setup_visuals.php, include/functions_config.php: added
	check of update the options in the setup and show the message to
	success or not the operation for the user.
	
	Fixes: #3605972
	
	* include/functions_api.php,
	operation/agentes/estado_generalagente.php: fixed the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 14:25:24 +00:00
mdtrooper 954f56dd60 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora_modules.js, include/functions_api.php:
	improved the source code style.
	
	* operation/agentes/estado_generalagente.php: fixed the set name
	style for the agent.
	
	Fixes: #3606134




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 10:22:51 +00:00
mdtrooper 606e825895 2013-02-27 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/agent_manager.php: updated the code to module
	constants.
	
	* include/javascript/pandora_modules.js: fixed the set the
	module_data from to the json.
	
	* include/functions_api.php: cleaned source code style.
	
	* include/constants.php: addded lost constant for the module
	prediction.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-27 09:51:48 +00:00
slerena eec4bbb4ae 2013-02-26 Sancho Lerena <slerena@artica.es>
* include/functions_filemanager.php: Fixed tooltips to use new
        format.  Added space between action icons.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 20:08:39 +00:00
ramonn 90817e1afe 2013-02-26 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php: Aesthetic fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 17:29:24 +00:00
ramonn 8eea944be1 2013-02-26 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php: Close the SNMP
	  browser after selecting an OID.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 17:16:57 +00:00
ramonn b3ee5f19e3 2013-02-26 Ramon Novoa <rnovoa@artica.es>
* images/hand_point.png: Added to repository. Hand icon.

	* include/functions_snmp_browser.php: Style fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 17:04:48 +00:00
mdtrooper 222088cbbc 2013-02-26 Miguel de Dios <miguel.dedios@artica.es>
* general/login_page.php, include/javascript/jquery.pandora.js,
	include/constants.php, index.php: fixed the dialog for the password
	policies. And added constants.
	
	Fixes: #3605970




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 16:31:40 +00:00
ramonn b85a0b375a 2013-02-26 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php: Always enable de
	  SNMP walk button.

	* include/javascript/pandora_snmp_browser.js: Added to repository.
	  Javascript code for the SNMP browser.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 16:16:27 +00:00
zarzuelo f69502473f 2013-02-26 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_graph.php
	include/javascript/jquery.pandora.js
	index.php: Change the HTML native title for
	the images by a jquery engined title more
	visible and customizable

	* general/logon_ok.php
	include/functions_reporting.php: Improve the
	main page graphs and layout



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 16:10:02 +00:00
mdtrooper 8de21e7586 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_modules.php: fixed in function
	"modules_update_agent_module" the check disabled value.
	
	Fixes: #3606060
	
	* general/login_page.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7720 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-26 15:36:37 +00:00
ramonn dfaf25215c 2013-02-25 Ramon Novoa <rnovoa@artica.es>
* godmode/groups/configure_group.php: Fixed the name of the group
	  contact macro in the help tip.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 16:53:44 +00:00
zarzuelo 1a243c66f9 2013-02-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	include/constants.php
	images/bell_error.png
	general/logon_ok.php: Restructurated the tactical view
	overview table. TODO: Change icons



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7718 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 16:44:26 +00:00
mdtrooper ff86b65c65 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions.php, operation/events/events.build_table.php,
	general/shortcut_bar.php: improved the code style.
	
	* images/add.disabled.png: added lost icon file for alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 16:21:11 +00:00
slerena a1e838ef3f 2013-02-25 Sancho Lerena <slerena@artica.es>
* PandoraFMS/Config.pm: Fixed parsing of mta_from, avoiding problems
        on blank spaces.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 15:29:40 +00:00
ramonn 24361cdfb2 2013-02-25 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_server: Delay the backgrounding of the main process to
	  make log messages available when starting from the init script.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 14:36:01 +00:00
mdtrooper 9076d45d2b 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* lib/PandoraFMS/Core.pm: erased the spam traces (useful for the
	developers but not for to users) in the code for the Planned
	Downtimes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 14:30:16 +00:00
mdtrooper e8f6422f25 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, operation/agentes/alerts_status.php:
	improved the style code.
	
	* include/functions_alerts.php: in function "get_group_alerts" fixed
	the get all alerts, sometimes set empty the return array.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 13:21:24 +00:00
zarzuelo 62355135f6 2013-02-25 Sergio Martin <sergio.martin@artica.es>
* include/functions_reports.php
	godmode/reporting/reporting_builder.php: Fixed some interface errors on
	reports views and other ACLs fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 11:57:34 +00:00
mdtrooper fffdf71ac5 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/modules/manage_network_components_form_common.php,
	godmode/massive/massive_edit_modules.php,
	include/functions_api.php: improved the form of modules the part
	of critical and warning widgets.
	
	Fixes: #3605482




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 10:29:52 +00:00
slerena ae32186f2c 2013-02-22 Sancho Lerena <slerena@artica.es>
* Darwrin: Added Darwin (MacOS) agent on directory, i don't
        know why was removed from trunk ¿?




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 18:06:57 +00:00
slerena 064fd099f2 2013-02-22 Sancho Lerena <slerena@artica.es>
*  lib/PandoraFMS/Tools.pm: My MacOS boxes was being ignored
        due lack of "darwin" detection here :(




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 17:56:43 +00:00
zarzuelo 9e38c76678 2013-02-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/styles/pandora.css
	include/functions_graph.php
	include/functions_events.php
	include/javascript/pandora.js
	operation/agentes/estado_generalagente.php: Improve agent view
	interface, work in hidden menus to improve more the graphs 
	layout.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 13:48:10 +00:00
slerena 119946e53c 2013-02-22 Sancho Lerena <slerena@artica.es>
* include/api.php: Added a single protection on DoS attacks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7704 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 13:31:29 +00:00
ramonn 329f790b2a 2013-02-22 Ramon Novoa <rnovoa@artica.es>
* godmode/agentes/module_manager_editor_network.php,
	  include/functions_snmp_browser.php,
	  include/javascript/pandora_modules.js,
	  operation/snmpconsole/snmp_browser.php: Integrated the SNMP browser into
	  the SNMP module editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 13:11:47 +00:00
mdtrooper 3fa698bcf6 2013-02-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/alerts/alert_list.php,
	godmode/alerts/alert_list.list.php: rewrote the code for to show
	the form to add actions in the list of agents for make more pretty.
	
	Fixes: #3605462




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 12:29:22 +00:00
darode 35282b6720 2013-02-22 Dario Rodriguez <dario@artica.es>
* godmode/servers/manage_recontask_form.php: Changed interval combo
        input for new customizable combo.

        MERGED FROM 4.0.3



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-22 09:02:05 +00:00
mdtrooper f701d33a98 2013-02-22 Miguel de Dios <miguel.dedios@artica.es>
* PandoraFMS_android_console/*: added first version of PandoraFMS
	android console (it is a custom browser standaralone for the
	Pandora Web Console Mobile).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7699 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 23:27:05 +00:00
zarzuelo adce1e391d 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php: Supress a safe_input
	in html_print_image function due performance problem



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7698 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 17:30:44 +00:00
zarzuelo 0d392f3a83 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	operation/events/events_list.php: Little fixes
	of new layout of events

	* include/graphs/pChart/pPie.class.php: Fixed a 
	bug of the pChart library of ugly borders in the
	3d pie graphs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 15:59:13 +00:00