Commit Graph

824 Commits

Author SHA1 Message Date
ramonn 464a24aed8 2009-06-30 Ramon Novoa <rnovoa@artica.es>
* include/functions_fsgraph.php: Truncate long names for flash charts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1781 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-30 16:31:15 +00:00
ramonn e2129cc8c8 2009-06-30 Ramon Novoa <rnovoa@artica.es>
* include/fgraph.php: Added support for mixing flash/image charts.

        * include/functions_fsgraph.php: Use user defined colors in module
          charts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-30 15:39:54 +00:00
ramonn 4f2867c0a0 2009-06-30 Ramon Novoa <rnovoa@artica.es>
* nclude/FusionCharts,
	  include/FusionCharts/FCF_Column3D.swf,
	  include/FusionCharts/FCF_Pie3D.swf,
	  include/FusionCharts/FusionCharts.js,
	  include/FusionCharts/FCF_MSLine.swf,
	  include/FusionCharts/FusionCharts_Gen.php,
	  include/FusionCharts/FCF_StackedArea2D.swf,
	  include/FusionCharts/FCF_Area2D.swf,
	  include/FusionCharts/FCF_MSArea2D.swf,
	  include/FusionCharts/FusionCharts.php: Added to repository. Fusion
	  Charts Free.

	* include/functions_fsgraph.php: Added to repository. Fusion Charts
	  chart generation functions for Pandora FMS.
	
	* include/pchart_graph.php, include/pandora_graph.php,
	  include/fgraph2.php, include/pChart, include/Image,
	  include/fgraph.php: Moved from reporting to include.

	* operation/agentes/stat_win.php: Moved from reporting to
	  operation/agentes.

	* reporting: Deleted from repository.

	* general/logon_ok.php, godmode/setup/setup.php,
	  godmode/admin_access_logs.php, godmode/db/db_main.php,
	  godmode/db/db_info.php, godmode/db/db_purge.php,
	  godmode/reporting/graph_builder.php,
	  operation/reporting/reporting_xml.php,
	  operation/reporting/reporting_viewer.php,
	  operation/servers/view_server.php,
	  operation/servers/view_server_detail.php,
	  operation/incidents/incident_statistics.php
	  operation/users/user_statistics.php,
	  operation/events/event_statistics.php, operation/events/events.php,
	  operation/agentes/estado_ultimopaquete.php,
	  operation/agentes/estado_generalagente.php,
	  operation/agentes/tactical.php, include/functions_config.php,
	  include/functions_custom_graphs.php,
	  include/functions_visual_map.php,
	  include/functions_reporting.php: Added flash charts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1779 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-30 15:08:14 +00:00
aloriel e15466b467 2009-06-29 Jorge Gonzalez <jorgegonz@artica.es>
* include/languages/index.pot: Updated po template.

	* include/languages/cs.po, include/languages/pt_BR.po,
	include/languages/nl.mo, include/languages/pl.mo,
	include/languages/it.mo, include/languages/ko.po,
	include/languages/sl.mo, include/languages/sk.po,
	include/languages/uk.po, include/languages/ro.po,
	include/languages/pt.mo, include/languages/ast.mo,
	include/languages/bn.po, include/languages/ar.po,
	include/languages/cs.mo, include/languages/pt_BR.mo,
	include/languages/ko.mo, include/languages/fr.po,
	include/languages/sk.mo, include/languages/uk.mo,
	include/languages/ro.mo, include/languages/ca.po,
	include/languages/da.po, include/languages/tr.po,
	include/languages/sv.po, include/languages/de.po,
	include/languages/ja.po, include/languages/zh_TW.po,
	include/languages/bn.mo, include/languages/he.po,
	include/languages/fi.po, include/languages/ar.mo,
	include/languages/hi.po, include/languages/zh_CN.po,
	include/languages/fr.mo, include/languages/te.po,
	include/languages/eu.po, include/languages/hu.po,
	include/languages/ca.mo, include/languages/da.mo,
	include/languages/tr.mo, include/languages/de.mo,
	include/languages/sv.mo, include/languages/ru.po,
	include/languages/ja.mo, include/languages/zh_TW.mo,
	include/languages/he.mo, include/languages/fi.mo,
	include/languages/hi.mo, include/languages/zh_CN.mo,
	include/languages/el.po, include/languages/gl.po,
	include/languages/te.mo, include/languages/eu.mo,
	include/languages/nl.po, include/languages/hu.mo,
	include/languages/pl.po, include/languages/it.po,
	include/languages/sl.po, include/languages/pt.po,
	include/languages/ru.mo, include/languages/ast.po,
	include/languages/el.mo, include/languages/gl.mo: Updated
	translations thanks to all contributors from Rosetta.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-29 13:45:16 +00:00
