Commit Graph

498 Commits

Author SHA1 Message Date
zarzuelo c2b7da7d4c 2010-09-20 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_generalagente.php: Fixed a 
	false value into foreach



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3255 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-20 09:30:35 +00:00
zarzuelo 428e4e0baf 2010-09-17 Sergio Martin <sergio.martin@artica.es>
* include/functions_events.php
	pandoradb.sql
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	operation/events/events_validate.php
	operation/events/events_list.php
	operation/events/events.php: Deleted several
	columns from the events view and adding a
	show/hide advanced fields feature. 
	Added a new state 'in process' to validation
	and an input comment when a status is changed.

	* include/fgraph.php: Fixed quotes
	in constant definition

	* include/functions_ui.php
	include/functions_agents.php
	include/functions_alerts.php
	operation/agentes/alerts_status.php
	operation/agentes/alerts_status.functions.php
	images/bell_pause.png
	godmode/alerts/alert_list.list.php
	godmode/alerts/alert_list.php
	godmode/massive/massive_operations.php
	godmode/massive/massive_standby_alerts.php: Added
	the feature of set and set off on standby an alert
	in the alets management and view if an alert is in
	standby in the rest of views.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 12:34:11 +00:00
mdtrooper 4de9bf1991 2010-09-17 Miguel de Dios <miguel.dedios@artica.es>
* include/fgraph.php: added function "grafico_modulo_sparse_mobile" for
	to paint a mobile graph.
	
	* include/functions_db.php: erased deprecate function "dame_grupo_icono".
	
	* include/functions_module.php: moved the functions "format_delete",
	"format_time", "format_data", "format_verbatim", "format_timestamp",
	"format_delete", "format_delete_string", "format_delete_log4x" from the
	file "operation/agentes/datos_agente.php" for to use in other source code
	places.
	
	* operation/agentes/datos_agente.php: extracted the functions
	"format_delete", "format_time", "format_data", "format_verbatim",
	"format_timestamp", "format_delete", "format_delete_string",
	"format_delete_log4x" to "include/functions_module.php" for to use in other
	source code.
	
	* operation/agentes/tactical.php: cleaned source code style.
	
	* operation/agentes/group_view.php: cleaned source code style.
	
	* mobile/operation/agents/view_agents.php: added class "viewGraph" to show
	graph and data of any module.
	
	* mobile/operation/agents/tactical.php: added first version of page to show
	tactical mobile page.
	
	* mobile/operation/agents/view_alerts.php: added first version of page to
	show alerts mobile page.
	
	* mobile/operation/agents/group_view.php: added first version of page to
	show group view mobile page.
	
	* mobile/operation/servers/view_servers.php: added first version of page to
	show servers mobile page.
	
	* mobile/include/style/main.css: added many new styles.
	
	* mobile/include/functions_web.php: added links into menu for new pages.
	
	* mobile/include/system.class.php: fixed scope of method "getConfig".
	
	* mobile/index.php: added hooks for new pages.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3250 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-17 10:56:17 +00:00
mdtrooper b135a111d6 2010-09-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_reporting.php: in function "get_agent_module_info" added
	the return "status" and "alert_value".
	
	* include/auth/mysql.php: in function "process_user_login" cleaned the
	source code style.

	* include/functions_ui.php: in function "print_timestamp" added in the
	parameter $option the check of units ('large' and 'tiny' at the moment).
	Added the function "print_group_icon2" that it is the same of
	"print_group_icon" but it has a new parameter $path for to set the images
	path.
	
	* include/functions.php: in function "human_time_comparation" added the
	parameter $units to set the type return text for time unit (at the moment
	only "large" and "tiny"). And in the function "human_time_description_raw"
	added the paramter $units for to set the type of return text for units, at
	the moment only "large" and "tiny".
	
	* include/functions_db.php, operation/agentes/ver_agente.php: cleaned source
	code.
	
	* mobile/index.php, mobile/operation/agents,
	mobile/operation/agents/view_agents.php, mobile/include/db.class.php,
	mobile/include/style, mobile/include/style/main.css,
	mobile/include/user.class.php, mobile/include/functions_web.php,
	mobile/include/system.class.php, mobile/images/bricks.png,
	mobile/images/up.png, mobile/images/zoom.png, mobile/images/down.png: added
	first version of file for Pandora Mobile version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-15 15:54:59 +00:00
mdtrooper 8a0aeb8cb0 2010-09-13 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: added the tab to show all graphs in a
	one page about modules in the agent.
	
	* operation/agentes/graphs.php: the page to show all graphs of agent
	modules.
	 
	* operation/agentes/stat_win.php: cleaned html and closed some open html
	tags.

	Pending task: #3060349



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3242 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-13 10:26:33 +00:00
zarzuelo b095c8f09e 2010-09-01 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/alerts_status.php
	operation/search_alerts.php: Fixed the search of 
	alerts in alerts view and in main search



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-09-01 08:03:20 +00:00
zarzuelo 26e911a8c4 2010-08-31 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/status_monitor.php: Fixed the 
	modules combo in the status monitor screen to 
	show only the visible agents modules



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3205 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 10:53:10 +00:00
zarzuelo 24d1c2df19 2010-08-31 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/networkmap.php: Fixed the groups
	combo into the options of networkmaps to show only
	visible groups



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-31 09:39:58 +00:00
zarzuelo 418905f04a 2010-08-30 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/alerts_status.php: Fixed the 
	ACLs in the alerts view. Now only are showed the
	alerts of the visible agents for the user



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3192 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-30 15:10:56 +00:00
zarzuelo fe100460f5 2010-08-25 Sergio Martin <sergio.martin@artica.es>
* pandoradb.sql
	operation/agentes/estado_generalagente.php
	operation/agentes/custom_fields.php
	operation/agentes/ver_agente.php
	operation/agentes/agent_fields.php
	extras/pandoradb_migrate_v3.1_to_v3.2.sql
	godmode/agentes/fields_manager.php
	godmode/agentes/configurar_agente.php
	godmode/agentes/configure_field.php
	godmode/agentes/agent_manager.php
	godmode/menu.php: Added the custom field feature
	including agents custom fields managment, agent
	custom field viewer, custom fields added at the 
	agent configuration, customization of the custom
	fields to display it in the agent details and
	the creation of two new tables into the sql scripts
	All for pending task: 3052918



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-25 12:04:42 +00:00
zarzuelo f8d9fcb00d 2010-08-23 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/networkmap.php: Add the feature of
	hide and shot (toggle) the menu of options in the
	network maps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3175 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-23 17:15:18 +00:00
