Commit Graph

6370 Commits

Author SHA1 Message Date
mdtrooper 49a0e32bca 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
Ramon Novoa 0abefef794 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 da2db93c9d 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 41fa838bae 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 696700f0ef 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 1d27ca8df2 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 62efe0f580 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 1ac5591444 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 7ae34498de 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 f6f7bbcaeb 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 b261b2dbf9 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 953a5d30fd 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 5413b96d55 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 5b6c2a43fb 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 de78e7da9d 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 0dd04ce0ea 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
Ramon Novoa 63d92b217b 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
Ramon Novoa f8909cb57b 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
Ramon Novoa b5e9a1a4f9 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 083fdbccf5 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
Ramon Novoa 6c1c197d22 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 bef2a36c3d 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 79b5241c32 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
Ramon Novoa 7d6a9f4ca8 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 1624c390f4 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 4ae8270398 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 d036aa2f22 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
Ramon Novoa d40c9a0b01 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 671618c6f0 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 eb145f1d29 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 83fb4e3e14 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 24e1fe692e 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 df66e4ecb6 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 e737eb5945 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 637521475a 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 3e46f8fa34 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
Ramon Novoa 5d180d6bc5 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 e764ed854a 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 e31259bb8a 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 e40aa301ea 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 e952a497aa 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 51654d991e 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
zarzuelo 70a1554a35 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* pandoradb_data.sql
	pandoradb.data.postgreSQL.sql
	pandoradb.data.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Change a
	useless macro of internal event commands

	* include/functions_graph.php
	include/functions_events.php
	operation/agentes/estado_generalagente.php: Improve the layout
	of the agent detail view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 14:26:00 +00:00
zarzuelo 916e18ffbe 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	godmode/alerts/configure_alert_action.php
	godmode/alerts/alert_commands.php: Update the commands data
	to new alerts macro in migration. Hide the not used fields
	on actions. bug #3605461



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 11:37:19 +00:00
Ramon Novoa c86f525048 2013-02-21 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: Add the timestamp to the log.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 10:18:13 +00:00
zarzuelo 92aa11678b 2013-02-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_graph.php
	operation/agentes/estado_generalagente.php: Fixed
	events slicebar legend and added modules statistics under
	modules status pie



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-21 10:10:49 +00:00
slerena c2da204b72 2013-02-20 Sancho Lerena <slerena@artica.es>
* lib/PandoraFMS/Core.pm: Fixed problem with SNMP alerts: they 
        defined custom fields on it's own version of the alert template,
        and actions was overwriting it's information, so in the case
        of snmp alerts, template information has more priority than
        action.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7692 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 20:31:50 +00:00
Ramon Novoa 8bbe5e1e24 2013-02-20 Ramon Novoa <rnovoa@artica.es>
* include/functions_snmp_browser.php: Treat :: as a separator inside
	  translated OIDs. Removed calls to html_print_image (very slow!) in
	  snmp_browser_print_tree.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7691 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 19:15:37 +00:00
slerena a6937eac51 2013-02-20 Sancho Lerena <slerena@artica.es>
* include/functions_snmp_browser.php: Change icon and way to
        split into branches (using :: and .).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 19:11:13 +00:00
zarzuelo 14c68ea6d1 2013-02-20 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_monitores.php: Fixed search filter
	on monitor list



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7689 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-20 18:12:37 +00:00