mdtrooper 588d673fcd 2009-06-29 Miguel de Dios <miguel.dedios@artica.es>
* reporting/pChart/pData.class: fix lost var ($url) in
	function grafico_eventos_grupo and at constants.
	* reporting/fgraph.php: fix, it's assumed that the arrays was numerical
	indexes.
	Fixes: #2805807



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-29 11:01:21 +00:00
marostegui 41d1d4496f 2009-06-25 Manuel Arostegui <marostegui@artica.es>
* pandora_console.spec: RPM spec file for 3.0 version.
	Packages built succesfully for: Centos5, Fedora 11, 
	RHEL5, SLE9, SLE10, SLE11, OpenSuse 10.3, OpenSuse 11, 
	OpenSuse 11, OpenSuse Factory. We still need to check
	the exactly names in Suse distros for dependencies.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-25 18:55:16 +00:00
mdtrooper 8f7f2eb9e5 2009-06-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_db.php: optimice the search agent in DB, quit option
	to search for description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-25 15:47:36 +00:00
mdtrooper a94f044a9b 2009-06-25 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/massive_delete_agents.php,
	godmode/agentes/massive_delete_agents.php: changes for clarity
	and maintenance code.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-25 13:03:53 +00:00
aloriel 8ab87b3178 2009-06-25 Jorge Gonzalez <jorgegonz@aartica.es>
* include/languages/es.po, include/languages/es.mo: Updated Spanish  
        * translation.

        * include/languages/index.pot: Updated po template.                              



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-25 08:09:01 +00:00
aloriel 2d00b7f669 2009-06-25 Jorge Gonzalez <jorgegonz@artica.es>
* include/functions_db.php, operation/snmpconsole/snmp_view.php,
	* operation/agentes/status_monitor.php,
	* operation/agentes/estado_grupo.php,
	* operation/agentes/estado_ultimopaquete.php,
	* operation/agentes/alerts_status.php,
	* operation/agentes/estado_generalagente.php,
	* operation/agentes/estado_agente.php,
	* operation/agentes/exportdata.php,
	* operation/agentes/estado_monitores.php,
	* operation/agentes/tactical.php, operation/agentes/networkmap.php,
	* operation/reporting/reporting_viewer.php, reporting/fgraph.php,
	* general/pandora_help.php, general/logoff.php,
	* general/logon_failed.php, godmode/setup/setup.php,
	* godmode/setup/links.php, godmode/snmpconsole/snmp_alert.php,
	* godmode/profiles/profile_list.php, godmode/db/db_main.php,
	* godmode/db/db_audit.php, godmode/db/db_refine.php,
	* godmode/db/db_info.php, godmode/db/db_event.php,
	* godmode/db/db_purge.php,
	* godmode/agentes/massive_delete_agents.php,
	* godmode/agentes/massive_config.php,
	* godmode/agentes/massive_delete_alerts.php,
	* godmode/agentes/massive_edit_modules.php,
	* godmode/agentes/module_manager.php,
	* godmode/agentes/massive_delete_modules.php,
	* godmode/agentes/configurar_agente.php,
	* godmode/agentes/planned_downtime.php,
	* godmode/modules/manage_network_templates_form.php,
	* godmode/modules/manage_network_components.php,
	* godmode/reporting/map_builder.php,
	* godmode/reporting/map_builder_wizard.php,
	* godmode/servers/manage_export.php,
	* godmode/servers/manage_export_form.php,
	* godmode/servers/plugin.php, godmode/servers/modificar_server.php,
	* godmode/servers/manage_recontask_form.php,
	* godmode/alerts/alert_compounds.php, godmode/menu.php: Some
	* translatable strings reused to simplify i18n work.

	* include/languages/es.po, include/languages/es.mo: Updated Spanish
	* translation.

	* include/languages/index.pot: Updated po template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-25 08:01:18 +00:00
slerena cd1e42b8c3 2009-06-24 Sancho Lerena <slerena@artica.es>
* operation/agentes/estado_generalagente.php,
        godmode/setup/setup.php: Added support for new option for have enabled or
        disabled the agent access data/graphs.

        * include/functions_db.php: Modified the agent_delete function to don't delete
        all data, just delete agent and mark modules for deletion. This increase a lot
        the massive agent deletion. This fixes bug #2809015.

        * include/config_process.php: Updated version/build.

        * include/functions_config.php: Added autoupdate to config check for
        non-existant values. Added new agentaccess config token.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 17:03:08 +00:00