slerena 555f05848a 2010-08-18 Sancho Lerena <slerena@artica.es>
* include/functions_io.php: safe_input() modified to detect SQL injection
    attacks using /**/ strings.

    * index.php: Prevent HTTP response splitting attacks.

    * pandora_console.spec: Updated some spec variables and description.

    * pandoradb.sql,
    extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task
    to store the snmp_community on detected hosts in a recon task.

    * extras/pandora_diag.php: Fixed security problem in relative path.

    * general/pandora_help.php, 
    general/footer.php: Fixed security problem in relative path/include.

    * general/login_page.php: Fixed security problem in URL parsing.

    * godmode/servers/manage_recontask_form.php, 
    manage_recontask.php: Implemented new feature to use a snmp comunity on all
    network modules added to a new detected host.

    * config_process.php: Updated build.

    * functions.php: New version of safe_url_extraclean() function (security fix)
    and modified also enterprise_include* functions to have a secure include.

    * functions_ui.php: Secured function get_include_contents().

    * operation/agentes/gis_view.php: Secured url extraction/parsing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-18 11:35:42 +00:00
Ramon Novoa 445c2b2ebd 2010-08-10 Ramon Novoa <rnovoa@artica.es>
* operation/events/export_csv.php,
          operation/agentes/stat_win.php,
          operation/reporting/reporting_xml.php: Fixed includes.

        * godmode/setup/setup_auth.php,
          include/functions_config.php,
          include/auth/mysql.php: Added support for a remote user blacklist.

        * include/help/en/help_autocreate_blacklist.php,
          include/help/es/help_autocreate_blacklist.php: Added to repository.
          Blacklist help files.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3120 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-10 11:25:44 +00:00
zarzuelo b7ee2c2dff 2010-08-10 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/networkmap.php: Fixed several notices. When 
	a category has not maps, the menu is not showed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-10 10:42:26 +00:00
Ramon Novoa 542d9b9f70 2010-08-10 Ramon Novoa <rnovoa@artica.es>
* include/auth/mysql.php, include/functions_config.php,
          include/config_process.php, pandora_console.spec,
          ajax.php, godmode/menu.php: Added support for different
          authentication schemes. Local database and LDAP are
          implemented.

        * operation/agentes/networkmap.topology.php,
          operation/agentes/networkmap.groups.php: Small fixes. Use filter name
          to compose file names.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-10 08:58:03 +00:00
zarzuelo c87a24bc21 2010-08-09 Sergio Martin <sergio.martin@artica.es>
* extensions/agents_modules.php
	operation/agentes/agents_modules_view.php
	operation/menu.php: Moved the agents VS modules matrix from
	menu to extensions



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3109 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-09 09:14:46 +00:00
zarzuelo 4e21a9e937 2010-08-09 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/agents_modules_view.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/menu.php: Added the agents VS modules matrix
	and changed the color of some alert fired numbers and 
	table rows



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3108 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-09 08:43:56 +00:00
zarzuelo 23a7e047a3 2010-08-05 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/networkmap.php: Change the default map to topology map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-05 09:23:12 +00:00
zarzuelo 67dffe5a70 2010-08-04 Sergio Martin <sergio.martin@artica.es>
* include/styles/pandora.css
	include/functions_reporting.php
	include/functions_ui.php
	include/functions_db.php
	operation/agentes/status_monitor.php
	operation/agentes/estado_agente.php
	operation/agentes/bulbs.php
	operation/agentes/estado_monitores.php
	operation/agentes/group_view.php
	images/status_sets/default/module_no_data.png
	images/status_sets/default/alert_fired.png
	images/status_sets/default/agent_no_monitors.png
	images/status_sets/default/alert_fired_ball.png
	images/status_sets/default/agent_no_monitors_ball.png
	images/status_sets/default/agent_down_ball.png
	images/status_sets/default/agent_down.png: Fixed several modules
	and agents list status to use the new unknown status. Some images was
	changed too for show the same colour than the visual and network maps



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3091 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-04 11:08:16 +00:00
zarzuelo 8b4627103a 2010-08-03 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_ultimopaquete.php: Fixed log4x modules
	check from old id value 30 to new id value 24



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-03 11:25:37 +00:00
Ramon Novoa 612c8cae05 2010-08-02 Ramon Novoa <rnovoa@artica.es>
* include/functions_reporting.php, include/fgraph.php,
          include/functions_fsgraph.php, operation/agentes/stat_win.php: Moved
          min, max and avg information into the chart to make it available to
          reports an custom graphs.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-08-02 12:15:33 +00:00
zarzuelo 08adfae6d0 2010-07-30 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/help/en/help_network_map.php
	include/help/es/help_network_map.php
	pandoradb.sql
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/ver_agente.php
	operation/agentes/networkmap.php
	extras/pandoradb_migrate_v3.1_to_v3.2.sql: Created network maps
	storage on database, clean the network maps code and fixed some
	little bugs of the same section



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-30 09:03:23 +00:00
mdtrooper 495b91bb3c 2010-07-27 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/exportdata.php: fixed the date into export, before it
	was 12 hour format, now it is 24 hour format.
	Fixes: #3033541



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-27 09:51:58 +00:00
darode 89466842f6 2010-07-26 Dario Rodriguez <dario.rodriguez@integria.es>
* include/styles/pandora.css: Added css classes for separator.
	* include/functions_ui.php: Added suport to add a separator betwenn tabs
	in print_page_header.
	* operation/agentes/ver_agente.php: Fixed some problems with alt tag in
	images and added separator to tabs
	* godmode/agentes/configurar_agente.php: Fixed some problems with alt tag
	in images and added separator to tabs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3059 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-26 11:08:59 +00:00
zarzuelo 9b6279d495 2010-07-23 Sergio Martin <sergio.martin@artica.es>
* include/functions_networkmap.php
	include/functions_db.php
	operation/agentes/networkmap.topology.php
	operation/agentes/networkmap.groups.php
	operation/agentes/ver_agente.php
	operation/agentes/networkmap.php: Rewritted the get status of modules
	and agents and writted the same feature for groups and policys. Added
	the groups view network map. All for pending task: 3019636



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 12:14:07 +00:00
darode e83dd0e6c0 2010-07-23 Dario Rodriguez <dario.rodriguez@gmail.com>
* operation/agentes/ver_agente.php: Changed code to use print_page_header
	to print de tabs
	* godmode/agentes/configurar_agente.php: Changed code to use print_page_header
	to print de tabs



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-23 10:55:20 +00:00
mdtrooper aea9a5335b 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_ultimopaquete.php: added code for sort by
	data.
	
	* operation/agentes/estado_monitores.php,
	godmode/agentes/module_manager.php: added the icons and source code for
	order rows of list alerts by columns Module Name, Type, Interval and
	Timestamp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3052 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 18:07:21 +00:00
mdtrooper 24955130a6 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: lost in previus commit the change to
	"print_select_groups" the new parameter $id_group, to don't show the group
	with id and children of this group.
	
	* include/functions_db.php: in function "format_array_to_where_clause_sql"
	added to order as array several fields.
	
	* operation/agentes/estado_ultimopaquete.php: added the icons and source
	code for order rows of list alerts by columns Module Name, Type, Interval
	and Timestamp.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3051 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 16:56:52 +00:00
mdtrooper 927110a33b 2010-07-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php: added the icons and source code for
	order rows of list alerts by columns Disabled, Agent Name, Module Name or
	Template Name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-21 11:10:58 +00:00
mdtrooper afe0df1c0e 2010-07-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: in function "get_agents" added the parameter
	$order to order list of agents.
	
	* operation/agentes/estado_agente.php: added icons for order by columns and
	source code for management this ordenation by Name, Os, Interval, Group and
	Last Contact. 
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3030 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 14:57:46 +00:00
raulmateos fe93374cbc 2010-07-19 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/status_monitor.php, godmode/groups/group_list.php:
	Center image.
	* godmode/users/user_list.php: Added delete text to table.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3029 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-19 14:46:08 +00:00
mdtrooper 9dacdae5ff 2010-07-15 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/networkmap.php: fixed the pass to parameters between
	fullscreen and windowed mode.
	Fixes: #3013769



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-16 09:49:32 +00:00
mdtrooper b6a3b408df 2010-07-15 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_html.php: added the function "print_select_groups" to
	print the field select box for groups with tree style.
	
	* include/functions_db.php: in function "get_user_groups" added test to
	false value in parameter $privilege for get all groups without ACL test.
	Fixed in function "get_user_groups_tree" the call to "get_user_groups" with
	the correct parameters.
	
	* operation/incidents/incident.php, operation/incidents/incident_detail.php,
	operation/events/events.php, operation/agentes/status_monitor.php,
	operation/agentes/estado_agente.php,
	operation/agentes/alerts_status.functions.php,
	operation/agentes/exportdata.php, operation/agentes/networkmap.php,
	operation/messages/message.php, general/ui/agents_list.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/agentes/massive_add_alerts.php, 
	godmode/agentes/massive_delete_agents.php, 
	godmode/agentes/massive_config.php, 
	godmode/agentes/massive_delete_action_alerts.php, 
	godmode/agentes/massive_delete_alerts.php, 
	godmode/agentes/modificar_agente.php, 
	godmode/agentes/massive_delete_modules.php, 
	godmode/agentes/massive_add_action_alerts.php, 
	godmode/agentes/planned_downtime.php, 
	godmode/agentes/manage_config_remote.php, godmode/agentes/agent_manager.php,
	godmode/servers/manage_recontask_form.php, 
	godmode/alerts/configure_alert_compound.php, 
	godmode/alerts/alert_compounds.php, 
	godmode/alerts/configure_alert_template.php, 
	godmode/alerts/configure_alert_action.php, godmode/setup/gis_step_2.php, 
	godmode/users/configure_user.php, godmode/gis_maps/configure_gis_map.php, 
	godmode/reporting/graph_builder.main.php, 
	godmode/reporting/reporting_builder.main.php, 
	godmode/reporting/visual_console_builder.data.php: changed the fields select
	box of group to tree style select box for groups.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-15 15:20:43 +00:00