mdtrooper 6487318639 2009-06-24 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css: fix sintaxis error in comment.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1765 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 16:12:09 +00:00
mdtrooper 65dba0156c 2009-06-24 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_monitores.php: add organization list of monitors, add
	row in table with title the monitor group.
	* include/styles/pandora.css: add new class for cell used monitor group title
	in the list of monitors in estado_monitores.php
	Fixes: #2805001



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 16:04:19 +00:00
aloriel 82e8b1f3ed 2009-06-24 Jorge Gonzalez <jorgegonz@artica.es>
* include/functions_reporting.php, include/functions_ui.php,
        * operation/incidents/incident.php,
        * operation/snmpconsole/snmp_view.php, operation/events/events.php,
        * operation/agentes/tactical.php, godmode/users/user_list.php,
        * godmode/users/configure_user.php,
        * godmode/profiles/profile_list.php,
        * godmode/agentes/module_manager_editor_wmi.php,
        * godmode/agentes/massive_edit_modules.php,
        * godmode/agentes/manage_config_remote.php,
        * godmode/modules/manage_network_components_form_network.php,
        * godmode/modules/manage_network_components_form_wmi.php,
        * godmode/servers/manage_export.php,
        * godmode/servers/manage_recontask.php,
        * godmode/servers/modificar_server.php: Some translatable strings
        * reused to simplify i18n work.

        * include/languages/es.po, include/languages/es.mo: Updated Spanish
        * translation.

        * include/languages/index.pot: Updated po template.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1763 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 13:36:29 +00:00
mdtrooper a806e4c124 Fix day in date of last changelog.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1762 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 12:39:29 +00:00
mdtrooper a2f45217e8 2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* pandora_console/godmode/groups/group_list.php: fix group without image
	don't print image tag. 
	Fixes: #2810299
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1760 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-24 09:16:52 +00:00
mdtrooper ddcd172f21 2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* operation/incidents/incident.php: fix parameters to pass function
	pagination. 
	Fixes: #2805804

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-23 14:40:54 +00:00
mdtrooper 74a5040182 2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/modificar_agente.php: add another "create agent" before
	the list for more usability
	
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-23 12:44:35 +00:00
mdtrooper 8a0b19e20f 2009-06-23 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/menu.css: Fixed style for elements menu
	that it have large text.
	Fixes: #2808843
	
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-23 07:57:38 +00:00
marostegui 1dc5a690ac 2009-06-22 Manuel Arostegui <marostegui@artica.es>
* include/functions_filemanager.php: Fixed ugly warning, the 
	languanges path was incorrect.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1756 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-22 09:46:35 +00:00
mdtrooper 320522718e 2009-06-22 Miguel de Dios <miguel.dedios@artica.es>
* godmode/admin_access_logs.php: Fix fall the table of logs to
	bottom page.
	Fixes: #2805812

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1755 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-22 09:41:14 +00:00
mdtrooper 22c8ed0ada 2009-06-22 Miguel de Dios <miguel.dedios@artica.es>
* Fix the error introduced by Miguel de Dios in 2009-06-18, The error
	was add repeated rows with language_code in DB.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-22 07:34:49 +00:00
aloriel 1ca1582d33 2009-06-19 Jorge Gonzlaez <jorgegonz@artica.es>
* AUTHORS: Fixed typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-19 07:25:50 +00:00
mdtrooper 2620c0204d 2009-06-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_config.php: Fix save change language in setup.
	Fixes: #2777463
	

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1752 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-18 14:49:25 +00:00
esanchezm 5d86dcece9 2009-06-10 Esteban Sanchez <estebans@artica.es>
* operation/events/events.php: Removed all events on select elements.
        Fixes #2797203.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-10 14:39:29 +00:00
esanchezm 534a7925f7 2009-06-10 Esteban Sanchez <estebans@artica.es>
* include/functions_reporting.php: Return false if no data were found
        on get_agentmodule_sla(). Fixes #2777541

        * operation/reporting/reporting_viewer.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-10 14:25:44 +00:00
esanchezm e5c4ad5406 2009-06-10 Esteban Sanchez <estebans@artica.es>
* godmode/modules/manage_network_templates_form.php: Applied
        Zdenek Janda's patch. Fixes #2802589



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-10 13:43:30 +00:00
esanchezm c560862f49 2009-06-10 Esteban Sanchez <estebans@artica.es>
* operation/agentes/networkmap.php: Avoids a warning when no nodes
        were found on generate_dot(). Shows a message when no nodes were
        found. Fixes #2786516.

        * operation/menu.php: Changed label of network maps.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-10 13:37:40 +00:00