zarzuelo 52c019637f 2010-07-13 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/datos_agente.php: Putted back data range
	filter into raw data of the modules for bug: 3023769



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-13 13:02:40 +00:00
mdtrooper 70f698cf4c 2010-07-12 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: re-ordered the tabs. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 13:09:01 +00:00
darode 8965dea92f 2010-07-12 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/estado_agente.php: fixed bug with pagination offset
	and search.
	Fixes: #3014703



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 10:55:29 +00:00
mdtrooper 50af68df72 2010-07-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: added hook to collection enterprise.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-12 10:09:24 +00:00
darode 4cedaaabd1 2010-07-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/networkmap.php: fixed order in combo box of zoom
	page of Network Map
	Fixes: #3026857



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 14:36:14 +00:00
darode 3d21ba2571 2010-07-08 Dario Rodriguez <dario.rodriguez@artica.es>
* operation/agentes/networkmap.php: fixed changing map layout type when 
	you pass from full screen to normal screen or backwards
	Fixes: #3013601



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-07-08 14:23:03 +00:00
jsatoh 15b82505a0 2010-06-25 Junichi Satoh <junichi@rworks.jp>
* operation/agentes/status_monitor.php: Changed substr() to
	mb_strimwidth(). Module name should be truncated with displayed length,
	not number of characters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-25 05:52:33 +00:00
raulmateos 3bdd484981 2010-06-19 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/networkmap.php: Added text if twopi binary not
	found.
	* include/functions/functions_networkmap.php: Fixed url to group_view.
	Solves bug 3013775.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2916 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-19 09:52:12 +00:00
mdtrooper c0580307e7 2010-06-08 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php: fixed the style in the list of
	alerts.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2871 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-08 09:54:14 +00:00
raulmateos de2821eefc 2010-06-02 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/sla_view.php, operation/agentes/datos_agente.php,
	operation/agentes/estado_ultimopaquete.php: Updated header.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 17:30:11 +00:00
zarzuelo f67f6f65d1 2010-06-02 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/networkmap.php: Fixed the fullscreen
	icon out of the header for bug: 3004025



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 09:26:29 +00:00
zarzuelo 23b546ed60 2010-06-02 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/agentes/status_monitor.php
	operation/agentes/group_view.php: Fixed the group
	view table values for bug 3010321 and added the log4x
	type of module to asynchronous exception for bug
	3008759



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-02 08:23:55 +00:00
zarzuelo 44b8b20a54 2010-06-01 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/group_view.php: Fixed the
	dislocated table of groups view for bug
	3010017



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2841 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 17:07:50 +00:00
zarzuelo ca7360189c 2010-06-01 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/status_monitor.php: Fixed the width
	of the combos avoid displace objects.
	For bug: 3008756



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 16:41:05 +00:00
zarzuelo 746a73b753 2010-06-01 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/estado_agente.php: Fixed the
	pagination on agents view. Now the total agents not 
	include the disabled ones.
	Bug: 3008770



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 11:19:28 +00:00
mdtrooper 041e786546 2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/stat_win.php, general/license/pandora_info_ast_es.html,
	general/license/pandora_info_es_es.html,
	general/license/pandora_info_en.html: fixed unclose html tags in source
	code, the eclipse warm to me.

	* godmode/db/db_audit.php: fixed lost semi colon in the source code, the
	eclipse warm to me.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2824 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-06-01 10:03:07 +00:00
raulmateos 3d14643359 2010-05-31 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
	operation/agentes/status_monitor.php: Added icon to search button.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2820 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-31 11:41:10 +00:00
raulmateos b938982b0c 2010-05-27 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/tactical.php: Give some colour to the data shown.
	* godmode/menu.php: Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-27 06:54:46 +00:00
slerena e2f00bc59d 2010-05-24 Sancho Lerena <slerena@gmail.com>
* group_view.php: Much nicer view of group view. Added
        column for group icon and for force network modules icon.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-24 18:04:39 +00:00
raulmateos dc39f03321 2010-05-24 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Updated build to new RC2.

	* operation/agentes/sla_view.php, operation/agentes/ver_agente.php,
	godmode/agentes/agent_conf_gis.php, include/styles/menu.css,
	include/styles/pandora.css: Clean code, updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-24 16:17:21 +00:00
mdtrooper 5b01cde66e 2010-05-21 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: added the style for disabled
	agent and tooltip, in the name agent.
	
	* operation/search_results.php: added the style for disabled
	agent and tooltip.
	
	* godmode/agentes/modificar_agente.php: added tooltip.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2782 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-21 08:59:14 +00:00
zarzuelo 91f35b72cf 2010-05-18 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/ver_agente.php
	godmode/reporting/visual_console_builder.wizard.php
	godmode/reporting/visual_console_builder.php: Fixed the
	multiple agents selection on visual console wizard 
	for bug 2997750



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 12:10:39 +00:00
mdtrooper 1850cb9251 2010-05-18 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: added function 
	"agent_changed_by_multiple_agents_id" for response to change agent in
	wizard in visual console editor.

	* operation/agentes/ver_agente.php: added response to
	"get_agent_modules_json_for_multiple_agents_id" for the ajax previous
	function.
	
	* godmode/reporting/visual_console_builder.wizard.php: used new javascript
	function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-18 10:03:06 +00:00
raulmateos 9ecbd9599b 2010-05-14 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/gis_view.php, tactical.php: Clean code. Updated year.
	* Changelog: Fixed language error from my last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 12:55:16 +00:00
zarzuelo d8d2d23ba1 2010-05-14 Sergio Martin <sergio.martin@artica.es>
* include/functions_db.php
	operation/agentes/ver_agente.php
	godmode/agentes/massive_edit_modules.php: Fixed the
	ACL check into groups combo for bug 3001500 and 
	All agents display for bug 2999431



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-14 09:25:39 +00:00
raulmateos 9fd8a5a297 2010-05-13 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/group_view.php: Clean code. Close tags. Now, if 
	there's no agent, it shows a text. Inefficient?
	* godmode/agentes/agent_manager: Solved typo with .png files, but
	those files doesn't exists in repository...
	*  ChangeLog: Changed date error from my last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 18:29:46 +00:00
zarzuelo d3c6e43fd2 2010-05-13 Sergio Martin <sergio.martin@artica.es>
* include/functions_reporting.php
	operation/agentes/status_monitor.php: Fixed full monitor
	checks in tactical view and monitor status filter 
	on monitor detail



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-13 14:09:13 +00:00
Ramon Novoa 599280bdce 2010-05-11 Ramon Novoa <rnovoa@artica.es>
* operation/agentes/stat_win.php: Pass the start date to min, max and
          avg functions.

        * godmode/alerts/configure_alert_action.php: Fixed a typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-11 18:29:19 +00:00
zarzuelo 2634e18efb 2010-05-03 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/alerts_status.php
	operation/agentes/alerts_status.functions.php: Fixed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-05-03 09:02:18 +00:00
zarzuelo 83e17ce35a 2010-04-30 Sergio Martin <sergio.martin@artica.es>
* operation/agentes/group_view.php: Fixed the group
	1 problem. It was not showed



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2647 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-30 11:31:24 +00:00
slerena 7bd6d62372 2010-04-28 Sancho Lerena <slerena@artica.es>
* include/pChart/pChart.class:

    * include/pChart/pData.class

    * include/fgraph.php: Fixed bug with eventgraph in graph_event_module().

    * include/functions.php: return_graphtype() uses now the log4x id 24 in
    ttipo_modulo, fixing the problem in graph visualizer. Anyway, log4x graphs
    doesn't work on php >= 5.3.x :((

    * operation/agentes/estado_monitores.php: Fixed id (24) for link in log4x.

    * operation/agentes/stat_win.php: Included missing functions_reporting.php
    include, it was missing.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-28 09:10:23 +00:00
mdtrooper fd376f630e 2010-04-26 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/ver_agente.php: removed hack for translate "any" text.
	
	* godmode/reporting/graph_builder.php: removed unused javascript function
	"agent_changed"
	
	* godmode/reporting/reporting_builder.php: re-added parameter
	$values['id_agent_module'].


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-27 07:35:50 +00:00
slerena 22916f22fe 2010-04-26 Sancho Lerena <slerena@ærtica.es>
* operation/agentes/datos_agente.php: Fixed the data table
        render for log4x data.

        * operation/agentes/estado_monitores.php: Graph icon should be
        shown when using  Log4x data, it has graphics (need to implement in
        Flash in the future).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-26 17:31:58 +00:00
mdtrooper 2f59592657 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: added function
	"agent_changed_by_multiple_agents" for query ajax with one or more agent
	select.
	
	* operation/agentes/ver_agente.php: added ajax response to
	"get_agent_modules_json_for_multiple_agents".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 18:50:00 +00:00
zarzuelo d9088a6eb4 2010-04-22 Sergio Martin <sergio.martin@artica.es>
* include/functions_ui.php
       include/functions_agents.php
       include/functions_db.php: Change the way of validate
        the All group. Now the group All has id_group = 0
        and is not on the database

       * extensions/module_groups.php: Remove the All 
        group row from the table. Inprove the table style

       * operation/agentes/status_monitor.php
       operation/agentes/alerts_status.php
       operation/agentes/estado_agente.php
       operation/agentes/exportdata.php
       operation/agentes/networkmap.php 
       godmode/agentes/modificar_agente.php
       godmode/agentes/planned_downtime.php: Changed the
        All group on combos from 1 to 0



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 16:51:23 +00:00
mdtrooper ed67836aca 2010-04-22 Miguel de Dios <miguel.dedios@artica.es>
* include/javascript/pandora.js: changed function "agent_changed" for take
	the translate any or none texts from ajax or global var.
	
	* operation/agentes/ver_agente.php: added to package data the translate
	text for any.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-22 11:52:31 +00:00
slerena 2696b815e5 2010-04-21 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Added function render_report_html_item()
    to render a given report element in HTML format. Fixed a small problem in
    SUM report type (int truncate invalidate most of SUM reports when not using
    a _inc data type).

    * include/functions.php: Updated all "is_module_xxx" from using ereg 
    (deprecated) to use preg_match.

    * include/functions_db.php: Moved reporting functions 
    get_agentmodule_data_average(); get_agentmodule_data_max(), 
    get_agentmodule_data_min() and  get_agentmodule_data_sum() from here
    to functions_reporting.php.

    * godmode/groups/group_list.php: Removing a group put all agents assigned
    to that group in other available group (choosen in realtime).

    * AUTHORS: Authors file update, was very outdated!.

    * operation/agentes/estado_generalagente.php: Fixed bug #2990430.

    * operation/reporting/reporting_viewer.php: Some changes for better 
    structuration of the HTML reporting viewer. Removed big chunk of code
    and put in function_reporting/render_report_html_item() function.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-21 17:52:08 +00:00
mdtrooper 830a58bf41 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: changed the functions
	"get_agent_alerts_simple" and "get_agent_alerts_compound" delete new
	parameter $limit because you can set the pagination limit in the parameter
	$options.
	
	* operation/agentes/alerts_status.php: changed the calls to previus
	functions.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-07 09:50:09 +00:00
mdtrooper 7944a69e3e 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php: added parameter $where for SQL in function
	"get_agent_alerts_compound".

	* operation/agentes/alerts_status.php: use the new free search for filter
	the rows of alerts.

	* operation/agentes/alerts_status.functions.php: added parameter in the
	function "printFormFilterAlert", the parameter $free_search and add
	input text control for free search.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 15:08:08 +00:00