esanchezm 5c0d485090 2009-06-09 Esteban Sanchez <estebans@artica.es>
* include/javascript/pandora_modules.js: Fixed variable name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 14:43:37 +00:00
esanchezm 8dac9aa36d 2009-06-09 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Fixed string filter when
        searching agents. Avoids a PHP notice when none found

        * godmode/agentes/configurar_agente.php: Solved a mess with variable
        names.

        * godmode/agentes/module_manager_editor_prediction.php: Improved
        the prediction module selection, adding a filter for agents and
        module. Fixes #2707907

        * include/javascript/jquery.pandora.controls.js: Returns
        whenever callbackBefore returns false.

        * include/javascript/pandora_modules.js: Check for module selection
        when creating a prediction one.

        * include/styles/pandora.css: Added style to prediction module
        selection.

        * godmode/alerts/alert_list.php: callbackBefore on pandora.controls
        elements must return true now.

        * godmode/agentes/module_manager_editor_common.php: Added moduletype
        hidden input to be used in javascript.

        * godmode/agentes/module_manager_editor.php: Use pandora.controls and
        added a string for javascript.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 14:29:03 +00:00
esanchezm 00112072f4 2009-06-09 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Fixed a couple of typo
        errors when adding a SLA report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 14:07:18 +00:00
esanchezm 35324c94a5 2009-06-09 Esteban Sanchez <estebans@artica.es>
* include/functions_visual_map.php: Removed debug that causes maps to
        work strangely.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1742 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 13:48:13 +00:00
esanchezm a6851ba01a 2009-06-09 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/agent_manager.php: Added autocomplete support
        to parent selection, which is no a dropdown anymore. Partial fix for 
        #2707924.

        * godmode/agentes/configurar_agente.php: Parent data is now the
        agent name, not the agent id.

        * include/javascript/jquery.ajaxqueue.js,
        include/javascript/jquery.autocomplete.js,
        include/javascript/jquery.bgiframe.js: Added to repository.
        Autocompleter jQuery plugin.

        * include/styles/pandora.css: Added autocomplete styles.

        * include/functions_db.php: Added more support for search
        parameter to get_group_agents() so you can pass a filter array now.

        * operation/agentes/estado_agente.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 11:25:47 +00:00
esanchezm 01ac826a4f 2009-06-08 Esteban Sanchez <estebans@artica.es>
* include/styles/help.css, include/styles/pandora_minimal.css,
        include/styles/ie.css, include/styles/menu.css,
        include/styles/install.css, include/styles/pandora_red.css,
        include/styles/pandora_black.css, include/styles/pandora_width.css:
        Removed an extra close comment character that causes broken CSS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-09 11:02:47 +00:00
slerena 2c400b64bb 2009-06-08 Sancho Lerena <slerena@artica.es>
* Massive header update.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 18:26:14 +00:00
esanchezm 8208596cc3 2009-06-08 Esteban Sanchez <estebans@artica.es>
* include/functions.php: Added encoding checking on safe_input().
        Fixes #2797399.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 13:42:13 +00:00
esanchezm 39b949ce80 2009-06-08 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Replaced SQL with pandora
        database functions. Do not order period values. Some style to delete
        icons.

        * include/functions_reports.php: Tiny fix on update_report() when 
        checking if report exists. Fixes #2791058.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 13:07:16 +00:00