mdtrooper 7dc7c09635 2010-04-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_ui.php: changed some parts of source code in the
	functions "format_alert_row" for show column modules in general view. In the
	function "pagination" added the parameter $offset_name with default value
	'offset' for to use several paginations in one page.

	* include/functions_agents.php: added the parameters $limit, $idGroup,
	$count in the function "get_agent_alerts_simple", and now you can limit the
	rows, search by id group and return the count of rows (without limit). And
	in the function "get_agent_alerts_compound" added the same parameters to
	another function $idGroup, $limit, $count for similar uses.

	* operation/agentes/alerts_status.php: cleaned more parts of source code,
	fixed the mad array_merge of alerts, fixed SQL with the searchs IN
	(large large list ids), fixed the pagination before loop all rows, now
	only loop the block page rows.

	* operation/agentes/alerts_status.functions.php: new file with the functions
	"forceExecution", "validateAlert", and "printFormFilterAlert".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-06 12:46:34 +00:00
mdtrooper 3cbec8d108 2010-03-31 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/alerts_status.php, operation/agentes/estado_agente.php,
	godmode/reporting/visual_console_builder.editor.php: cleaned source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-04-05 15:54:17 +00:00
slerena 7932ff9239 2010-03-21 Sancho Lerena <slerena@gmail.com>
* include/help/en/check_other_languages.sh: Moved from include/help 
        and rewritten to be more usable. This is a script to check if there
        are missing help files for each language (taken as parameter).

        * operation/agentes/datos_agente.php: Cannot detete data from here.
        Removed old support for individual data delete due the new table 
        schema.

        * extras/check_other_languages.sh: Moved from include/help

        * godmode/agentes/modificar_agente.php: Admin can see everything
        even if agent has a invalid group (group which not exist). This
        was important because agents with invalid group was "Invisible"
        until now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2519 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-22 15:32:16 +00:00
eric_ross_c d71282f836 * operation/agentes/estado_ultimopaquete.php: Fixing color to show WARN messages in orange
* operation/agentes/stat_win.php: Now when showing a log4x chart, we don't show the max/min/avg information



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-19 14:06:49 +00:00
eric_ross_c 4a0121ed6b 2010-03-18 Eric Ross <eric.ross.c@gmail.com>
* operation/agentes/estado_monitores.php: Now the monitors list display the last data
                in a proper way (TRACE, DEBUG, ....)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:52:56 +00:00
eric_ross_c 39996464c6 Ported old graphics for the log4x data.
* include/Image/Graph/Plot/Bubble.php: New chart type: bubble
        * include/Image/Graph.php: Add the new bubble chart to the available charts
        * include/functions.php: Refactoring way to get type of graph from module type
        * operation/agentes/estado_ultimopaquete.php: Added links to access log4x graphics
        * include/fgraph.php: Add log4x graphics rutines.
        * operation/agentes/stat_win.php: Add support to show log4x graphic.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2512 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-18 20:01:48 +00:00
mdtrooper 4515df471f sancho.lerena@artica.es>
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-09 12:34:09 +00:00
mdtrooper 16b5a1277f 2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code delete obsolete unused
	function "get_agent_last_coords". Fixed the function "get_agent_icon_map"
	now show default icon for agent without modules.
	
	* operation/gis_maps/ajax.php: improve the style of bubble info agent and
	fixed the position for agent without data GIS.
	
	* operation/agentes/gis_view.php: clean the style delete the header. Change
	the text of refresh button. Show the last coords for the agent.
	
	* images/gis_map/icons/cross.pink.png, images/gis_map/icons/circle.pink.png:
	add this image icons for to use in the preview map of config connection map.
	
	* godmode/agentes/agent_conf_gis.php: clean the style delete the header.

	* godmode/setup/gis_step_2.php: use the pink icons for the center and
	default position in the preview map.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-05 11:16:20 +00:00
slerena db044fda1c 2010-03-04 Sancho Lerena <slerena@artica.es>
* install.php: Fixed a bad render in IE.

        * operation/agentes/estado_agente.php: Fixed general view of agents.
        When show agents without modules, never display it's date because was
        taking from the most recept module, instead of data from agent itself.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 20:02:29 +00:00
slerena f43a9becea 2010-03-04 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Added news, default timezone and other 
        minor changes. GIS is disabled by default now.

        * include/config_process.php: Force a timezone if not defined.

        * operation/gis_maps/index.php,
        operation/agentes/gis_view.php: Config.php and header stuff 

        * operation/servers/view_server_detail.php
        operation/menu.php: Recon operation detail is now shown in the left
        menu.

        * admin_access_logs.php,
        db/db_audit.php
        db/db_info.php
        db/db_event.php
        agentes/configurar_agente.php
        gis_maps/configure_gis_map.php
        gis_maps/index.php: More headers and config.php include stuff.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-04 16:22:25 +00:00
slerena ab2dd5a5be 2010-03-03 Sancho Lerena <slerena@artica.es>
* (A lot of files): Updated include("config.php") and replaced
        by global $config.

        * functions_db.php, functions_html.php: Fixed way to get data
        from the hash instead from the array.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 17:10:37 +00:00
mdtrooper 8d72e7dab9 2010-03-03 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: fix "Call-time pass-by-reference" for
	function "print_table".



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-03 09:22:44 +00:00
slerena 6022740c10 2010-03-02 Sancho Leren <slerena@artica.es>
* include/functions_ui.php: Fixes default icon for operation
	mode in the title.

	* operation/incidents/incident.php
	operation/incidents/incident_detail.php
	operation/incidents/incident_statistics.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	operation/users/user_statistics.php
	operation/events/event_statistics.php
	operation/events/export_csv.php
	operation/events/events_marquee.php
	operation/events/events.php
	operation/agentes/export_csv.php
	operation/agentes/datos_agente.php
	operation/agentes/estado_ultimopaquete.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/sla_view.php
	operation/agentes/gis_view.php
	operation/agentes/ver_agente.php
	operation/agentes/tactical.php
	operation/agentes/group_view.php
	operation/agentes/networkmap.php
	operation/messages/message.php
	operation/reporting/reporting_viewer.php
	operation/servers/view_server.php
	operation/servers/view_server_detail.php
	operation/search_results.php
	godmode/groups/configure_group.php
	godmode/groups/group_list.php
	godmode/agentes/agent_manager.php
	godmode/alerts/alert_list.php: Fixes with include(Config.php) in
	enterprise mode.:

	* general/header.php: Detection of Metaconsole to show less options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 19:25:51 +00:00
slerena d7274f2288 2010-03-02 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Solved issue with several undefined
	vars.

	* include/functions_servers.php: Solved issue with several undefined
	vars. 

	* include/functions_config.php: Added metaconsola witch to readconfig.

	* include/config_process.php: Update build.. is YYMMDD !

	* include/functions_ui.php: Removed deprecated call to split and replaced
	by preg_split.

	* index.php: Activated developer mode.

	* operation/agentes/estado_monitores.php: Solved small problem with modules
	without history, filling missing column in table. Added headers

	* godmode/alerts/configure_alert_compound.php,
	operation/agentes/status_monitor.php
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_commands.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php: Removed deprecated call to include
	config.php and in some cases, added new header style.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 14:13:00 +00:00
mdtrooper ee6e942096 2010-03-02 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add function "addParentLines", in ths function
	make a hierachy layer and call "js_refreshParentLines" for paint hierachy
	lines. In function "activateAjaxRefresh" use the function
	"js_refreshParentLines" for repaint the lines.
	
	*include/javascript/openlayers.pandora.js: add the global var
	"storeLayerNameHierachy" for save the text localiced name of Hierachy lines
	layer. Add the function "js_refreshParentLines" for paint the lines from
	parent to sons. In function "changeShowStatus" add the
	"js_refreshParentLines"

	* operation/gis_maps/render_view.php: use the function "addParentLines" for
	start the parent lines.

	* operation/agentes/gis_view.php: clean sourcecode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-02 12:00:57 +00:00
mdtrooper f1b67fc083 2010-03-01 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: now function "getAgentMap" return true or false
	if there is default map or not.

	* operation/agentes/gis_view.php, godmode/agentes/agent_conf_gis.php: show
	message of error when there isn't a default map



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-03-01 11:17:27 +00:00
mdtrooper 6f91b31b80 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: in function "addPath" fix the query to extract
	the path from a time.
	
	* operation/agentes/gis_view.php: add no-ajax control for filter the time
	to show path.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 16:32:07 +00:00
mdtrooper 45539d31f2 2010-02-25 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/gis_view.php: change the empty message to standar.
	
	* godmode/menu.php: change the text of visual console builder and GIS map
	builder, and move to down the Conection GIS editor.
	
	* godmode/gis_maps/configure_gis_map.php: change some text.
	
	* godmode/gis_maps/index.php: use new header.
	
	* godmode/reporting/map_builder.php: change some text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-25 13:30:42 +00:00
mdtrooper 78a81f5234 2010-02-22 Sancho Lerena <slerena@artica.es>
* include/functions_gis.php: change the function "activateAjaxRefresh" for
	refresh also the agent maps, and in the function "getAgentMap" show icon
	with status the agent maps.
	* operation/gis_maps/ajax.php: in the switch option "get_new_positions"
	return GIS data for agent maps, in the "point_agent_info" and
	"point_path_info" option change for new tables.
	* operation/agentes/gis_view.php: add the ajax moving agent and click
	bubble info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-23 12:12:41 +00:00