esanchezm effb75e19d 2009-06-08 Esteban Sanchez <estebans@artica.es>
* godmode/setup/file_manager.php: Many fixes to the interface. Removed
        the dropdown menu when uploading a file, it now uploads it to the
        current dir, which is more natural. Do not show "No files found"
        anymore, because user may want to create subdirs. Fixes image for
        previous dir and show it again.

        * include/javascript/jquery.ui.datepicker.js: Changed default date
        format.

        * include/functions_filemanager.php: Changed
        get_file_manager_available_directories() to add subdirs too.
        Changed is_file_manager_writable_dir() to check if parent dir is
        writable.

        * operation/agentes/estado_agente.php: Use array filters instead
        of SQL code chunks.

        * operation/reporting/reporting_viewer.php: Fixed link to timeentry
        jQuery file.

        * images/status_sets/color_text/*, images/status_sets/default/*,
        images/pixel_yellow.png, images/pixel_gray.png,
        images/pixel_fucsia.png, images/pixel_red.png,
        images/pixel_black.png: Use Tango palette. Softer and cleaners
        colors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-08 11:02:45 +00:00
slerena 6fda4ad3ac 2009-06-01 Sancho lerena <slerena@artica.es>
* extras/pandora_diag.php: Diagnostic tool. This reports some  
        details of database usage, configuration and version who can
        Pandora FMS dev. team some hints about possible problems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-06-01 14:41:00 +00:00
esanchezm d11186ab40 2009-05-29 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/massive_edit_modules.php: Renamed ff_event field
        to min_ff_event to match tagente_modulo field name. Better code for
        process_manage_edit(). Fixes #2785011.

        * include/functions_modules.php: Fixed an error on
        update_agente_module() when no name was given, also added extra
        check for empty values.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-29 10:32:26 +00:00
esanchezm 0cb0736d4d 2009-05-29 Esteban Sanchez <estebans@artica.es>
* include/functions_menu.php: Added menu_icon class.

	* include/styles/menu.css: Split background style for menu icons.
	Recovered menu colors.

	* include/styles/pandora.css: Added body.pure element.

	* include/styles/pandora_blackmetal.css,
	include/styles/pandora_black.css: Improve to reuse pandora.css

	* include/functions_ui.php: Use pure class on body element
	on process_page_body(). Better comment when creating the css array on
	process_page_head().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-29 09:28:48 +00:00
esanchezm 3e74a1ef80 2009-05-28 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/map_builder.php: Replaced exit with return. Use
	jquery.pandora_controls extensions to manage agent dropdown.
	Fixes #2784397

	* include/javascript/jquery.pandora.controls.js: Exclude delete pending
	modules on pandoraSelectAgentModule.

	* include/javascript/pandora.js: Removed php code on a javascript file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1722 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-28 14:06:32 +00:00
esanchezm aeb42a8430 2009-05-28 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Return -1 on get_agent_status() on case
	the agent last contact has exceed the agent interval.

	* include/functions_visual_map.php: Call get_agent_status() when
	an element is to monitor a whole agent. Fixes #2761712



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1720 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-28 13:28:36 +00:00
esanchezm 3b221e88f7 2009-05-28 Esteban Sanchez <estebans@artica.es>
* install.php: Use server address if the db host is not localhost.
	Fixes #2796790.

	* include/functions_agents.php: Fixed an array cast on
	get_agent_alerts_compound().

	* include/functions_events.php: Critical and warning colors where
	swapped on print_events_table().

	* include/functions_reporting.php: Fixed alerts count on
	get_group_stats() and count combined alerts too. Fixes #2791577

	* operation/agentes/tactical.php: Style corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-28 11:32:12 +00:00
guruevi d24c74247f 2009-05-27 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/agentes/configurar_agente.php: Should fix bug #2785154. Wasn't
	clear on how to duplicate but from what I understand this should fix it.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-27 15:31:48 +00:00
esanchezm 971b998862 2009-05-27 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/configurar_agente.php: Style correction.

	* operation/snmpconsole/snmp_view.php: Fixed creation link when
	the agent is not found by address. Fixes #2777409

	* godmode/agentes/agent_manager.php: Use address as name on creation
	when it's given.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-27 14:12:40 +00:00
esanchezm 72eb5ae1ff 2009-05-27 Esteban Sanchez <estebans@artica.es>
* general/header.php: Added code to ignored parameters. Fixes #2779381

	* include/functions_ui.php: Ignore form operations on get_url_refresh()



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-27 11:04:11 +00:00
esanchezm af349ff4db 2009-05-27 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/configurar_agente.php: Use pandora functions to
	create and update modules. Some fixes when these operations could
	not be done so the editor appears again. Fixes #2762316

	* godmode/agentes/module_manager_editor.php: Some patches to work
	better with configurar_agente.php

	* include/functions_modules.php: Avoid setting an empty name on
	update_agent_module()



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-27 10:31:27 +00:00
esanchezm 939e9be40c 2009-05-27 Esteban Sanchez <estebans@artica.es>
* reporting/fgraph.php: Do not short agent name on
	graphic_combined_module(). It was causing collisions. Fixes #2785193.

	* reporting/pchart_graph.php: Use AddSerie on combined_graph().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-27 10:06:33 +00:00
esanchezm f4d073dc3d 2009-05-27 Esteban Sanchez <estebans@artica.es>
* include/functions_visual_map.php: Problem fixed on
        get_layout_status() with label elements. Fixed definitely
        #2787197.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-05-27 08:19:31 +00:00