mdtrooper aa95edc888 2010-02-22 Miguel de Dios <miguel.dedios@artica.es>
* images/groups_small/*.ok.png, images/groups_small/*.default.png,
	images/groups_small/*.bad.png, images/groups_small/*.warning.png: add the
	group images for diferent status, it's used in the GIS map.
	
	* godmode/agentes/agent_manager.php: change for new form to name the icons
	with status.
	
	* include/functions_gis.php: clean source code in function "addPoint",
	rewrite the function "get_agent_icon_map" for used icons with state for
	group, change some parts of source code in the function "getArrayListIcons"
	for new form to name the icons.
	
	* images/gis_map/icons/*.png: change some icons.
	
	* operation/agentes/estado_generalagente.php: show message when there isn't
	the GIS data.
	
	* operation/gis_maps/ajax.php: change the source code and db query to
	return the GIS data for return default position for agent without GIS data.
	
	* operation/gis_maps/render_view.php: show agents without GIS data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2396 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 16:13:12 +00:00
mdtrooper 2b337dde2a 2010-02-22 Miguel de Dios <miguel.dedios@artica.es>
* operation/agentes/estado_generalagente.php: fix, use the new tables.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-22 10:01:50 +00:00
slerena e76cdb0747 2010-02-19 Sancho Lerena <slerena@artica.es>
* functions_events.php: Fixed typo (switched meaning) in two labels.

	* include/styles/pandora.css: Changed background color of th default style.

	* include/functions_reporting.php: Improved function get_group_stats(). Now
	supports stats from batch-mode and get realtime stats in a more efficient
	way. Fixed get_fired_alerts_reporting_table() to avoid problems in external 
	reporting (PDF & XML).

	* include/functions_servers.php: get_server_performance() now uses batch mode
	stats reporting, and improved also the realtime stats generation. Same with
	function get_server_info().

	* include/functions_config.php: Added new config tokens (not fully 
	implemented yet) for event, trap, strings and audit automatic purge.

	* include/functions_ui.php: Added new print_page_header() function to set
	the new standard header in all pages, using the "tabbed" format to show
	the title, subtitle and other options like help, or custom-tabs for the page

	* pandoradb.sql: Added tserver.stat_utimestamp field. Added indexes to 
	tsession table. Fixed typo in field name in tgroup_stat: agents_uknown to
	agents_unknown.

	* extensions/ext_backup: New directory to place "deleted" extensions.

	* extensions/dbmanager/dbmanager.css: Table names now are in it's original
	lowercase/uppercase format.

	* extensions/dbmanager.php: Updated headers, and now return "empty" when
	a search is empty, instead "error" as before.

	* extensions/users_connected.php
	extensions/module_groups.php
	extensions/plugin_registration.php
	extensions/pandora_logs.php
	operation/incidents/incident.php
	operation/snmpconsole/snmp_view.php
	operation/users/user.php
	operation/users/user_edit.php
	godmode/agentes/planned_downtime.php
	operation/events/events.php
	operation/visual_console/index.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/agentes/exportdata.php
	operation/agentes/ver_agente.php
	operation/agentes/status_monitor.php
	operation/agentes/alerts_status.php
	operation/users/user_statistics.php: Added new header format.

	* operation/agentes/estado_grupo.php: Removed old group view.

	* operation/agentes/tactical.php: Adapted to use new realtime/batch 
	statistical system. Placed events above server info. Showing only pending
	events and other minor changes.

	* operation/agentes/group_view.php: NEW screen, replacing old one. Probably
	most ugly, but much more useful than before.

	* operation/agentes/networkmap.php: Added title.

	* operation/messages/message.php: Added title and adding some exists in 	
	code was missing before.

	* operation/reporting/reporting_viewer.php: Added title.

	* operation/reporting/graph_viewer.php: Added title.

	* operation/reporting/custom_reporting.php: Added title.

	* operation/servers/view_server.php: 

	* operation/menu.php: Replaced old group view with new (this has english
	name). Removed autorefresh "by default" in server view.

	* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Fixed typo.

	* extras/pandora_diag.php: Minor changes, removed some info and added other.

	* general/logon_ok.php: Minor aesthetic changes.

	* general/header.php: Fixed missing ";"

	* operation/extensions.php,
	godmode/extensions.php: Added support for delete extensions.

	* godmode/menu.php: New setup items.

	* godmode/setup/setup.php,
	godmode/setup/performance.php,
	godmode/setup/setup_visuals.php: Reordered setup options, new setup section	
	"Performance", added new performance options to set  "realtime" statistics
	or "batchmode" with it's own interval. Some setup info is now shared with
	the servers (but it it's any change in setup, servers should be restarted 
	anyway).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2390 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 15:16:03 +00:00
mdtrooper 72bc9ecb30 2010-02-19 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: adapt to new tables.
	
	* include/javascript/openlayers.pandora.js
	
	* operation/gis_maps/render_view.php: adapt to new tables.
	
	* operation/gis_maps/ajax.php: adapt to new tables.
	
	* operation/agentes/gis_view.php: clean source code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2386 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-19 12:26:54 +00:00
mdtrooper baf9fc4f85 2010-02-18 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: check in the function "addPath" if the agent
	haven't history data. And clean source code.
	
	* operation/agentes/gis_view.php: change to use new tables, and show
	messages when the agent haven't data GIS.
	
	* godmode/agentes/agent_conf_gis.php: change the message for agent without
	data GIS.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-18 16:54:24 +00:00
eric_ross_c f445bdf12c Fix commit for adding LOG4X support
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-15 13:07:52 +00:00
mdtrooper 550c6ea3f8 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: add in the function "getAgentMap" a new
	parameter "centerInAgent" (default true) for center the map in the last
	position of agent.
	
	* operation/agentes/ver_agente.php: clean source code.
	
	* godmode/agentes/agent_conf_gis.php: add page that you can change the
	position of agent.
	
	* godmode/agentes/configurar_agente.php: add the code to update the changed
	coords of agent, and show the tab to access the agent_conf_gis.php.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2337 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 13:08:33 +00:00
mdtrooper 00774405de 2010-02-10 Miguel de Dios <miguel.dedios@artica.es>
* include/styles/pandora.css: add lost style for disable button.
	
	* include/functions_gis.php: fix the function "getAgentMap" now back run.

	* include/functions_ui.php: clean source code.
	
	* operation/agentes/ver_agente.php: add require javascript
	openlayers.pandora.js.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-10 10:16:51 +00:00
mdtrooper e9cfd7729f 2010-02-09 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_gis.php: clean source code, and extract the javascript
	code to openlayers.pandora.js.
	
	* include/javascript/openlayers.pandora.js: new file, have a source code of
	gis in javascript.
	
	* operation/gis_maps/render_view.php, operation/gis_maps/index.php,
	operation/agentes/gis_view.php, godmode/agentes/agent_manager.php,
	godmode/setup/gis.php, godmode/gis_maps/configure_gis_map.php,
	godmode/gis_maps/index.php: add the require javascript to 
	"openlayers.pandora.js".

	* godmode/setup/gis_step_2.php: add the source code to improve usability,
	now can set with the mouse points of center and default position for agents
	without gis data.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2335 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2010-02-09 17:06:25 +00:00