Commit Graph

6407 Commits

Author SHA1 Message Date
slerena 5e653848b1 2008-08-21 Sancho Lerena <slerena@gmail.com>
* pandoradb*.sql: tplanned_downtime: Fixed a typo, changed timestamp 
	types, added executed field and removed id_agent_module.

	* manage_config.php:  (Problem copying keep_alive modules
	and alerts and solved bad message with no data supplied.

	* manage_config_remote.php: Solved BUG #2042788 Fixed, was missing 
	extension in filename check.

	* planned_downtime.php: Major rewrite. Now works with server model of
	planned downtimes based on select agents to disable in specific times.
	Using unixtime was a very nice idea, so the javascript controls are 
	fantastic to do this job!. Thanks Esteban and Evi!.

	* manage_recontask*: Some issues with styles, using new div for button.

	* modificar_server.php:  Some issues with styles, using new div for button

	* config.inc.php: By default, show errors, easy to debug first problems.

	* functions_db.php: Fixed problems detected in borrar_incidencia() function
	(this is delete_incident in spanish).

	* estado_agente.php: Added support to search by IP address in agent view.

	* networkmap.php: Regen on by default, Font label shortened.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 19:16:16 +00:00
guruevi ef16c37137 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/profiles/profile_list.php: Update from yesterday. Fixes HTML generation.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 18:45:23 +00:00
guruevi 160c7ac3e3 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/servers/modificar_server.php. 
        godmode/servers/manage_recontask_form.php, 
        godmode/servers/manage_recontask.php: HTML and SQL overhaul. Now uses 
        the new functions that are available in functions_html.php.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1016 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 16:57:37 +00:00
guruevi 54fcab7b74 2008-08-20 Evi Vanoost <vanooste@rcbi.rochester.edu
* godmode/profiles/profile_list.php: HTML overhaul (close tags, put
        brackets and quotes in the right places. Now uses new functions
        instead of the old ones

        * include/locale.class.php: Updated and added functions. See internals
        for updated functions. It now allows to put a translated array of
        languages, countries and currency instead of the built-in english one

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1014 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 18:25:08 +00:00
Esteban Sanchez 9651e272ca 2008-08-19 Esteban Sanchez <estebans@artica.es>
* include/locale.class.php: Fixes in Translate_Locale() to work
        properly. Tab style correction in all the file, use tabs instead of
        blankspaces.

        * godmode/setup/setup.php: Added locale configuration option.

        * pandoradb_data.sql: Added locale to tconfig.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 09:19:27 +00:00
Esteban Sanchez 6d7ce4d60c 2008-08-12 Esteban Sanchez <estebans@artica.es>
* godmode/db/db_purge.php: Use print_help_tip() to show help tip.

        * godmode/profiles/profile_list.php: Use print_help_tip(). Removed
        deprecated $help_label.

        * godmode/users/configure_user.php: Better code to show user level
        radio buttons and help.

        * include/functions_db.php: Removed deprecated function
        load_lang_file().

        * operation/agentes/datos_agente.php, ajax.php,
        operation/reporting/reporting_viewer_pdf.php, reporting/stat_win.php,
        operation/agentes/exportdata.php: Removed inclusion of old
        language files.

        * include/languages/index.pot: Regenerated and added header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1009 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 14:41:53 +00:00
guruevi 8ccc09bad8 2008-08-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/menu.php: Made short tag, normal tag

        * include/functions.php: Got rid of references to language files

        * godmode/servers/plugin.php: Made proper english

        * godmode/servers/manage_recontask.php: Made proper HTML

        * godmode/profiles/profile_list.php: Translation of help strings

        * godmode/agentes/manage_config_remote.php: Fixed typo that generated errors

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1008 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 14:15:42 +00:00
Esteban Sanchez 145bc28f91 2008-08-12 Esteban Sanchez <estebans@artica.es>
* pandoradb_data.sql: Added default languages.

	* include/streams.php, include/gettext.php: Added to repository. New
	files to add gettext support of mo files.
	
	* include/functions_db.php: Function lang_string() functionallity
	changed to use gettext library.

	* include/languages/language_es_es.php,
	include/languages/language_gl.php, include/languages/language_en.php,
	include/languages/language_pt_br.php,
	include/languages/language_it.php,
	include/languages/language_ast_es.php,
	include/languages/language_es_la.php,
	include/languages/language_de.php, include/languages/language_fr.php,
	include/languages/language_ca.php: Files deleted, they are
	deprecated since we have moved to gettext.

	* lude/languages/pt_br.mo, include/languages/es.mo,
	include/languages/fr.po, include/languages/it.po,
	include/languages/ca.po, include/languages/ast.po,
	include/languages/de.po, include/languages/gl.mo: Gettext translations
	of the previous languages we have in language_*.php files.

	* include/languages/Makefile: Added to repository to generate
	index.pot and mo files of each translation.

	* include/functions_reporting_pdf.php,
	include/functions_reporting.php, include/config_process.php,
	include/functions.php, include/functions_visual_map.php, index.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_note.php,
	operation/incidents/incident_search.php,
	operation/incidents/incident_statistics.php,
	operation/snmpconsole/snmp_alert.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/events.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php,
	operation/agentes/estado_alertas.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_grupo.php,
	operation/agentes/datos_agente.php,
	operation/agentes/estado_ultimopaquete.php,
	operation/agentes/estado_generalagente.php,
	operation/agentes/estado_agente.php, operation/agentes/bulbs.php,
	operation/agentes/sla_view.php, operation/agentes/exportdata.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/estadisticas.php,
	operation/agentes/tactical.php, operation/agentes/networkmap.php,
	operation/messages/message.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/custom_reporting.php,
	operation/servers/view_server.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	reporting/fgraph.php, reporting/stat_win.php, general/logoff.php,
	general/pandora_help.php, general/footer.php, general/noaccess.php,
	general/logon_failed.php, general/links_menu.php,
	general/login_page.php, general/logon_ok.php, general/header.php,
	general/main_menu.php, godmode/groups/configure_group.php,
	godmode/groups/group_list.php, godmode/setup/news.php,
	godmode/setup/links.php, godmode/setup/setup.php,
	godmode/users/user_list.php, godmode/users/configure_user.php,
	godmode/profiles/profile_list.php, godmode/admin_access_logs.php,
	godmode/db/db_info_data.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/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/alert_manager.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/alert_manager_editor.php,
	godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/agent_disk_conf_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php,
	godmode/agentes/agent_manager.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php,
	godmode/menu.php: Replaced string parameters of __() callings to
	plain english. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1006 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 12:06:25 +00:00
Esteban Sanchez f5f4164911 2008-08-11 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added __ as an alias of lang_string().

	* include/functions_reporting_pdf.php,
	include/functions_reporting.php, include/functions.php,
	include/functions_visual_map.php, index.php,
	operation/incidents/incident.php,
	operation/incidents/incident_detail.php,
	operation/incidents/incident_note.php,
	operation/incidents/incident_search.php,
	operation/incidents/incident_statistics.php,
	operation/snmpconsole/snmp_alert.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/events.php,
	operation/visual_console/render_view.php,
	operation/visual_console/index.php, operation/extensions.php,
	operation/agentes/estado_alertas.php,
	operation/agentes/status_monitor.php,
	operation/agentes/estado_grupo.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/bulbs.php,
	operation/agentes/status_events.php, operation/agentes/sla_view.php,
	operation/agentes/exportdata.php,
	operation/agentes/estado_monitores.php,
	operation/agentes/ver_agente.php, operation/agentes/estadisticas.php,
	operation/agentes/tactical.php, operation/agentes/networkmap.php,
	operation/messages/message.php,
	operation/reporting/reporting_viewer.php,
	operation/reporting/graph_viewer.php,
	operation/reporting/custom_reporting.php,
	operation/servers/view_server.php,
	operation/servers/view_server_detail.php, operation/menu.php,
	reporting/fgraph.php, reporting/stat_win.php, ajax.php,
	general/logoff.php, general/pandora_help.php, general/footer.php,
	general/noaccess.php, general/logon_failed.php,
	general/links_menu.php, general/login_page.php, general/logon_ok.php,
	general/header.php, general/main_menu.php,
	godmode/groups/configure_group.php, godmode/groups/group_list.php,
	godmode/setup/news.php, godmode/setup/links.php,
	godmode/setup/setup.php, godmode/users/user_list.php,
	godmode/users/configure_user.php, godmode/profiles/profile_list.php,
	godmode/admin_access_logs.php, godmode/db/db_info_data.php,
	godmode/db/db_main.php, godmode/db/db_audit.php,
	godmode/db/db_sanity.php, godmode/db/db_refine.php,
	godmode/db/db_info.php, godmode/db/db_event.php,
	godmode/db/db_purge.php, godmode/extensions.php,
	godmode/agentes/agent_template.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/agentes/alert_manager.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/alert_manager_editor.php,
	godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/modificar_agente.php,
	godmode/agentes/configurar_agente.php,
	godmode/agentes/agent_disk_conf_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/agentes/manage_config_remote.php,
	godmode/agentes/agent_manager.php,
	godmode/modules/manage_network_components_form.php,
	godmode/modules/manage_nc_groups_form.php,
	godmode/modules/manage_network_templates.php,
	godmode/modules/module_list.php,
	godmode/modules/manage_network_templates_form.php,
	godmode/modules/manage_network_components_form_network.php,
	godmode/modules/manage_network_components_form_wmi.php,
	godmode/modules/manage_network_components.php,
	godmode/modules/manage_nc_groups.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/map_builder.php,
	godmode/reporting/graph_builder.php, godmode/servers/plugin.php,
	godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php,
	godmode/servers/manage_recontask_form.php,
	godmode/alerts/modify_alert.php, godmode/alerts/configure_alert.php,
	godmode/menu.php: Replaced $id_user with $config['id_user']. Use __a
	instead of $lang_label to future use of gettext. Style
	corrections.

	* godmode/agentes/planned_downtime.php: Rewritten to use Pandora
	functions and adopt the UI style. Replaced lang_string with __().

	* pandoradb.sql: Fields in tplanned_downtime renamed to fit
	guidelines.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-11 10:59:07 +00:00
slerena b16aac61f6 2008-08-05 Sancho Lerena <slerena@gmail.com>
* AUTHORS: Added Evi to AUTHORS file.

	* pandoradb.sql: MAJOR UPDATE and normalization of database
	structure. trecon_task table has changed from previous 2.0 version.

	* pandoradb_data.sql: Minimal updates.

	* reporting_builder.php: Fixed bug #2035570 (Two weeks instead one 
	week in combo to select SLA period).
	.
	* manage_config_remote.php: Fixed bug #2032889: Show configurations
	not present in disk and fail to copy them.

	* manage_recontask.php: Show OS, and some stetical changes and code
	optimization. Removed old code for assigned network servers and so on.

	* manage_recontask_form.php: Removed old fields, added new fields, fixed
	old bugs (create incident combo).

	* config_inc.php: Code cleanup, updated variables.

	* config_process.php: Updated version info.

	* estado_ultimopaquete.php: Added refresh icon.

	* view_server.php: Added missing link to view_server_detail.php for
	recon servers. Somebody take it prisoner :-)

	* view_server_detail.php: Code stype update, and some fixes and new 
	column information.

	* modificar_agente.php, configurar_agente.php: Fixed use of $id_user.

	* index.php: Temporal workaround to use $id_user as global. Need to fix.
 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-05 11:42:08 +00:00
Esteban Sanchez 00bb3be3f1 2008-08-04 Esteban Sanchez <estebans@artica.es>
* index.php: Set id_user in config array when login. This fixes errors
        and notices on login screen.

        * operation/menu.php: Replaced use of id_user on SESSION array with
        config.

        * general/logon_ok.php: Replaced lang_label with lang_string(). Use
        id_user on config array. Style correction and code cleanup.

        * godmode/extensions.php: It was showing main functions of extensions 
        instead of godmode ones.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-04 14:29:41 +00:00
Esteban Sanchez 2c8375ed0f 2008-08-04 Esteban Sánchez <estebans@artica.es>
* godmode/extensions.php, operation/extensions.php: Added to
        repository. Extensions interface to operation and godmode modes.

        * images/extensions.png: Added to repository. Extensions icon for the
        menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@998 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-04 08:47:20 +00:00
Esteban Sanchez d2891eb1c8 2008-08-04 Esteban Sánchez <estebans@artica.es>
* AUTHORS: Added myself.

        * include/functions_extensions.php: Added to repository. Implements
        extensions functions. Extensions are some kind of plugins to the
        console to add functionallity in a modular way. More work and 
        documentation is needed.

        * godmode/reporting/reporting_builder.php, include/functions.php,
        operation/agentes/networkmap.php, operation/agentes/ver_agente.php:
        Style correction.

        * include/functions_db.php: Added load_lang_file() to load the 
        languages file (useful in extensions l10n). Style correction.

        * index.php: Load extensions and call them in cases.

        * godmode/menu.php, operation/menu.php: Style correction, code 
        cleanup. Added extension menu and submenus. Use of CSS more efficient.

        * include/config_process.php: Added extensions support.

        * extensions/, extensions/hello.php: Added to repository, extensions
        dir and example.

        * include/functions.php: Style correction.

        * include/styles/op.css: Cleanup and rewritten the CSS hell it was 
        before.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@997 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-04 08:15:16 +00:00
guruevi 9f37723042 2008-07-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* godmode/db/db_purge.php: A quick fix to the bug I introduced in a previous version of this.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 17:17:28 +00:00
slerena 2f2ec46b1c 2008-07-31 Sancho Lerena <slerena@gmail.com>
* include/help/en/help_plugin_definition.php: New help page for 
	plugin register section.

	* include/javascript/pandora.js: Help window now shows scrollbar.

	* general/pandora_help.php: Better layout for help system.

	* godmode/servers/plugin.php: Fixed position / menu issues and other
	menor bugs in plugin editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@993 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 16:14:04 +00:00
Ramon Novoa 73ef5ae856 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* include/help/en/help_wmiquery.php,
          include/help/en/help_wmifield.php,
          include/help/en/help_wmikey.php: Added to repository. WMI help pages.
        * include/languages/language_en.php, pandoradb.sql,
          pandoradb_data.sql,
          godmode/agentes/agent_template.php,
          godmode/agentes/module_manager_editor_network.php,
          godmode/agentes/module_manager_editor_wmi.php,
          godmode/agentes/module_manager_editor.php,
          godmode/modules/manage_network_components_form.php,
          godmode/modules/manage_network_components.php: Added support for WMI
          modules, including components and templates.
        * godmode/modules/manage_network_components_form_network.php,
          godmode/modules/manage_network_components_form_wmi.php: Added to
          repository. Component editors.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@991 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 11:26:02 +00:00
slerena 627e1187ad 2008-07-30 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Some changes in structure for new export server. Removed
	and extra comma in tplanned_downtime.

	* pandoradb_data.sql: Deleted some stuff from Gigabit module templates, 
	too much.

	* logon_ok.php: Header update.

	* menu.php: Plugin editor moved under server section.

	* modificar_agente.php: Added icon to agent config editor from manage
	agents view.

	* links.php: Some code cleanup.

	* pandora.ico: New .ICO file for web, this will be official one for
	2.0 version.

	* functions_db.php: Fixed a problem in audit_db() where parameters
	was not properly cleaned and with ' chars this makes an SQL error.
	Fixed BUG #2032885, in function get_monitors_in_agent () where a 
	bad SQL forced an error in report.

	* estado_agente.php, estado_generalagente.php: Added link to group 
	view from group icon.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@988 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:39:40 +00:00
guruevi 6f8feafda3 2008-07-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb.sql: Updated schema for tplanned_downtime

	* include/functions_db.php: Small bug that gave a warning in case there were no events for an agent

	* godmode/agentes/planned_downtime.php: You can now create planned downtime schedules. This 
	won't work yet as the server doesn't support it yet. So I didn't integrate it in the menu either, but it can be.

	* general/links_menu.php: The first link will also show up. It wasn't showing up because the mysql function
	that was used moved the internal pointer ahead while checking if it existed. Used new functions.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@987 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:19:58 +00:00
slerena 33e3cfd3cc 2008-07-25 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Added new tables for planned downtimes.
	
	* godmode/menu.php: Added entry for manage downtimes.

	* group_list.php: Stetic changes in table.

	* modificar_server.php: Fixed timestamp render for start/update 
	timestamp of each server.

	* functions.php: Minimal estetic changes in help function.

	* functions_db.php: Change header (Flexible <- Free)

	* functions_html.php: Now select admits multiselect option. Default
	class for table render is now databox not databox_color.

	* AUTHORS: Update list of authors and make a reference to contributors.

	* function_reporting.php: Header change, updated datetime string format.

	* language_en.php, language_es_es.php: Changed FREE for Flexible.

	* pandora.css: Minimal changes. Update color of Monitor count in tactical.

	* menu.php: Added some new event options: CSV Export, RSS and new marquee
	event visualizer. 

	* estado_ultimopaquete.php: Header update.

	* tactical.php: Added link to data module alerts. 

	* ver_agente.php: Fixed a problem in ajax code that was rending bad 
	count of down monitors. Using boolean comparation on result of function
	get_db_sql(). This kind problem could be in more lines of code.

	* events.php: New quicklinks to RSS, CSV and Marquee in event viewer.

	* export_csv.php, events_rss.php: Fixed duped call to function includes. 

	* graph_viewer.php: I hope this fix FINALLY the annoying bug of graph
	type selector.

	* visual_console/index.php: Updated header.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-25 18:37:32 +00:00
slerena 4aa5247d94 2008-07-22 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Some changes for types not implemented in 2.0

	* module_manager_editor.php: Added help, more space in textareas for
	tcp recv/send. Better layout.

	* help.png: Smaller icon.

	* view_server.php: Fixed problem with lastupdate render. This was using
	and incorrect function to render data



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@968 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 16:21:05 +00:00
Esteban Sanchez a4c010ce4b 2008-07-21 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/graph_builder.php,
        operation/snmpconsole/snmp_alert.php: Applied patch from Kato
        Atsushi.

        * include/functions_reporting.php,
        operation/reporting/reporting_viewer.php,
        godmode/reporting/reporting_builder.php: Adopted to changes in
        get_db_* functions.

        * include/functions_db.php: Removed quotes sorrounding %d characters
        in sprintf. Returned empty array on get_simple_alerts_in_agent() and
        get_combined_alerts_in_agent(). Style correction. Return all fields on
        get_db_all_fields_in_table().

        * ChangeLog: Updated previous commit message format and date.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 13:43:33 +00:00
guruevi eb6398fa59 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/godmode/db/*.php
        -require_once for config might already have loaded
        -Changed mysql_real_escape_string in favor of get_parameter_post
        -Process the DELETE SQL queries through process_sql()
        -Changed comprueba_login() for check_login()
        -Adhered some things to preferred style
        -Compounded SQL queries into joins, subqueries or functions
        -Removed mysql_close() from db_purge.php since the select
        after the delete wouldn't work anymore (database closed)

        * pandora_console/godmode/reporting/reporting_builder.php
        -Fixed a bug that was introduced when the SQL functions returned false

        * pandora_console/include/functions_db.php
        -Made foreach instead of while loops for simpler functions
        -Fixed get_reports that failed since SQL function return false
        -All SQL functions now return false in case of empty
        -New SQL function process_sql that can handle DELETE. Returns
        affected rows in case of a changing query or an array in case
        it was a selecting query or false in case of error

        * pandora_console/include/functions.php
        -Simplified safe_input function

        * pandora_console/index.php
        -Updated SQL queries, style changes

        * pandora_console/operation/agentes/*.php
        -Style changes and updates to use check_login


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 12:23:28 +00:00
Esteban Sanchez 2106d763ff 2008-07-17 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/map_builder.php: Check background existance to
        avoid warnings.

        * include/functions.php: Added Giga magnitude in format_for_graph(),
        thansk to tono user in openideas.

        * include/functions_db.php: Check database result on
        return_status_layout(). Deleted "LIMIT 1" on get_previous_data() which
        was causing SQL failures. Style correction.

        * include/functions_reporting.php: Check database result on
        get_agent_module_sla().

        * operation/agentes/datos_agente.php: Removed useless code.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@961 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 12:21:17 +00:00
Esteban Sanchez 081ca73ba7 2008-07-17 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php,
        godmode/reporting/map_builder.php: Check if all_agents were set to 
        avoid warning on foreach.

        * include/functions_db.php: Fixed typo in return_status_layout().
        Return false on get_db_all_rows_sql().

        * include/functions_visual_map.php: Check layouts_data to avoid
        warning on foreach. Removed ugly comments.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@958 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 07:38:02 +00:00
guruevi fa1fc24dd8 2008-07-16 Evi Vanoost <vanooste@rcbi.rochester.edu>
* Phasing out comprueba_login() across the board

	* Optimizing queries and php script. Fixing small bugs.

	* ChangeLog is coming, this is just a WiP commit so I don't lose all the changes by tomorrow.
		I'm still busy analyzing some queries in the godmode/db directory so this revision might be unusable, use the previous revision for a 'stable' version.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-16 21:04:31 +00:00
slerena d2377f9f09 2008-07-10 Sancho Lerena <slerena@gmail.com>
* include/styles/pandora_red.css: Updated.

	* include/styles/pandora_black.css: New style with BLACK blackground.

	* include/styles/pandora.css: Updated.

	* include/functions_db.php: Added auto order combos and queries.
	
	* include/functions_visual_map.php: Added overlap on down elements if
	there are more than one in the same position (This could allow to cluster
	elements to shown the down status first). Removed unused code.

	* operation/events/events.php: Added tooltip for group name.

	* operation/visual_console/render_view.php: Adjusted controls position.

	* operation/agentes/status_monitor.php: Added status for unknown monitors.
	Added some database search improvement.

	* operation/agentes/sla_view.php: Sorted list of items.

	* operation/agentes/ver_agente.php: Updated AJAX code for network map
	detail view of an agent. Added alert data.

	* operation/agentes/tactical.php: Removed 'fixed' styles, now using CSS.

	* operation/agentes/networkmap.php: Added ransep and font selectors. 
	Added alert under yellow color. Minor improvements.

	* operation/reporting/graph_viewer.php: Style update.

	* operation/menu.php: Visual console maps sort by name

	* images/background-li.gif: This sould replace <li> image.

	* general/login_page.php: Added build version on develop mode.

	* godmode/reporting/map_builder.php: Sorted lists, and shown module name 
	instead description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@949 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-10 11:58:40 +00:00
slerena 8d36a5d045 2008-07-09 Sancho LErena <slerena@gmail.com>
* include/functions_html.php, include/functions_db.php,
        operation/agentes/ver_agente.php, operation/reporting/graph_viewer.php
        operation/reporting/custom_reporting.php, 
        godmode/reporting/reporting_builder.php: Some issues with ordered list
        resolved. Some strings are now converted to lowercase to have a real
        ordered (alphabetical) list.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@947 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-09 16:33:28 +00:00
slerena 54263a3a1a 2008-07-08 Sancho Lerena <slerena@artica.es>
*  include/functions_reporting.php: Basic support for async modules.
        General stats (tactical), do not shown async modules as uknown anymore.

        * operation/agentes/estado_agente.php,
        operation/agentes/estado_ultimopaquete.php: Support for async modules.

        * godmode/agentes/modificar_agente.php: Fixed stupid bug in search
        field in last commit.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@943 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 20:30:15 +00:00
slerena dae75937fb 2008-07-08 Sancho Lerena <slerena@artica.es>
* operation/reporting/graph_viewer.php: Added controls to view in the
        new combined graphic mode (lines), and to change size to three pre-
        defined sizes.

        * reporting/fgraph.php: Stacked mode support was missing by unknown
        reason. Reactivated. Added a mode to view combined graphs in "wired"
        mode (lines only).

        * godmode/agentes/modificar_agente.php: Disabled agents was not shown,
        so was unable to activate again. Fixed.

        * godmode/reporting/graph_builder.php: Added support for line mode.
        Disabled agents don't shown in combo. Some other minor fixes. Changed
        to show the name of the module, instead of description.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@942 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 20:06:44 +00:00
Esteban Sanchez 0daf8ebf1d 2008-07-07 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/graph_builder.php: Tab style correction.

        * godmode/reporting/reporting_builder.php: Button label renamed.

        * include/functions_db.php: Added functions from
        functions_reporting.php.

        * include/functions_reporting.php: Added missing documentation. Added
        check to avoid division by zero on alert_reporting(). Avoid $return
        flag as parameter in some functions.

        * include/functions_reporting_pdf.php: Avoid $return flag when calling 
        some functions.

        * operation/reporting/reporting_viewer.php: Do not use a span with 
        font-size when showing sla report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-07 13:16:13 +00:00
Esteban Sanchez 83ba482bd1 2008-07-02 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Removed extra "#" in
        javascript.

        * godmode/reporting/map_builder.php: Changes to try working in
        Internet Explorer (not completed yet, it's really hard).

        * include/functions_db.php: Changed sever_status() It won't longer 
        return all the modules in pandora, since it's not need in this 
        function, also replaced a strange SQL which was using MAX() with a more
        logical DISTINCT(). Style correction.

        * include/styles/pandora.css: Removed #main width, so it's as wider as
        the parent. Fixed menu_tab_fram and menu_tab_frame_view divs to the
        new template, aligned to the right. Tab and blankspaces correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-03 11:47:53 +00:00
slerena 5c36d4115a 2008-07-01 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Added several indexes, patch from Guruevi.

	* configurar_agente.php: Default "public" for snmp_community
	was causing a fail on blank communities (snmp community is used
	on WMI modules as filter key). Default value is now "" due the way
	get_parameter works, and don't want to change a global function.

	* module_manager_editor_wmi.php: Added two new fields: filter key
	for WMI output (using snmp_community to store it) and WMI response
	field number (using tcp_port to store it).

	* setup.php: Added global "sla_period" item to setup page.

	* sla_view.php: Fixed code to be more close on our coding standards. 
	Need to improve and uses the global table functions on functions_html.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@925 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-02 19:48:27 +00:00
jorgonzalez e5273aca0f 2008-07-01 Jorge Gonzalez <jorgegonz@artica.es>
* godmode/agentes/agent_manager.php: changed $lang_label () to function
        lang_string (); modified tooltips and inline help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@913 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-01 12:47:25 +00:00
jorgonzalez ca2703ef6c 2008-07-01 Jorge Gonzalez <jorge.gonzalez@artica.es>
* include/help/en/help_plugin_parameters.php,
        include/help/en/help_alert_recovery.php,
        include/help/en/help_prediction_source_module.php,
        include/help/en/help_snmpwalk.php,
        include/help/en/help_alert_type.php,
        include/help/en/help_network_component.php: Added new help pages.

        * include/help/en/help_map_builder.php,
        include/help/en/help_postprocess.php,
        include/help/en/help_recontask.php, include/help/en/help_alerts.php,
        include/help/en/help_manage_alerts.php: modified HTML tag.

        * godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor_prediction.php,
        godmode/agentes/alert_manager_editor.php,
        godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/modificar_agente.php,
        godmode/agentes/agent_manager.php, godmode/alerts/configure_alert.php:
        Added/modified help support.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@912 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-01 11:26:17 +00:00
jorgonzalez 155c4f4bf9 2008-06-30 Jorge Gonzalez <jorge.gonzalez@artica.es>
* include/help/en/help_recontask.php: Added help page for Recon tasks.

        * include/languages/language_en.php: Added some strings.

        * godmode/agentes/module_manager_editor_wmi.php,
        godmode/servers/manage_recontask_form.php: Added support for inline
        help.

        * godmode/agentes/module_manager_editor_plugin.php, 
        godmode/agentes/module_manager_editor_data.php: Fixed buggy table,
        modified previously.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@911 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 16:42:19 +00:00
slerena e0fe5d3b27 2008-06-30 Sancho Lerena <slerena@artica.es>
* config_process.php, pandoradb_data.sql, setup.php: Added global 
	"sla_period" for default Monitor SLA calculation (in sec).
	
	* estado_monitores.php: By default now shows a SLA based on "sla_period"
	period. 

	* networkmap.php: Fixed layout to use overlap in all modes using different
	techniques, depending on graph type. Tested with different map layouts in
	size, topology and dimension.

	* agent_manager.php: Agent names are now show in order.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@910 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 16:38:26 +00:00
jorgonzalez 08389b349d 2008-06-30 Jorge Gonzalez <jorge.gonzalez@artica.es>
* include/styles/pandora.css: Added cursor style for inline help.

        * include/help/en/help_manage_alerts.php: Added help page for Alert
        management.

        * include/help/en/help_snmpcommunity.php: Added help page for SNMP
        community.

        * include/help/en/help_map_builder.php: Added help page for map
        builder.

        * include/help/en/help_postprocess.php: Checked spelling.

        * include/help/en/help_module_type.php: Added help page for Module
        type.

        * include/help/en/help_snmpoid.php: Added help page for SNMP OID.

        * include/help/en/help_alerts.php: Added help page for Alert
        configuration.

        * include/help/en/help_module_definition.php: Added help page for
        Module definition.

        * include/functions.php: Added cursor style for inline help.

        * include/languages/language_en.php: Added new strings.

        * operation/agentes/estado_grupo.php: Fixed wrong link and text, it is
        a group, not an agent.

        * operation/agentes/tactical.php: Fixed bug for empty values.

        * godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager_editor_wmi.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor_prediction.php,
        godmode/agentes/alert_manager_editor.php,
        godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/agent_manager.php,
        godmode/modules/manage_network_components_form.php,
        godmode/reporting/map_builder.php, godmode/alerts/plugin.php,
        godmode/alerts/configure_alert.php: Added suppot for inline help.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@909 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 15:46:36 +00:00
Esteban Sanchez f357e3b0c0 2008-06-30 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Removed debug output.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 15:04:42 +00:00
Esteban Sanchez cb9cadd524 2008-06-30 Esteban Sanchez <estebans@artica.es>
* godmode/groups/configure_group.php: Complete rewritten. Use Pandora
        functions and added javascript support.

        * godmode/groups/group_list.php: Rewrite to use Pandora functions.
        Code cleanup.

        * godmode/reporting/map_builder.php: Added width and height support to
        graphics layout items type.

        * godmode/reporting/reporting_builder.php: Style correction.

        * operation/agentes/networkmap.php: Unused code cleanup. Style
        correction. Use hex color codes instead of names, because graphviz was
        complaining about them. Avoid a warning on graphviz about "color" in a
        TD. Replaced lang_label with lang_string(). Show error if map could
        not be generated.

        * operation/reporting/reporting_viewer_pdf.php: Style correction and
        code cleanup.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@907 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 14:54:56 +00:00
slerena bb39747631 2008-06-30 Sancho Lerena <slerena@artica.es>
* agent_manager.php: Agent names are now show in order.

	* functions.php: Added a blank space in Help icon.

	* tactical.php: Added a few links in tactical view.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@906 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 12:34:23 +00:00
Esteban Sanchez 33992fd9e9 2008-06-30 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Renamed get_db_all_rows_sqlfree() to
        get_db_all_rows_sql(). Replaced all occurrences of old function name.

        * general/logon_ok.php, godmode/reporting/reporting_builder.php,
        operation/reporting/reporting_viewer.php, reporting/fgraph.php,
        include/functions_reporting.php: Replaced all occurrences
        ofget_db_all_rows_sqlfree() with get_db_all_rows_sql().

        * include/config_process.php: Do not add a slash to attachment_store 
        config variable.

        * include/functions.php: Style correction.

        * operation/agentes/estado_agente.php: Reduced one indentation level
        by using comprueba_login() propperly.

        * include/javascript/jquery.cluetip.js: Added to repository. jQuery 
        plugin to add cute tips support.

        * images/darrowdown.gif, images/darrowright.gif, images/darrowup.gif,
        images/darrowleft.gif, images/wait.gif, include/styles/cluetip.css: 
        Added to repository. Cute tips styling.

        * operation/agentes/networkmap.php: Added support to pretty tips to
        each node of the network map. Use a variable to define the name of 
        Pandora FMS node (maybe it would be a nice idea to let the user 
        configure it). Added an extra check for file existance when generating  
        the graphic. Use pandora functions in some cases. Style correction.

        * operation/agentes/ver_agente.php: Added AJAX support to get the
        current status of an agent to suit in a tooltip.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-30 08:11:10 +00:00
Esteban Sanchez 39dcecd957 2008-06-26 Esteban Sanchez <estebans@artica.es>
* general/logon_ok.php: Use pandora functions to show last sessions.

        * index.php: Tab and blankspaces style correction.

        * godmode/reporting/map_builder.php: Fixed field name when inserting a
        layout_data. Fixed group icon on list.

        * operation/visual_console/render_view.php: Deleted firebug debug
        which was causing not to work on browsers without that extension.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@900 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-26 14:57:11 +00:00
Esteban Sanchez e28ac09264 2008-06-26 Esteban Sanchez <estebans@artica.es>
* ajax.php: Sed id_user in config array.

	* godmode/menu.php, general/header.php, operation/menu.php: Replaced
	lang_label with lang_string().

	* general/logon_ok.php: Reduced one indentation level.

	* godmode/agentes/agent_manager.php: Replaced lang_label with
	lang_string(). Use pandora functions.

	* include/functions_html.php, godmode/agentes/configurar_agente.php:
	Tab and blankspaces style correction.

	* godmode/reporting/map_builder.php: Complete rewritten to provide an
	intuitive way of build the maps. It's cool, useful and very simple.

	* godmode/reporting/reporting_builder.php: Deleted an output debug.

	* godmode/setup/setup.php: Rewritten to use pandora functions. Added a
	colorpicker for color settings.

	* include/config.php: Reset pandora password. We must solve things
	with this file...

	* include/functions.php: Check if input is an array on safe_input().
	Use filename as id in array returned by list_files().

	* include/functions_db.php: Renamed return_coordinate_* functions.
	Style correction.

	* include/javascript/jquery.js: Updated to 1.2.6.

	* include/javascript/jquery.ui.datepicker.js: Code minimized.
	
	* include/javascript/pandora.js: Style correction.

	* include/javascript/wz_jsgraphics.js: Added a class to the elements
	of a line, so it can be modified using javascript.

	* /include/styles/pandora.css: Added style to some tables dropdowns.
	Added new styles relative to visual map editor.

	* operation/reporting/reporting_viewer.php: Style correction. Added
	jQuery UI.

	* operation/visual_console/index.php: Use Pandora functions.

	* operation/visual_console/render_view.php: Drawing the map is now on
	functions_visual_map.php. Added a countdown if a refresh time is set.
	Use pandora functions. Style correction.

	* reporting/fgraph.php: Style correction. Use graphic_error() if
	there's no data on grafico_modulo_sparse().

	* images/trash.png: Added to repository. Image used on trash area on
	visual map editor.

	* images/console/background/africa.jpg,
	images/console/background/asia.jpg,
	images/console/background/europe.jpg, 
	images/console/background/north_america.jpg, 
	images/console/background/oceania.jpg, 
	images/console/background/shouth_america.jpg, 
	images/console/background/world.jpg: Added to repository. Useful and
	cool map backgrounds.

	* include/functions_visual_map.php: Added to repository. Implements
	visual map functions like drawing the map.

	* include/javascript/jquery.colorpicker.js: Added to repository.
	Implements a color picker widget.

	* /include/javascript/jquery.countdown.js: Added to repository.
	Implements a countdown widget.

	* include/javascript/jquery.ui.core.js: Added to repository. jQuery UI
	core.

	* include/javascript/jquery.ui.draggable.js: Added to repository.
	jQuery draggable plugin.

	* include/javascript/jquery.ui.droppable.js: Added to repository.
	jQuery droppable plugin.

	* include/javascript/pandora_visual_console.js: Added to repository.
	Function useful to visual map interface.

	* include/languages/countdown_*.js: Added to repository. Countdown
	localization.

	* include/languages/date_es_la.js, include/languages/date_gl.js,
	include/languages/time_es_la.js, include/languages/time_gl.js: Added
	to repository. Missing localizations.

	* include/styles/color-picker.css: Added to repository. Colorpicker
	style sheet.

	* include/styles/countdown.css: Added to repository. Countdown style
	sheet.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@899 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-26 13:26:48 +00:00
slerena 104cf0aa06 2008-06-24 Sancho Lerena <slerena@gmail.com>
* include/functions_db.php: Fixed typo.

        * include/languages/language_es_es.php: Too long string fixed.

        * operation/agentes/tactical.php: Div0 fixed.

        * godmode/agentes/agent_disk_conf_editor.php: Check should be done 
        after reading (when updating file, because binary reads don't be afected
        by magic_quotes. This SHOULD fix the problem.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-24 12:28:34 +00:00
slerena 1bd3b7c38a 2008-06-23 Sancho Lerena <slerena@gmail.com>
*  include/functions.php, 
	agent_disk_conf_editor.php: FINALLY, fixed problem with slashes due
	to MAGIC_QUOTES. Some special input will be processed with new 
	function "unsafe_string" that detect MAGIC_QUOTES status and run
	stripslashes over string. Could be interesting to pass over some
	"safe" inputs (on godmode section only), where possible conflicting
	characters like "\" or "" can be passed as parameters.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@895 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 15:50:19 +00:00
slerena 2fdf0e435b 2008-06-23 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql: Removed table "tquicksession". Not ever used.

	* pandoradb_data.sql: Updated Scheme build.

	* agent_manager.php: Removed a debug "echo".

	* db_sanity.php: Added feature to delete id_module 0 modules.

	* 3.png: Added image for AIX in network maps.

	* functions_db.php: Fixed a div0 in return_moduledata_avg_value(). 
	Added server_status() that calculate modules for each server kind,
	and return a consistent LAG calculation.

	* menu.php: Better Server view menu visualization.

	* estado_ultimopaquete.php: Don't show disabled modules anymore.

	* vier_server.php,
	tactical.php: Removed old server status code, and used server_status()
	function to get all data.

	* graph_viewer.php: Added ACL checks for each graph element.

	* fgraph.php: Negative values are now rendered in single graphs.

	* pandoradb*.sql (1.3 to 2.0, and 1.3 to 2.0): Deleted, not working.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@894 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 14:36:22 +00:00
Esteban Sanchez f5a7114a87 2008-06-20 Esteban Sanchez <estebans@artica.es>
* functions_db.php: Fixed get_agents_in_group() to handle "All" group
        properly and make it capable to get disabled agents or not. Style
        correction. Fixed a typo in agent_add_address().

        * godmode/reporting/reporting_builder.php: Use get_agents_in_group()
        to get the agents in the group of the report, specially group "All".
        Added agent and module column to report content list when applies.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-23 11:50:11 +00:00
slerena dc6e7d6fe2 2008-06-19 Sancho Lerena <slerena@gmail.com>
* Fixed some typos.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 16:01:54 +00:00
slerena af5113e0dd 2008-06-19 Sancho Lerena <slerena@gmail.com>
* include/functions_reporting.php
	include/config.php
	include/functions.php
	include/functions_db.php
	operation/agentes/estado_grupo.php
	operation/agentes/estado_agente.php
	operation/agentes/estado_monitores.php
	operation/agentes/tactical.php
	operation/agentes/networkmap.php
	godmode/agentes/module_manager.php
	godmode/agentes/agent_manager.php: Several fixes for module disabled issue



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@884 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 14:34:04 +00:00
Esteban Sanchez 897f5f3ece 2008-06-18 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Added documentation to all the functions
        using javadoc style. Deleted unused and useless functions. Style
        correction. User pandora database functions in functions that getss
        simples values. Replace lang_label with lang_string().

        * include/functions_reporting_pdf.php,
        operation/reporting/reporting_viewer_pdf.php,
        operation/visual_console/render_view.php,
        include/functions_reporting.php: Replaced deprecated functions with 
        equivalents.

        * godmode/agentes/agent_manager.php: Fixed a bug with parent dropdown
        select.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@882 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 13:50:52 +00:00
Esteban Sanchez f42b3c6003 2008-06-18 Esteban Sanchez <estebans@artica.es>
* functions.php: Added documentation to all the functions in JavaDoc
        format, which is an facto-standard. Deleted unused functions. Improved
        the code of some functions. Tab and blankspaces style correction.
        Replaced old lang_label with lang_string(). Some functions to print
        selects were replaced with a functio to get an array with all the
        possible values so the caller will use print_select() with them.

        * godmode/agentes/agent_manager.php: Use print_select() instead of
        deleted function.

        * godmode/agentes/alert_manager_editor.php: Use print_select() instead
        of deleted function. Use print_checkbox(). Style correction

        * godmode/reporting/map_builder.php, operation/agentes/ver_agente.php,
        operation/messages/message.php,
        operation/reporting/reporting_viewer_pdf.php:
        Replaced deleted functions with their equivalents.

        * include/functions_db.php: Documented some functions, some work is
        still required. Added get_reports() to get all the reports a user can
        see. Deleted unused functions. Replaced deleted functions with their
        equivalents. Added get_db_row_sql(), get_previous_data(). Fixed errors
        when calculating average, max, min and sum values of an agent module.

        * include/functions_reporting.php: Fixed errors when calculating SLA.

        * operation/events/events.php: Tab and blankspaces correction.
        Replaced form_priority with print_select(). Style correction.

        * operation/reporting/custom_reporting.php: Show all the reports a
        user can see. Use Pandora functions.

        * operation/reporting/reporting_viewer.php: Show unknown label if SLA
        can not be calculated.

        * operation/snmpconsole/snmp_alert.php: Avoid an extra indentation
        level by using check_login() properly. Tab and blankspaces correction.

        * index.php, operation/users/user_edit.php: Adopted to renamed
        function.

        * godmode/db/db_sanity.php, reporting/fgraph.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@881 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 09:01:12 +00:00
slerena b6e45a9d99 2008-06-18 Sancho Lerena <slerena@gmail.com>
* pandoradbdata_13_to_20.sql: prototype. not functional.

    * operation/events/export_csv.php: Event export to CSV. Support
    passed filters.

    * images/networkmap/*.png: Updated icons for network map.

    * godmode/menu.php,
    * godmode/db/db_sanity.php: New sanity tool for database in interactive
    mode using console (ported from pandora_db.pl).

    * reporting/fgraph.php: Added graphs for string data types. Fixed
    event by agent/module graph for system events.

    * general/logon_ok.php, tactica.php: Fixed a div0.

    * godmode/agentes/manage_config.php: Several fixes, and added a new
    option to mass-deletion of agents.

    * godmode/agentes/agent_manager.php,
    godmode/agentes/modificar_agente.php: Delete of remote configuration
	when delete an agent and manually, by user. 

    * operation/servers/view_server_detail.php: Added refresh option and 
    fixed layout.

    * status_monitor.php: Added new filter by state, most code rewritten.
    Added pagination fixes, and corrected labels and legends.

    * operation/agentes/networkmap.php: Several fixes and modification to 
    render small maps and huge (>200 agents) maps. This should be fine by
    now. Need "Group/Section" drawing /by click into section line/.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-19 00:24:05 +00:00
Esteban Sanchez cfd8d08561 2008-06-17 Esteban Sanchez <estebans@artica.es>
* pandoradb.sql: Drop foreign key of inexistent column.

        * godmode/reporting/reporting_builder.php: Fixed order when deleting a 
        report content. Deleted id_agent reference from treport (local
        inconsistence is the reason why I couldn't see it before), also
        id_user insertion was failing. Added a link to view group on report
        form. Added module column on report content list. Use id_user from
        config object.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@872 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 16:03:33 +00:00
Esteban Sanchez e3dd5b56b9 2008-06-17 Esteban Sanchez <estebans@artica.es>
* godmode/reporting/reporting_builder.php: Changing the group of a
        report is not allowed. It will imply removing all the report contents
        that belongs to an agent of the group. Fixed an error on javascript
        changing the group.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 14:43:15 +00:00
Esteban Sanchez 00b5a1eaec 2008-06-17 Esteban Sanchez <estebans@artica.es>
* ajax.php: Added to repository. AJAX interface for Pandora. A new
	time is coming...

	* pandoradb.sql: Added id_group to treport. A report is now assigned
	to a group of agents. Changes in treport_content to add an order
	field, drop sla fields and use an enum for the type. NOTE: This will
	break all your current defined reports, update under your
	responsabillity. Added table treport_content_sla_combined to define
	SLAs in the SLA types reports.

	* godmode/reporting/graph_builder.php: Use Pandora functions. Adde
	javascript code to display the module icon when changing from the
	dropdown menu.

	* godmode/reporting/reporting_builder.php: Almost complet rewritten to
	use Pandora HTML functions. Style correction.

	* include/functions.php: Added new report types. Style correction.

	* include/functions_db.php: Use Pandora database functions to get
	simple values. Added functions get_agents_in_group(),
	get_modules_in_agent(), get_simple_alerts_in_agent(),
	get_combined_alerts_in_agent(), get_alerts_in_agent(),
	get_monitor_downs_in_period(),
	get_monitor_last_down_timestamp_in_period(),
	get_alert_fires_in_period(),
	get_alert_last_fire_timestamp_in_period(). Deleted debug output and
	fixed calling to an inexistent function in
	return_moduledata_sum_value().

	* include/functions_html.php: Tab style correction. Thanks to Ramon
	for the advice. Fixed some errors on print_table that was causing not
	to work fine if rowclass or colspan was defined.

	* include/functions_reporting.php: Adde date support to
	return_module_SLA(), event_reporting(). Added alert_reporting(),
	monitor_health_reporting(), general_group_reporting() and
	agents_detailed_reporting() to implement new report types. Style
	correction.

	* include/javascript/pandora.js: Added html_entity_decode() function
	to decode some AJAX results.

	* javascript/jquery.js: Added to repository. jQuery version 1.2.4a

	* include/javascript/jquery.timeentry.js: jQuery plugin to manage time
	inputs.

	* include/javascript/jquery.ui.datepicker.js: jQuery plugin to manage
	date inputs in a dropdown calendar.

	* include/languages/date_*.js, include/languages/time_*.js: Added to
	repository. Translation of date and time strings for the new calendar
	javascript support.

	* include/languages/language_en.php: Added new strings relatives to
	reports.

	* include/languages/language_de.php,
	include/languages/language_fr.php, include/languages/language_gl.php,
	include/languages/language_pt_br.php: Fixed a variable name.

	* godmode/groups/group_list.php: Avoid the use of an extra indentation
	by returning if no success on comprueba_login().

	* include/styles/pandora.css: Add some classes. Tab style correction.

	* operation/agentes/ver_agente.php: Added AJAX support to agent
	operations.

	* operation/reporting/graph_viewer.php: Period dropdown selection
	improved and printed with Pandora functions.

	* operation/reporting/reporting_viewer.php: Massive rewritten.
	Implemented date and time support, added new report types, use Pandora
	functions...

	* reporting/fgraph.php: Documentation fix. Added a new graphic to show
	monitors health.

	* godmode/agentes/agent_manager.php,
	operation/reporting/custom_reporting.php: Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-17 14:30:44 +00:00
slerena d135f1334f 2008-06-16 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Updated some new config tokens (graph colors), 
	updated group default names and icons, 

	* manage_config_remote.php, godmode/menu.php: Added new config to 
	manage/copy remote config from one agent to other(s).

	* agent_manager.php: When create a new agent, cannot select group "ALL".

	* agent_template.php: Fixed a weird bug that creates two tagente_estado
	records when using a module template.

	* alert_manager_editor.php: Fixed ACL problem assigning combined alert
	components. Better management of NOP in combined alerts (Automated NOP 
	when create the first component. Added NAND, NXOR y NOR).

	* manage_config.php: Solved some bugs copying configuration with new
	modules (Added support for new module types). Added filter for group and
	fixed ACL problems. Code cleanup and better layout.

	* module_manager_editor_prediction.php: ACL checks added.

	* config_process.php, setup.php: Support to choose color graphs.

	* functions.php: Fixed typo and removed N/A for alerts with min/max = 0
	
	* functions_db.php: Fixed another typo in give_disabled_group(), and added
	feature to list_group() combo to render or now group "ALL".

	* estado_generalagente.php: Added network push button for whole agent.

	* tactical.php: Some minor layout improvement.

	* ver_agente.php: Network FLAG change request for whole group, and fixed
	manual validation on combined alerts.

	* events.php: Event description don't show with " ' "characters. Fixed.

	* fgraph.php: graph_event_module() restored (was missing in last commit),
	added user-defined color support.

	* stat_win.php: Added support to choose another date for graph. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-16 18:09:56 +00:00
slerena 8fbed5f59f 2008-06-13 Sancho Lerena <slerena@gmail.com>
* index.php: Added pure (Fullscreen). HTML code cleanup and user session.
    
    * pandoradb.sql: talert_snmp: Added priority field. 
    
    * pandoradb_data.sql: Changes default values in talerta. tconfig_os, tgrupo
    and some links.
    
    * header.php: Fixed some user session management.
    
    * logon_ok.php: New design for welcome screen, odometer is over.
    
    * menu.php, godmode/menu.php: Some ACL improvements.
    
    * agent_disk_conf_editor.php: Minor fix in view link.
    
    * configurar_agente.php, agent_manager.php: Added parent combo and better
    ACL checks. New remote configuration control for get timestamp info of
    config file.
    
    * modify_alert.php: Changes to use new internal Mail alert.
    
    * config.php: Some items moved to config_process. (font, attachment and 
    default style).
    
    * functions.php: Added form_agent_combo(), form_event_type_combo(),
    form_priority() and return_priority() functions.
    
    * functions_db.php: Added smal_event_table() to render a variable table
    with latest events (filtered).
    
    * pandora.css. Added pure and priority colors.
    
    * estado_alertas.php: Fixed ACL problems.
    
    * stado_generalagente.php: Graph of modules now represents modules that
    has generated events. Old graph is not used anymore. Also display parent.
    
    * estado_grupo.php: Border of boxes is now thicker.
    
    * tactical.php: New screen, almost all code changed. Odometer is not used
    anymore, added some new items, like module LAG meter, module sanity, and
    other general metrics.
    
    * ver_agente.php: Now renders also event for each agent view. Alert manual
    validation generate a new event.
    
    * events.php: New event system. 90% new code. A LOT of new features, 
    including full screen, coloured (by priority) and filters by six fields.
    
    * snmp_alert.php: Added support for alert priority.
    
    * operation/users/user.php: No longer a user with UM privileges could
    see any other user.
    
    * render_view.php: Added fullscreen support for visual maps.
    
    * fgraph.php: Added support for session checking in graphs (at least!).
    New graphics for events (some changed it's function like events by group),
    and feature added to progress GD implementation. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-13 16:59:54 +00:00
slerena 25ef278240 2008-06-09 Sancho Lerena <slerena@gmail.com>
* operation/agentes/status_monitor.php,
        operation/agentes/estado_agente.php: Data was presented for users with
        access to specific groups (fixed also in 1.3.1 branch). Fixed.

        * godmode/users/configure_user.php: Better management of password.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 17:51:18 +00:00
Ramon Novoa 4d702fdf7f 2008-06-09 Ramon Novoa <rnovoa@artica.es>
* pandoradb_data.sql: Added missing parenthesis.
        * include/styles/pandora.css: Added style for the remote configuration
          editor.
        * godmode/agentes/agent_disk_conf_editor.php: Added to repository.
          Remote configuration editor.
        * godmode/agentes/agent_manager.php: Added support to edit remote
          agent configurations.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 13:17:29 +00:00
slerena dcea995ade 2008-06-10 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Updated tevent structure. Added criticity and 
    other important and new fields.

    * pandoradb_data.sql: Added "remote_config" token for setup.

    * setup.php: Added support for token remote_config.

    * config_process.php: Added support for token remote_config.

    * incident_detail.php: Solved small problems in attachment.

    * snmp_view.php: Solved small problems in pagination.

    * fgraph.php: Added support to generate graphs on any interval 
    in time, not only "last XX". Need to implement user interface
    controls to work with it.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@842 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-06-09 10:48:11 +00:00
slerena 71b4261d5d 2008-04-24 Sancho Lerena <slerena@artica.es>
* operation/reporting/reporting_viewer.php,
    operation/reporting/graph_viewer.php
    include/functions_reporting_pdf.php: Render stacked custom graphs.

    * include/styles/pandora_red.css: Improved RED style :-)

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

    * include/languages/language_en.php: Added stacked token.

    * pandoradb.sql: Added field "stacked" to custom graphs.

    * images/backgrounds/background_red.gif: Added cool background ;)

    * reporting/fgraph.php: stacked custom graph support.

    * godmode/db/db_main.php: Uses new config tokens.

    * godmode/db/db_purge.php: Works also with "all" agents (like 1.1)

    * godmode/reporting/graph_builder.php: Able to define stacked or not.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@819 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-23 23:29:50 +00:00
slerena d7ec1d3bcf 2008-04-24 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Added several modules by Guguevi.

        * operation/events/events_rss.php: Added RSS events page, contributed
        by guruevi.

        * manage_network_components_form.php, 
        manage_network_templates_form.php,
        modules/manage_network_components.php: Combos are classified by name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-23 20:51:37 +00:00
slerena 860b09a01d 2008-04-23 Sancho Lerena <slerena@artica.es>
* include/functions_reporting_pdf.php: New functions for PDF reporting.

        * include/functions_reporting.php: Fixed alert & event reporting.

        * include/functions_db.php: Fixed function give_db_value. Also       
        label_string now don't show ][ characters.

        * include/pdf: Added ezpdf class to generate PDF reports.

        * operation/reporting/reporting_viewer.php,
        operation/reporting/custom_reporting.php: A few fixes on         
        reporting (event viewer, combined graph...)

        * operation/reporting/reporting_viewer_pdf.php: render 
        report on PDF.

        * images/pdf.gif: PDF Icon.

        * images/pandora_logo.jpg: JPG logo for PDF reports (header).

        * godmode/agentes/module_manager_editor_plugin.php: Added
        plugin port field (was missing).

        * godmode/reporting/reporting_builder.php: Fixed problem
        with event reporting type.

        * godmode/alerts/plugin.php: Added plugin editor.

        * godmode/menu.php: Added plugin editor to menu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@816 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-23 20:01:37 +00:00
slerena db55685399 2008-04-17 Sancho Lerena <slerena@artica.es>
* include/functions_db.php: Fixed problem in show_alert_row_mini()

    * operation/agentes/status_monitor.php: Almost all code changed.
    Added pagination, replaced query for a paginated version and a lot
    more efficient. Added freetext search on name / description of 
    monitors.

    * operation/agentes/estado_ultimopaquete.php: Fixed problem with
    refresh / push buttons on data server modules.

    * godmode/admin_access_logs.php: Fixed several problems. Added a 
    better pagination.

    * godmode/agentes/module_manager_editor.php,
    godmode/agentes/module_manager_editor_network.php: When pushed 
    SNMP walk, lost all fields. Fixed. Also fixed problems with min/max.
    
    * godmode/agentes/module_manager_editor_data.php,
    godmode/agentes/module_manager_editor_wmi.php,
    godmode/agentes/module_manager_editor_plugin.php
    godmode/agentes/module_manager_editor_prediction.php: Fixed problems
    with inverted max/min.

    * godmode/agentes/configurar_agente.php: Keepalive modules now are
    from id_module=1 (data server). before was type 0 and that gives a lot
    of problems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-17 15:27:25 +00:00
slerena 017cc97354 2008-04-10 Sancho Lerena <slerena@artica.es>
* godmode/agentes/configurar_agente.php: Fixe problem with server
        assigment in creation mode.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-10 14:07:42 +00:00
slerena 4698c1d102 2008-04-10 Sancho Lerena <slerena@artica.es>
* godmode/agentes/alert_manager.php, godmode/agentes/configurar_agente.php,
        godmode/agentes/alert_manager_editor.php: Fixed problem with combined alert
        editor. Tested and works fine for me.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-10 14:00:50 +00:00
jorgonzalez 912985ac38 2006-04-07 Jorge Gonzalez <jorge.gonzalez@artica.es>
* godmode/agentes/agent_template.php,
        godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager_editor_wmi.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor.php,
        godmode/agentes/module_manager_editor_prediction.php: Removed warning
        messages, and fixed mdoule_type errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-07 14:18:42 +00:00
jorgonzalez a29b65eacd 2008-04-04 Jorge Gonzalez <jorge.gonzalez@artica.es>
* godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager_editor_wmi.php,
        godmode/agentes/configurar_agente.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor_prediction.php: Removed warning
        messages due a lack of a variable in configurar_agente.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@793 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-04 11:40:28 +00:00
jorgonzalez a62c8ae61a 2008-04-03 Jorge Gonzalez <jo[Brge.gonzalez@artica.es>
* include/functions_db.php: New functions added to handle plugins and
        export servers.

        * include/languages/language_en.php: Updated English translation file.

        * general/header.php: Updated header.

        * godmode/agentes/manage_config.php,
        godmode/agentes/module_manager_editor_data.php,
        godmode/agentes/module_manager_editor_network.php,
        godmode/agentes/module_manager.php,
        godmode/agentes/modificar_agente.php,
        godmode/agentes/module_manager_editor_wmi.php,
        godmode/agentes/configurar_agente.php,
        godmode/agentes/module_manager_editor_plugin.php,
        godmode/agentes/module_manager_editor.php,
        godmode/agentes/module_manager_editor_prediction.php,
        godmode/agentes/agent_manager.php, godmode/modules/module_list.php:
        Added infrastructure to add/edit modules.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@792 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-03 16:52:11 +00:00
slerena 9855c65076 2008-04-03 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: IA to prediction in description.

    * pandoradb.sql: Added priority to alert and custom recovery fields.

    * include/styles/tip.css, include/styles/pandora.css: New styles
    for tooltip info (combined and alerts) and some changes in frames for
    agent management / view.

    * include/functions_db.php: Added check_server_status() function to check
    from console server status. If in 15 minutes there is no updated keepalive
    from any server, they will be marked as down. And function return down. 
    This function is now called on each page. Added funtions to display alert
    status in a tooltip.

    * include/languages/language_en.php: More strings.

    * include/functions.php: Added several funtions to simplify alert report.

    * operation/agentes/estado_alertas.php: Updated. Shows also combined 
    alerts and give a lot of information in different tooltips.

    * operation/agentes/estado_ultimopaquete.php: Clean blank spaces in URL.

    * operation/agentes/estado_monitores.php: now is possible to force a
    module refresh from main view.

    * operation/agentes/ver_agente.php: Tab has been upgraded.

    * images/mod_data.png,
      images/mod_data_inc.png
      images/mod_proc.png
      images/mod_keepalive.png
      images/mod_string.png: Added new type icons and updated old ones.

    * general/header.php: Global check for servers and autorefresh control.

    * godmode/agentes/alert_manager.php: New alert management for combined
    alerts, visualization, etc.

    * godmode/agentes/configurar_agente.php: Included new alert management.

    * godmode/agentes/alert_manager_editor.php: New alert management editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-03 15:43:34 +00:00
slerena 5d9b702454 2008-04-01 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Alert type 0 is not 1. 1-3 are reserved. Removed 
    prediction module (nosense since it uses normal modules).

    * include/functions_db.php: Added wrapper give_db_value to get_db_value
    because A LOT of code uses old syntax and this makes too many errors.

    * include/functions.php: Fixed pagination issues with blocksize config.

    * pandoradb.sql: Change alert command lenght and added some comments
    for future implementation of alert criticity and others.
 
    * operation/incidents/incident.php: Fixed some bugs calling to old
    funcions / variables.

    * operation/events/events.php: Fixed some bugs calling to old
    funcions / variables. Removed graph and simplified header.

    * operation/agentes/estado_alertas.php: Changed get_db_value call
    and removed (Raul) button to create alert from here.

    * operation/agentes/estado_grupo.php: Implemented support for optional
    view of down modules and fired alerts.

    * operation/agentes/ver_agente.php, 
    operation/agentes/datos_agente.php: Uses of new get_db_value and
    new session id variable.
    
    * images/mod_async_string.png: Added image.

    * images/mod_async_inc.png: Added image.

    * images/mod_image_png.png: Added image.

    * images/mod_async_data.png: Added image.

    * images/mod_async_proc.png: Added image.

    * images/mod_image_jpg.png: Added image.

    * godmode/setup/setup.php: Several fixes.

    * godmode/agentes/alert_manager.php: Several changes for new alert manager. 
    Not finished. Interim commit.

    * godmode/agentes/configurar_agente.php: More changes needed to alert editor.

    * godmode/agentes/alert_manager_editor.php: New file for alert management.

    * godmode/modules/module_list.php: Some updates, removed invalid column.

    * godmode/alerts/modify_alert.php: Alert types < 4 cannot be modified (this
    includes combined, internal audit and Pandora FMS log).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-04-01 13:53:11 +00:00
slerena 01e41b1710 2008-03-13 Sancho Lerena <slerena@gmail.com>
* include/functions_db.php: Added show_server_type (): Return a string
        containing image tag for a given target id. Updated some generic db
        access calls to new function names.

        * pandoradb.sql: Removed unused field.

        * operation/agentes/estado_generalagente.php: Some fixes for new schema

        * reporting/stat_win.php: Uses new $config hash.

        * godmode/agentes/module_manager.php: Some fixes. Added visualization
        for module type (by server type).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-13 18:57:21 +00:00
slerena 0f60a3f6ca 2008-03-06 Sancho Lerena <slerena@gmail.com>
Pandora FMS 2.0 development first commit. 1.4 version is now 2.0

        * pandoradb_data.sql: Added correct tnetwork_components, fixed
        ttipo_modulo (categoria values).

        * include/styles/pandora.css: Added some server icons, tab style
        for module editor has been improved.

        * include/functions_db.php: added new functions, lang_string and
        check_login, and a first review of several functions that currently
        need change for new config session parameters in array $config[]

        * include/javascript/pandora.js: Added a new global include for
        spare javascript functions before included into a few pages.

        * include/languages/language_en.php: New tokens.

        * include/help*: New contextual help system.

        * include/config_process.php: New way to manage config.

        * include/functions.php: Added new functions to manage global

        * operation/agentes/estado_ultimopaquete.php: removed old javascript
        code from there.

        * operation/agentes/estado_agente.php: Removed references to deprecated
        field "agent_type".

        * operation/agentes/tactical.php: Some code cleanup and progressbar 
        issues merged from 1.3.1 branch. Need to add support to new server 
        types and new module types.

        * operation/servers/view_server.php: Added support to new servers, code
        cleanup.

        * reporting/fgraph.php: Code cleanup, changes to use new config method,
        and a lot of style change. 

        * general/pandora_help.php: New source for contextual help in the way 
        of moodle.

        * general/footer.php, general/noaccess.php: Code cleanup and uses of
         new config.

        * module_manager_editor: New editors for each module family. Need
         finish and implement EDITION of data, now only inserts data.

        * godmode/agentes/agent_manager.php: Implemented new server assigment
         and edition. 

        * godmode/agentes/configurar_agente.php: Small changes that affects 
        module management, visualization and agent management.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-03-07 16:22:16 +00:00
slerena a516087894 2008-02-21 Sancho Lerena <slerena@gmail.com>
* Added new structures for predictive module, plugin server, and other
        planned functionalities for 1.4.x version.

        * Merged code from 1.3.1 branch.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-21 15:16:54 +00:00
raulmateos 35a2d92409 2008-02-11 Raul Mateos <raulofpandora@gmail.com>
* pandora_console/godmode/agentes/module_manager.php: Closed some html tags. Added title for the action icons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-02-10 23:15:46 +00:00
slerena 38a03d9978 2008-01-10 Sancho Lerena <slerena@gmail.com>
Code merged from 1.3.1 branch:

        * functions_db.php: Some changes in future generic SQL interface access.

        * pandora_console/include/functions.php: Added generic acces to HTTP 
        parameters.

        * status_monitor.php: Fixed problems detected by Pierre Gaxatte.

        * estado_agente.php: Fixed the same kind of problems (ACL / Group acces)
        and added a Agent search field as request by J.Corona.

        * tactical.php: Rename of generic SQL function access.
        
        * view_server.php: Rename of generic SQL function access.

        * modificar_agente.php: Fixed some render problems, added a Agent search
        option and better formatting.

        * configurar_agente.php: New management for KeepAlive module.

        New code for 1.4 development branch (trunk)

        * pandoradbdata_13_to_14.sql: Migration SQL (data) code from 1.3 to 1.4

        * pandoradb_13_to_14.sql: Migration SQL (schema) code frrom 1.3 to 1.4

        * pandoradb_data.sql: Modified code to fresh install SQL data.

        * pandoradb.sql: Modified code to fresh install SQL schema.

        * index.php,
        * install.php: new version info.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@700 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-01-10 16:40:00 +00:00
slerena 6586e86d59 2008-01-08 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Added keep_alive as module id 100 for the new keepalive
        management. Old way (from 1.2) is now deprecated and not used.

        * operation/agentes/estado_agente.php: Style changes, not code.

        * images/mod_keepalive.png: Added new icon for keepalive moduletype.

        * godmode/agentes/configurar_agente.php: Create an agent creates automatically 
        a keepalive module AND a tagente_estado record.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-01-08 18:49:39 +00:00
raulmateos 7afeecf3a6 2007-10-14 Raul Mateos <raulofpandora@gmail.com>
* godmode/modules/manage_network_components.php: Added deleted table row.
	* include/languages/*.php: Removed duplicated lines. Updated some
	languages.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@676 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-14 11:09:20 +00:00
raulmateos 1ded01bd35 2007-10-13 Raul Mateos <raulofpandora@gmail.com>
* styles/op.css, god.css, link.css: Simplify styles.

	* godmode/menu.php: removed unused class.

	* operation/menu.php: Updated license header.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@675 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-13 21:23:44 +00:00
raulmateos a932b1eba7 2007-10-13 Raul Mateos <raulofpandora@gmail.com>
* operation/incidents/indicent_statistics.php: Added vertical align to images.

	* languages/language_es_es.php: Solved small text typo.

	* godmode/modules/manage_network_components.php: Add text filter and improved

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-13 21:00:40 +00:00
raulmateos 1089ca6365 2007-10-12 Raul Mateos <raulofpandora@gmail.com>
* Near ALL php: Removed remaining help icons. Closed some HTML tags.

	* index.php, include/config.inc.php: Updated build.

	* languages/*.php: Added text for "Logs".

	* godmode/admin_access_logs.php: Solved small visual error with
filter. Added Logs text.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@673 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-12 16:27:50 +00:00
slerena 196066ec07 2007-10-09 Sancho Lerena <slerena@gmail.com>
* operation/reporting/reporting_viewer.php: Fixed small bug mixing min/max values of SLA render.

        * godmode/reporting/reporting_builder.php: Fixed small bug deleting item from report, that
        return user to another report.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@671 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-10-09 14:18:03 +00:00
marostegui 1192e5fb85 2007-09-27 Manuel Arostegui <marostegui@artica.es>
* operation/events/events.php: Fixed some problems
         similar to bug #1801301.

       * godmode/agentes/modificar_agente.php: Fixed some problems
         similar to bug #180130.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-27 15:12:49 +00:00
slerena 877dbf94cc 2007-09-20 Sancho Lerena <slerena@gmail.com>
* view_server.php, tactical.php: Solved bug in lagcheck for down modules.

        * godmode/agentes/manage_config.php: Agent ordered by name in destination box.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-21 12:31:22 +00:00
raulmateos 7b57809619 2007-09-08 Raul Mateos <raulofpandora@gmail.com>
* include/languages/language_en.php, language_es_es.php: Add two 
	new texts.

	* general/error_*.php: Changed default HTML encoding to UTF-8.

	* operation/agentes/estadogeneralagente.php: Removed function
	in label that causes some problems with UTF-8 texts.
	
	* index.php: Updated build, version and set develop pass to 1.

	* godmode/agentes/configurar_agente.php: Changed strings from code
	to language includes.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-09-08 18:05:06 +00:00
slerena 9da5e1890a 2007-08-30 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Added spanish (es_es) to available languages.

        * include/languages/language_es_es.php: Added new strings for 1.3

        * include/languages/extract_newlines.sh: (DEV) script to get new strings, comparing two
        language files. It should be used only by translators and developers.

        * include/languages/language_en.php: Updated english language with some missing (was encoded
        in code) strings.

        * godmode/setup/setup.php: Fix a bug when selecting special style "pandora_minimal". Added a
        code check

        * godmode/modules/manage_network_templates_form.php: Fixed some "inline" text labels.

        * godmode/reporting/graph_builder.php: Fixed some "inline" texts.

        THIS IS FINAL COMMIT BEFORE PANDORA FMS 1.3 BETA2



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@638 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-30 10:49:50 +00:00
slerena 4018dd6991 2007-08-27 Sancho Lerena <slerena@artica.es>
* operation/agentes/ver_agente.php: Truncated too long agent names.

        * operation/agentes/tactical.php: Fixed BUG: not initializated modules are now
        correctly viewed.

        * godmode/agentes/manage_config.php: Fixed BUG: copying modules also create
        status record and some minor issues with visualization.

        * godmode/agentes/configurar_agente.php: Truncated too long agent names.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-28 13:33:54 +00:00
slerena 42682789ad 2007-08-23 Sancho Lerena <slerena@gmail.com>
* pandoradbdata_12_to_13.sql, pandoradb_data.sql: Fixed some problems with
        network components, and network templates.

        * README: Updated doc with Guick Install Guide.

        * godmode/agentes/agent_template.php: Fixed BUG #1770888.

        * godmode/agentes/configurar_agente.php: Fixed BUG# 1770895.

        * godmode/agentes/agent_manager.php: Fixed BUG# 1770895 and other new bug not
        identified when creating an agent and try to access some items.

Probably last commit before Beta2....



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-23 15:52:42 +00:00
slerena 0590bc5aee 2007-08-06 Sancho Lerena <slerena@gmail.com>
* pandoradb.sql, alert_manager.php: Alert time support uses TIME format
        instead numeric (changes requested by esanchezm).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@593 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-06 15:50:05 +00:00
slerena ee68300c5e 2007-08-06 Sancho Lerena <slerena@artica.es>
* include/functions_db.php: Fixed unsorted render (E.Ross).

        * index.php: Several fixes from E.Ross and me (HTTP port, REFR bug
        #1756143).

        * status_monitor.php: Small fixes for SQL sentences (E.Ross).

        * estado_grupo.php: Small fixes for SQL sentnces (E.Ross).

        * estado_ultimopaquete.php: Fix to use boolean graph from E.Ross.

        * fgraph.php: Use simplified version of sparse to make a more
        quick and simplified version of graph, useful for Boolean types
        (E.Ross).

        * stat_win.php: Fixed problem with resizing (E.Ross).

        * godmode/groups/configure_group.php: Fixed code for Non-dependant
        groups (E.Ross).

        * login_page.php: Fixes for non 80 HTTP port (E.Ross).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-08-06 11:44:49 +00:00
slerena c292246b61 2007-07-28 Sancho Lerena <slerena@artica.es>
* include/functions_db.php: Added return_status_layout() function to fix
        problem in Visual Console, now recursive status of linked layouts works (Xavi)

        * install.php: Add more warnings about Database destroy (Dagget)

        * operation/visual_console/render_view.php: Fixed code to get recursive
        status of linked layouts (Xavi).

        * operation/agentes/estado_alertas.php: Fixed layout of lights. Much
        more visible for operators using large screens (Javier Carranza).

        * operation/agentes/status_monitor.php: Fixed layout of lights. Much
        more visible for operators using large screens (Javier Carranza).

        * operation/agentes/estado_monitores.php: Fixed layout of lights. Much
        more visible for operators using large screens (Javier Carranza).

        * operation/agentes/estado_agente.php: Fixed layout of lights. Much
        more visible for operators using large screens (Javier Carranza).

        * images/pixel_*.png: Added for use in previous fixes.

        * reporting/fgraph.php: Fixed problem with generic_pie without data.

        * godmode/reporting/map_builder.php: Fixed problem (annoy feature) reported
        in lists (I cannot remember the name, sorry guy). Now modules expands by default



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-28 18:11:48 +00:00
slerena 6a64b81dda 2007-07-23 Sancho Lerena <slerena@artica.es>
* reporting/fgraph.php: Fixed problem in db information graphs due a
        problem checking height and getting data on orphan data modules.

        * godmode/db/db_purge.php: Fixed notice warning for ob_fush() call.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-23 11:02:31 +00:00
slerena ebea2549da 2007-07-19 Sancho Lerena <slerena@artica.es>
* godmode/agentes/agent_manager.php: Fixed problems not really
	fixed in commit 563 (bug 1744913).

	* operation/servers/view_server.php: Fixed Data information are
	now more accurate (before get incorrect data for data server).

	* operation/agentes/tactical.php: Fixed the same that above and
	fixed total nomber of modules for data server that was 0 always :(



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-19 19:03:37 +00:00
slerena 28cf81035e 2007-07-16 Sancho Lerena <slerena@gmail.com>
* include/functions_db.php: Bugfix; list_group and list_group2 funtions
        now include all group in result. All group recheck should be done inside code, not in
        this function.

        * operation/agentes/estado_grupo.php: Fixed bug with ALL group.

        * operation/agentes/estado_monitores.php: Bugfix, Now show only initialized modules.

        * operation/agentes/estado_agente.php: Bugfixed, "All" group problem,
        and agent names are truncated if > 18 chars.

        * operation/agentes/tactical.php: Bugfixed, now calculates LAG and module
        count properly.

        * operation/servers/view_server.php: Bugfixed, now calculates LAG and module
        count properly.

        * reporting/fgraph.php: Bugfix: Renamed static problem image.

        *  godmode/agentes/configurar_agente.php: Bugfix, agent address management
        in manual creation.

        * godmode/agentes/agent_manager.php: Bugfix, #1744913 (show icon in creation)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-16 18:47:39 +00:00
slerena 1740364144 2007-07-13 Sancho Lerena <slerena@artica.es>
* pandora_console/godmode/agentes/configurar_agente.php: Fixed
        problem when creating manually an agent: does not create IP
        address in tadress table, so Recon Server create again system with
        the same IP.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-13 10:34:00 +00:00
raulmateos 788bdcd4e0 2007-07-01 Raul Mateos <raulofpandora@gmail.com>
* images/*.gif: Deteled last .gif images
	* images/pandora_lupa.png, noaccess.png: New files.
	* general/logon_failed.php, noaccess.php: changed gif to png
	* include/functions.php: changed gif to png
	* godmode/user_list.php: Solved small visual error with tip
	* godmode/modules/manage_network_templates.php: Reduced table width when
	no modules are defined.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-07-01 14:15:47 +00:00
raulmateos d0466cfe11 2007-06-27 Raul Mateos <raulofpandora@gmail.com>
* include/sytles/*.css: Updated "gif" references to the "png" refs.
	* include/language/language_en.php: Updated text.
	* images/*: Removed near all .gif files and created .png
	* operation/*.php, godmode/*.php, *.sql: 
	Updated gif references to .png
	* install.php: Added feature request 1744237
	* index.php, operation/agentes/exportdata.php: Moved calendar jscript
	from index to exportdata

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@546 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-27 17:45:42 +00:00
slerena 63d2e1ccfa 2007-06-22 Sancho Lerena <slerena@artica.es>
This commit should finish Pandora FMS Console 1.3 beta 1 :-)

        * pandoradb_data.sql: Added default news for new instalation.

        * include/styles/op.css: Changed icon for Visual Console.

        * include/config.inc.php: Some minimal changes for skeleton.

        * include/languages/language_en.php: Added final strings (hope!).

        * index.php: Adjusted some issues for production.

        * operation/incidents/incident_statistics.php: Added titles.

        * operation/events/event_statistics.php: Added titles.

        * operation/agentes/tactical.php: DivZero bug fixed.

        * images/image_problem.png: Updated image with new logo.

        * reporting/fgraph.php: Added generic_bar_graph and, at least, no
        more jpgraph graph usage !. All graphs are using GD/Pear Graph
        now.

        * general/logon_ok.php: Fixed the same bug that in tactical.

        * godmode/db/db_info.php: Added titles.

        * godmode/db/db_purge.php: Now render detailed info in graph for
        each agent selected.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-22 12:00:04 +00:00
raulmateos 065b7d7043 2007-06-22 Raul Mateos <raulofpandora@gmail.com>
* operation/reporting/*.php: Added code to show text
	if no reporting defined.
	* operation/menu.php: Added code to highlight custom reporting
	if selected.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-22 08:10:56 +00:00
raulmateos f20d641d9e 2007-06-22 Raul Mateos <raulofpandora@gmail.com>
* include/languages/language_en.php: More strings.
	* pandoradb_data.sql: Solved small problem with language strings.
	* operation/visual_console/index.php: Added code to show
	text if no layout defined.
	* godmode/reporting/*builder.php: Added code to show text
	if no reporting defined.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-22 07:25:15 +00:00
slerena 91b03f2aed 2007-06-21 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: More strings.

        * include/functions.php: entrada_limpia() should work fine in UTF8.

        * operation/incidents/incident.php: Fixed many ugly things.

        * operation/incidents/incident_detail.php: Fixed many ugly things.

        * operation/incidents/incident_note.php: Fixed many ugly things.

        * operation/events/event_statistics.php: Fixed graphs.

        * operation/events/events.php: Fixed some legend position and header.

        * operation/agentes/tactical.php: Fixed divzero error.

        * operation/menu.php: SNMP Alert not shown to normal users anymore.

        * reporting/Image/Canvas/GD.php: Added errorlevel setting to 0
        (disable warnings for graphs).

        * reporting/fgraph.php: MANY graphs migrated from jpgraph to peargraph.

        * general/header.php: More width for header information.

        * godmode/admin_access_logs.php: Added graph to header.

        * godmode/reporting/map_builder.php: Removed debug stuff



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-21 18:58:35 +00:00
raulmateos bd6c70165e 2007-06-21 Sancho Lerena <slerena@artica.es>
* images/op*.gif, god*.gif: deleted. Also deleted several other
	GIF files.
	* images/god*.png: New png files in godmode icons.
	* include/sytles/god.css, op.css: Changed to new .png icons.
	* help/*, general/error*.php: Changed old .gif logo to new .png logo.
	* godmode/reporting/map_builder.php: Changed cancel.gif to cross.png.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-21 17:55:26 +00:00
slerena ff334cefc8 2007-06-21 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: More new tokens added.

        * include/functions.php: Added function render time for alert time
        limiters format (multiplier of 30).

        * pandoradb.sql: Added support for alert time limiters format.

        * operation/visual_console/render_view.php: Added support for
        single lines a few fixes.

        * images/console/background/globalmap.jpg: Nice world background.

        * images/console/icons/computer.png: Added new icon for workstation.

        * godmode/agentes/configurar_agente.ph,
        godmode/agentes/alert_manager.php: Added support for alert time
        limiters.

        * godmode/reporting/map_builder.php: Tool to build/manage maps
        elements. Finished!.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-21 15:48:47 +00:00
raulmateos 0ebc5db0ac 2007-06-17 Raul Mateos <raulofpandora@gmail.com>
* Updated files not updated last commit

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@520 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-17 15:06:36 +00:00
slerena b063fcbb07 2007-06-17 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: Just a few words added.

        * pandoradb.sql: Added disable field for alerts.

        * operation/agentes/estado_alertas.php: Show disabled alerts.

        * godmode/agentes/configurar_agente.php,
        godmode/agentes/alert_manager.php: Allow to disable individual
        alerts.

        * godmode/reporting/map_builder.php: First version of map
        builder. It doesnt work yet, but has some features implemented.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-17 10:34:39 +00:00
raulmateos 665de5139d 2007-06-16 Raul Mateos <raulofpandora@gmail.com>
* godmode/menu.php: Updated component groups highlight.
	* operation/snmpconsole/*.php, general/logon_ok.php,
	godmode/db/db_info_data.php, godmode/servers/manage_recontask.php,
	godmode/servers/modificar_server.php, operation/agentes/exportdata.php:
	Removed old raya style and changed to new style. 
	Closed hundreds of unclosed html tags (review W3C standards)
	* operation/servers/view_server.php, godmode/reporting/graph_builder.php:
	Closed html tags.
	* include/styles/pandora.css: Deleted definetely raya style.
	* include/styles/tip.css: Updated tip2 style to datos2 colour.
	* godmode/alerts/configure_alert.php, godmode/modules/manage*form.php:
	Changed databox style to databox_color

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-16 16:04:01 +00:00
raulmateos 6ee4f1ec09 2007-06-13 Raul Mateos <raulofpandora@gmail.com>
* godmode/menu.php, operation/menu.php, include/pandora.css, include/op.css,
	include/god.css: Updated with styles to avoid top and bottom border.
	* godmode/groups/group_list.php, godmode/users/*.php, operation/users/*.php,
	godmode/servers/*.php, operation/snmpconsole/snmp_alert.php, 
	godmode/reporting/map_builder.php, operation/messages/message.php:
	Removed old raya style and changed to new style.
	* include/languages/language_en.php: Changed some typing error.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-13 19:14:05 +00:00
slerena b3fad7dbd4 2007-06-12 Sancho Lerena <slerena@artica.es>
* include/functions_reporting.php: Added event reporting and alert
        reporting items for user reports. Now user reports is fully
        operative !

        * include/functions.php: Added new function to manage human
        strings datetime timestamps with differences.

        * index.php: UTF-8 is now the codeset by default, also a few
        comments adjusted, included last version number, now in index.php

        * operation/events/events.php: More minor adjusts in HTML.

        * operation/agentes/estado_alertas.php,
        operation/agentes/status_monitor.php
        operation/agentes/estado_agente.php: Agent names are in UPPERCASE
        and other minor adjustements.

        * operation/messages/message.php: Fixed code, now uses table
        styles and more width. Fixes many table endings !!

        * operation/reporting/reporting_viewer.php: Finished.

        * operation/menu.php: Removed old agent statistics from menu.

        * general/logon_ok.php: Better render of new messages. News shown
        by timestamp order.

        * godmode/agentes/modificar_agente.php: Agent name in uppercase.

        * godmode/agentes/alert_manager.php: Threshold timestamp now uses
        better function to do this.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@505 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-12 18:10:57 +00:00
slerena e147922f36 2007-06-12 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: New text

        * include/functions.php: Now all functions to render timeframes
        are using lang_label variable, some small adjustements and fixes.

        * operation/agentes/status_monitor.php,
        operation/agentes/estado_alertas.php,
        operation/agentes/estado_ultimopaquete.php: A lot of many small
        fixes and improvements on render output for all timestamp fields.

        * operation/agentes/exportdata.php: Now predefine last 24
        hours. Fixed a bad combo (too small).

        * operation/agentes/estado_monitores.php
        operation/reporting/reporting_viewer.php
        operation/reporting/graph_viewer.php reporting/stat_win.php
        general/logon_ok.php godmode/agentes/alert_manager.php
        godmode/reporting/reporting_builder.php
        godmode/reporting/graph_builder.php: A lot of many small fixes and
        improvements on render output for all timestamp fields and in
        MIN/MAX, small icons for module types, and things like that.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-12 11:57:03 +00:00
slerena 7e25051712 2007-06-09 Sancho Lerena <slerena@artica.es>
* include/functions.php: Solved decimals problem in format_numeric() function

        * operation/agentes/tactical.php: General indicator formula improvement.

        * general/logon_ok.php: Tactical ODO graph update (the same that above).

        * godmode/agentes/manage_config.php: Select list too small, bad render fixed.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-10 13:19:27 +00:00
slerena 225e3c4ba7 2007-06-08 Sancho Lerena <slerena@artica.es>
* Some small/minor fixes.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-08 16:05:37 +00:00
slerena effc9b3c70 2007-06-08 Sancho Lerena <slerena@artica.es>
* include/languages/language_en.php: New strings

        * include/functions_reporting.php: Added generic function to parse
        information of all monitors / data checks for statistical usage in
        several sections of console.

        * pandoradb.sql: Updated field "timestamp" of tnews table.

        * operation/agentes/estado_grupo.php: Better management of unknown
        monitors, this should fix odd behaviour detected.

        * operation/agentes/tactical.php: New tactical view.

        * operation/menu.php: New option for group view and
        tactical. Default option now is tactical view.

        * images/backgrounds/background4.jpg: Updated background.

        * reporting/Image/Graph/Plot/Odo.php: Fixed warning in original code.

        * reporting/Image/Canvas/GD.php: Again playing with canvas options.

        * reporting/fgraph.php: New odo graph.

        * general/logon_ok.php: New welcome screen :-)

        * godmode/setup/news.php: New news manager.

        * godmode/reporting/map_builder.php: Future map/visual console
        editor, not ready yet.

        * godmode/menu.php: Updated a few options.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@498 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-08 15:55:53 +00:00
raulmateos d57d19c4df 2007-06-08 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/graph_builder.php: Small change in headers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@497 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-08 10:22:44 +00:00
raulmateos 25d034fe61 2007-06-08 Raul Mateos <raulofpandora@gmail.com>
* godmode/reporting/graph_builder.php: Updated text styles.
	* operation/agentes/datos_agente.php: Updated table length and delete text.
	* godmode/modules/manage_network_templates_form.php: Updated with new table style.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@496 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-08 10:12:57 +00:00
raulmateos 3697ee4c57 2007-06-08 Raul Mateos <raulofpandora@gmail.com>
* include/styles/god.css: Updated god51.
	* include/languages/language_en.php: Updated.
	* operation/reporting/custom_reporting, operation/users/user.php,
	godmode/agentes/module_manager.php, godmode/users/configure_user.php,
	godmode/reporting/reporting_builder.php: Updated with new table style.
	* images/reporting_edit.png: Added icon for creating reports in 
	administration mode.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-08 09:28:47 +00:00
slerena 47579d155d 2007-06-07 Sancho Lerena <slerena@artica.es>
* include/styles/god.css: Added god51 (reporting).

        * include/styles/pandora.css: Added h4 (for reporting).

        * include/functions_db.php:

        * include/functions_reporting.php: Reporting functions should be
        here. Now is SLA, tomorrow will be more ;)

        * include/functions.php: Added generic POST/GET parameter
        management, and a few functions to mangle dates.

        * pandoradb.sql: A few changes on treport_content table.

        * operation/agentes/datos_agente.php: Added option to delete
        individual data from here. Useful to purge bad data.

        * operation/reporting/reporting_viewer.php: New report viewer on
        HTML.

        * operation/reporting/custom_reporting.php: Moved.

        * operation/reporting/graph_builder.php: Moved to godmode
        directory.

        * operation/menu.php: Added few options and removed other
        (Reporting)

        * reporting/fgraph.php: Few changes to use graphs in reports
        without titles.

        * godmode/reporting: Added.

        * godmode/reporting/reporting_builder.php: The Pandora FMS report
        editor :-)

        * godmode/reporting/graph_builder.php: Graph builder almost done,
        only a few bugs to finish.

        * godmode/menu.php: New reporting options in godmode menu.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@494 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-07 17:46:38 +00:00
raulmateos 016aab6d1d 2007-06-06 Raul Mateos <raulofpandora@gmail.com>
* images/copy.png: New icon for copy data.
	* include/styles/pandora.css: Added style for copy icon.
	* include/languages/language_en.php: Added template text.
	* godmode/agentes/agent_template.php, manage_config.php: Updated with new
	table styles. Updated texts and closed html tags.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@489 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-06 17:48:08 +00:00
raulmateos 97f34e6585 2007-06-06 Raul Mateos <raulofpandora@gmail.com>
* godmode/*.php: Closed a lot of unclosed html tags. Updated near all of
	files with new table style.
	* godmode/agentes/alert_manager.php: Solved stupid bugs added some days
	ago due to an unclosed html tag.
	* images/groups_small/applications.png: New icon for applications group.
	* pandoradb_data.sql: Updated default applications icon name.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-06-06 16:23:24 +00:00
raulmateos d57da3ddad 2007-05-28 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css, pandora_red.css: New style with icon
	for search.
	* include/languages/*.php: New string for alert updating.
	* godmode/agentes/*.php: Updated h2 headers.
	* operation/agentes/estado_alertas.php, estado_monitores.php,
	estado_ultimopaquete.php: Updated h2 headers. Added code for not showing
	table headers if no alert defined. Add some icon to input buttons.
	* operation/incidents/incident_detail.php, incident_search.php,
	operation/messages/message.php, operation/snmpconsole/snmp_alert.php:
	Add some icon to input buttons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@478 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-28 19:15:44 +00:00
raulmateos 5660751c9b 2007-05-27 Raul Mateos <raulofpandora@gmail.com>
* configurar_agente.php: Removed echo for debbuging added in last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-27 13:37:35 +00:00
raulmateos 2d3e6ccdb9 2007-05-27 Raul Mateos <raulofpandora@gmail.com>
* include/styles/install.css: Forgotten file from last commit.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@475 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-27 13:28:50 +00:00
slerena 2d04a50492 2007-05-27 Sancho Lerena <slerena@artica.es>
* godmode/agentes/alert_manager.php: Now alert edit/create uses
        alert tab to show alert data.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@474 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-27 13:20:27 +00:00
raulmateos e42393821f 2007-05-26 Raul Mateos <raulofpandora@gmail.com>
Massive Update
	* include/styles/pandora.css: Cleaned and updated some styles.
	* index.php: Updated, now the page is allways at the center.
	* general/login*.php: Updated login/logoff pages with new sytles
	and clean code.
	* images/setup.png: New file (changed from setup.gif).
	* include/languages/*.php: Deleted old text about database and
	updated some strings.* help/en/chapter3.php, help/es/chapter3.php: Changed 	image setup.gif
	to the new setup.png file.
	* operation/*.php: Massive close HTML tags and changed all h3 to h2
	for new console headings.
	* godmode/*.php	* include/styles/pandora.css
	* godmode/*.php: Changed name for directories and files: New ones are
	alerts, profiles, groups and users, and now the files are named in
	english. All features seem to be OK.
	* godmode/menu.php: Updated to include new names and some highlighting.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-27 02:55:55 +00:00
slerena 45a4ba6916 2007-05-24 Sancho Lerena <slerena@artica.es>
* include/styles/pandora_red.css: Added alternate sample style.

        * include/styles/pandora.css: Some problems with fonts fixed (I
        hope!)

        * include/config.inc.php: Modified code to support custom Style in
        DB config. By default uses "pandora".

        * include/languages/language_en.php: new string to render style
        setup.

        * images/header_red.jpg: New image for red style.

        * godmode/grupos/configurar_grupo.php: Updated styles.

        * godmode/setup/setup.php: Added support for style selector.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-24 21:06:42 +00:00
slerena 8d0650ba2c 2007-05-24 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Some margin adjustements for databox
        classes and H1-3.

        * include/config.inc.php: Added support to detect empty
        configuration tokens in DB and abort.

        * include/languages/language_en.php: More strings.

        * operation/visual_console/render_view.php: Fixed static links to
        images.

        * operation/agentes/estado_alertas.php: Databox style fixed.

        * operation/agentes/estado_monitores.php: Added image instead
        label.

        * operation/servers/view_server.php: Fixed divbyzero notice.

        * operation/servers/view_server_detail.php: Fixed static image URL.

        * reporting/fgraph.php: Fixed distribution of X axis ticks.

        * general/login_page.php: Added "demo" user by default.

        * godmode/agentes/alert_manager.php,
        godmode/alertas/modificar_alerta.php
        godmode/alertas/configurar_alerta.php: Style 'databox' update.





git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-24 20:03:05 +00:00
raulmateos d53fdbcfc1 2007-05-21 Raul Mateos <raulofpandora@gmail.com>
* include/styles/pandora.css: Updated footer style.
	* operation/estado_generalagente.php: Closed div for footer if agent not
	found.
	* godmode/configurar_agente.php: Closed div for footer if agent not found.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-21 10:50:03 +00:00
slerena 32d96a89a0 2007-05-20 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Uptated network component data.

        * include/styles/pandora.css: Few updates for style.

        * include/functions_db.php: Added functions for visual console
        features.

        * include/languages/language_en.php: New strings.

        * include/javascript: Moved all javascript files here.

        * include/javascript/x_slide.js, include/javascript/x_event.js:
          Copied from branch / console from Azabel.

        * include/javascript/wz_jsgraphics.js: New functions to draw
        lines.

        * pandoradb.sql: Created new tlayout and tlayout_data tables.

        * index.php: Small changes. Added support to refresh any page via
        POST.

        * operation/visual_console: Added Visual Console feature.

        * operation/agentes/estado_alertas.php: Updated styles and fixes
        damm bug when no alert available.

        * operation/agentes/status_monitor.php: Updated styles.

        * operation/agentes/estado_generalagente.php: Update styles.

        * operation/agentes/estado_agente.php: Updated style.

        * operation/servers/view_server.php: Updated style.

        * operation/reporting/graph_builder.php: Fixed some minor
        bugs. Needs to fix more bugs :(

        * operation/menu.php: Updated menu. Visual Console has dynamic items!.

        * images/pandora_logo_head.png: New header logo !

        * images/pandora_logo.png: New Pandora FMS 1.3 logo ! :-))

        * images/console/background: More samples added.

        * images/console/icons: Icons to be used in visual console.

        * reporting/fgraph.php: New feature added to simple graph to show
        only average values.

        * reporting/stat_win.php: Added support to avg_only and show avg,
        max and min values from each graph. Zoom factor is more usable
        now.

        * general/logoff.php: New style.

        * general/footer.php: Fixed style.

        * general/logon_failed.php: Fixed style.

        * general/login_page.php: New style.

        * general/header.php: Fixed style.

        * godmode/agentes/configurar_agente.php: Fixed styles.

        * godmode/agentes/agent_manager.php: Fixed styles.

	* operation/active_console: Removed from trunk: not ready to be used.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@459 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-20 17:12:31 +00:00
slerena abe8fa0c5f 2007-05-18 Sancho Lerena <slerena@gmail.com>
* include/styles/pandora.css : Some style changes.

        * include/functions.php: Changed format_numeric and format_for_graph to show a
        better number formatting.

        * index.php: Some minor changes in layout and bgcolor (not used style because
        some pages that don't have the same color uses main style, f.e: stat_win for graphs).

        * godmode/agentes/module_manager.php
        * operation/agentes/estado_ultimopaquete.php
        * operation/agentes/estado_monitores.php
        * operation/agentes/estado_generalagente.php
        * operation/agentes/datos_agente.php, estado_ul: Updated output render and fixes
        some tables, added databox style, removed line.

        * operation/menu.php: Removed active console. This don't go with 1.3 version
        finally due many unfixed bugs.

        * reporting/stat_win.php: White background fixed.

        * general/header.php
        * general/footer.php: Some adjustments in styles.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-18 12:56:05 +00:00
slerena 6b401edcc3 2007-05-18 Raul Mateos <raulofpandora@gmail.com>
* images/header.png: New graphic image for header in the new design.

        * Style / Graphic changes for new design (not finished).




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@456 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-18 09:29:54 +00:00
raulmateos 10fda5201d 2007-05-08 Raul Mateos <raulofpandora@gmail.com>
* godmode/modules/*.php, godmode/agentes/*.php: Added icon to buttons.
	* godmode/grupos/configurar_grupo.php: Changed datos2 style to datos in
	second row.
	* operation/agentes/estado_monitores.php: Added code to show "Never" if
	timestamp is 00-00...
	* operation/agentes/estado_ultimopaquete.php: Added title to <td> tag,
	to show name when is longer than 15 chars.
	* general/logon_ok.php: Closed some html tags. Reduce size of table.
	* include/styles/pandora.css: Changed some colours.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-08 11:24:57 +00:00
raulmateos 3b38f493d7 2007-05-07 Raul Mateos <raulofpandora@gmail.com>
* general/header.php: Made smaller.
	* godmode/agentes/module_manager.php: Changed html anchor.
	* operation/snmpconsole/snmp_view.php, general/logon_ok.php,
	operation/events/events.php, operation/incidents/incident.php,
	operation/agentes/estado_alertas.php: Removed classes.
	Now we use some styles at each page to simplify css.
	* operation/agentes/estado_generalagente.php: Changed table width.
	* include/pandora.css: Updated a lot of styles, deleted some not used.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-07 15:32:03 +00:00
slerena aaaec7f71c 2007-05-03 Sancho Lerena <slerena@artica.es>
* include/FreeSans.ttf: Added to repos, should be here to use in graphs.

        * include/functions_db.php: Deleted noaccess include from
        comprueba_login(). This should return value, not render pages or
        exit.

        * include/config.inc.php: Modified some typos.

        * include/calendar.js: Added generic calendar javascript, to be
        used on exportdata and incident management code.

        * include/languages/language_en.php: More strings.

        * install.php: In my render, box height is too low. PLEASE recheck
        before changing this kind of properties because in other browsers
        could have a bad render (Sophus!).

        * index.php: Added script call (need to be done on header).

        * operation/agentes/export_csv.php: Added new file to create a
        standalone CSV on download icon / link.

        * operation/agentes/exportdata.php: New export data code, used
        some code from Leando Doctors, and mixed with old code. Now have
        three options to render export data.

        * operation/agentes/datos_agente_calendar.php: Deleted old code from Leandro.

        * operation/active_console/lib/extra_functions.php: Solved a lot
        of warnings, but there are TONS of more warnings that need to be
        corrected.

        * operation/active_console/lib/db_functions.php:Solved a lot of
        warnings, but there are TONS of more warnings that need to be
        corrected.

        * operation/active_console/index.php: Solved a lot of warnings,
        but there are TONS of more warnings that need to be
        corrected. This code DONT work if you are showing warning/notice
        erros. This code is not ready for production usage, too buggy yet
        :(

        * pandora_graphical_console_data.sql: Cleanup.

        * godmode/agentes/module_manager.php: Added wizard button.

        * pandora_graphical_console.sql: Cleanup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-05-03 02:08:00 +00:00
raulmateos 35843e8743 2007-04-24 Raul Mateos <raulofpandora@gmail.com>
* install.php: Changed typo in installation text. Homogenize boxes.
	* operation/modificar_agente.php: Deleted table and moved button to tr.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-24 13:38:44 +00:00
slerena 2a759aaea8 2007-04-22 slerena <slerena@artica.es>
* functions_db.php, language_en.php, estado_grupo.php
	estado_agente.php configurar_grupo.php lista_grupos.php
	modificar_server.php: New feature implemented: groups could be
	configured to do not launch alerts (Disabled field). Any agent
	inside this group does not fire alerts while disabled will be
	activated. Useful for programmed non-service periods or programmed
	shutdowns.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-22 01:08:58 +00:00
slerena 21a8f71cc0 2007-04-21 Sancho Lerena <slerena@gmail.com>
* include/languages/language_en.php: New strings added.

        * include/functions.php: Added function output_clean_strict().

        * operation/agentes/estado_ultimopaquete.php: Fixed title when
        some ugly characters used (like #).

        * operation/agentes/estado_generalagente.php: OS icon show,
        ignoring $agent_type parameter.

        * operation/agentes/estado_agente.php: OS icon show, ignoring
        agent_type variable.

        * godmode/grupos/configurar_grupo.php: Now it's possible to define
        parent group.

        * godmode/grupos/lista_grupos.php: Parent for group and some code
        cleanup. Added confirmation to group delete.

        * godmode/agentes/module_manager.php: Added confirmation to some
        items and added "data fix" new feature to delete data above 1.3 of
        average value of graph.

        * godmode/agentes/modificar_agente.php: Confirmation before delete
        an agent.

        * godmode/agentes/configurar_agente.php: Added fix module data
        feature.

        * godmode/modules/manage_network_components_form.php: Some fixes.

        * godmode/modules/manage_network_templates.php: More fixes.

        * godmode/menu.php: Fixed some navigation marks.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-21 16:14:11 +00:00
slerena 145ca40616 2007-04-19 Sancho Lerena <slerena@artica.es>
* pandora.css: added some classes for graphical input buttons.
	
	* languages/language_en.php: More strings to go !
	
	* include/config.php: Deleted from repo, now has no sense.
	
	* pandoradb.sql: Added `alert_text` to talerta_agent for new text
	alerts. Added tables for custom graphs and reporting: tgraph,
	tgraph_source, treport, and treport_content.
	
	* operation/users/user.php: Fixed problem with last Raul's commit.

	* godmode/usuarios/lista_usuarios.php: Fixed problem with last
	Raul's commit.
	
	* operation/agentes/estado_alertas.php: Code cleanup. Implemented
	render for text alerts.
	
	* operation/agentes/datos_agente.php: Fixed small bug with text output.
	
	* operation/agentes/datos_agente_calendar.php: Added contribution
	from Leandro Doctors. Need to work on it before use several
	problems detected.
	
	* operation/servers/view_server.php: Fixed some bugs.
	
	* operation/reporting/graph_viewer.php: Added viewer for custom graphs.
	
	* operation/reporting/custom_reporting.php: Initial code, not
	finished yet.
	
	* operation/reporting/graph_builder.php: Work for modules in the
	same agent, several problems, but works.
	
	* operation/menu.php: Updated options for new reporting menu.
	
	* reporting/stat_win.php: New menu is great :-)
	
	* general/login_page.php: Updated login page.
	
	* godmode/agentes/alert_manager.php, configurar_agente.php: New
	code for text alerts and better user help.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-19 18:50:07 +00:00
raulmateos 197dc2184e 2007-04-18 Raul Mateos <raulofpandora@gmail.com>
* include/pandora.css: removed old "wxx" classes. Change some colours
	for agent general information tabs.
	* include/god.css, link.css: minimal changes for case letters.
	* several .php updated to use the changes in sytles. No new features or
	functionality changed.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 21:45:03 +00:00
slerena 7c9e6faea6 2007-04-18 Sancho Lerena <slerena@artica.es>
* Several small fixes coming from our demo (beholder)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 16:48:38 +00:00
slerena 660665348c 2007-04-18 Sancho Lerena <slerena@artica.es>
* include/styles/pandora.css: Added frame and changed basic form input 
	styles (fixed the old problem with radio and checkboxes).
	
	* include/functions_db.php: Finished function
	agent_add_address(). Added functions: agent_delete_address(),
	give_agent_address() and give_agent_address_from_list().

	* include/languages/language_en.php: More strings !

	* include/functions.php: Added numeric render for graph Y scale
	and for numeric data output in screen: format_for_graph().
	
	* pandoradb.sql: Several small fixes and cleanup (deleted drop check).

	* operation/agentes/estado_alertas.php: Fixed old bug with
	visualization of alerts (min/max) vs (max/min). Now alert is a
	real value, not integer.
	
	* operation/agentes/datos_agente.php: Better render for numeric
	(float) data.
	
	* operation/agentes/estado_ultimopaquete.php: Better render for numeric
	(float) data and fixed a small costemic bug.
	
	* operation/agentes/estado_generalagente.php: Fixed a small
	costemic bug, list of ip's have some white space before and this
	have better visualization for user due to combo style stripping
	some space.
	
	* reporting/fgraph.php: Graph improvement: graphs now could show
	alerts associated to an agent and draw alert limits. Preprocessor
	function is now used to render axis label with (M,K) symbols and
	decimal commas. Title and subtitle has been improved.
		
	* reporting/stat_win.php: Graph menu improvement. Fully completed
	work. This should work for final version without more changes.
	
	* godmode/agentes/agent_template.php: Template/Wizard module
	assigment form for agent.
	
	* godmode/agentes/alert_manager.php: Several fixes (links) and
	alert max/min render.
	
	* godmode/agentes/configurar_agente.php: Fixed several navitation
	bugs. Added agent ip addition/deletion code.
	
	* godmode/agentes/agent_manager.php: Address list management code.
	
	* godmode/modules/module_list.php: Deleted link to "module type
	editor" and create button: This has no sense since there is no
	moduletype editor yet :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-18 09:58:26 +00:00
slerena fa5263c4d0 2007-04-13 Sancho Lerena <slerena@artica.es>
* include/functions_db.php: Added function add_address() not finished!.
	
	* pandoradb.sql: Added field "notify_email" in tincidencia. More
	changes are coming in incident management coming from FRITS
	project. Added tnews
	
	* index.php: VERY IMPORTANT: Added Session locking concurrency
        speedup, taken from
        http://es2.php.net/manual/en/ref.session.php#64525. This solve GUI
        lookups when one page it's processing huge data and one user
        cannot access to other pages. This is a common PHP issue for
        bad-susing SESSION functions.
	

	* operation/agentes/estado_grupo.php: Added checks for timeout in
	agents. Now render gray icons/boxes if agent is completely timeout
	(with no modules in time).
	
	* operation/agentes/estado_generalagente.php: Show IP address in
	combo. More changes are coming to agent address management
	(multiaddress).
	
	* general/logoff.php: Fixed, "babel" string :-)
	
	* general/logon_ok.php: Added news display in main logon screen.
	
	* godmode/agentes/configurar_agente.php: Delete address code, not
	finished.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-13 18:47:58 +00:00
slerena 70e2f9d797 2007-04-10 Sancho Lerena <slerena@gmail.com>
* pandoradb_data.sql: Fixed some odd problems with schema data.

        * pandoradb.sql: Fixed some odd problems with schema structure and
        added new table tnews for publish board updates.

        * include/styles/pandora.css: Changed color for data2 style.

        * include/config.inc.php: Deleted two last blank lines who makes
        config.php unusable for graphs. FIXED.

        * include/languages/language_en.php: Added some new strings.

        * include/config.php: some problems with new config
        variables. Need to recheck.

        * include/functions.php: Added function to render normal text,
        replacing carriage return with HTML br tag.

        * install.php: Many small bugs fixed. Now uses dbname variable and
        use default variables in form.

        * estado_grupo.php: Small bug fixed.

        * estado_ultimopaquete: Small bug fixed.

        * estado_generalagente.php: Small bug fixed.

        * view_server.php: Small bug fixed.

        * fgraph.php: Now agent with only one kind of module render module
        distribution graph.

        * stat_win.php: Fixed small bug with windows ids.

        * module_manager.php: Fixed small bug.

        * modificar_agente.php: Fixed small bug.

        * module_list.php: Fixed stupid bug.

        * god_mode/menu.php: Fixed problem with menu position.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-11 03:12:48 +00:00
raulmateos 10658ac8e7 2007-04-03 Raul Mateos <raulofpandora@gmail.com>
* include/languages/language_en.php, language_es_es.php: Added text
	for no network profile.
	* godmode/modules/manage_network_components.php: Added noscript tag
	to avoid showing the "show" button if Javascript is enabled. Added
	image to button Create.
	* godmode/modules/manage_network_templates.php: Added code to show
	text if no netork template is defined. Added
	image to button Create.
	* godmode/modules/manage_network_templates_form.php: Added code to 
	avoid a notice error when creating new profile.
	* godmode/modules/manage_nc_groups.php: Added imaged to Button
	Create.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@411 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-03 14:28:07 +00:00
raulmateos 1648708234 2007-04-02 Raul Mateos <raulofpandora@gmail.com>
* images/ok.gif: Deleted
	* images/cross.png, go.png, ok.png, upd.png: Added new images
	* include/styles/pandora.css, tip.css, op.css: Updated. Deleted some
	old styles, not all.
	* include/languages/language_en.php, language_es_es.php: Added text
	for no recon task.
	* godmode/*.php, operation/*.php, help/*.php: Changed some icons, 
	updated several buttons with new icons.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@410 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-02 17:17:27 +00:00
raulmateos b601bd7cbe 2007-04-01 Raul Mateos <raulofpandora@gmail.com>
* pandoradb.sql, pandoradb_data.sql: Removed comments that
	caused some warnings. Solved small bug when adding table tmodule.
	Changed (again) HPUX to HP-UX.
	
	* godmode/agentes/modificar_agente.php: Removed some notice error.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-04-01 18:29:11 +00:00
slerena e21ca2e398 2007-03-28 Sancho Lerena <slerena@artica.es>
* tip.css, pandora.css: Some updates to fix render in tooltips and
	datos3 background color.

	* config.php: Version update.

	* operation/menu.php: Added reporting suboption: Custom Graph Builder.

       	* operation/reporting/graph_builder.php: New custom and combined
	graphic generator that uses new function from fgraph
	graphic_combined_module().

	* reporting/fgraph.php: new function graphic_combined_module() to
	generate combined graphs. Needs to finish implementation to show
	alerts and evetns (most work done). Function
	grafico_db_agentes_purge() now uses Pear Graph instead jpgraph.

	* operation/agents/exportdata.php: Now uses indexes and improve
	the overall speed.

	* operation/agents/estado_grupo.php: Rewritten version, much more
	fast than previous.

	* operation/events/events.php: Fixed code to mass delete/update
	and added some audit control points.

	* pandora_db.php: audit_db() now uses utimestamp. event_insert()
	now uses utimestamp. Added function
	give_agent_id_from_module_id().

	* operation/agents/estado_ultimopaquete.php: Now render in red
	timestamp for "outdated" data. Fixes some minor problems with
	module groups and interval rendering.

	* operation/agents/estado_monitores.php: now uses utimestamp.

	* operation/agents/ver_agente.php: Uses lang_label labels for some
	texts. Fixed image bug.

	* operation/servers/view_server.php: Added version of server and
	some cosmetic adjustments.

	* godmode/db/db_main.php: Applied new graphic.

	* godmode/agentes/module_manager.php: Now sort by modulegroup.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-28 16:07:29 +00:00
slerena 1f29feb353 2007-03-19 Sancho Lerena <slerena@artica.es>
* functions_db.php: Added give_network_profile_name() function.

	* language_en.php: Added new strings.

	* index.php, ver_agente.php, estado_generalagente.php: Some style
	fixes.

	* view_server.php: Added support for recon servers. Added LAG
	check for server processing queue.

	* view_server_detail.php: Added, to get updated information in
	realtime for queues processed by recon server.

	* modificar_agente.php: Now deletes associated IP addresses when
	deleting an agent.

	* manage_network_templates*.php: Manage network templates / profiles.

	* manage_recontask*.php: Editor for network tasks (recon server).

	* menu.php: Added new options.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@397 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-19 19:39:40 +00:00
slerena 02acab8e95 2007-03-12 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Upgraded scheme, many changes and many tables
	added. I Need to commit the new "preloaded" data for this scheme,
	give me some days, this stuff are on development.

	* includes/styles/*: Many additions to reflect new menu options,
	and the tab menu title.

	* reporting/fgraph.php: Minor changes to format progressbar.

	* godmode/modules/*: Many many changes and additions (manage_*)
	for the new management system using tabs :-)

	* include/languages/language_es_es.php: Many additions.

	* operation/servers/view_server.php: Implemented detailed load for
	each servertype and latency time to each server to detect problems
	with high load.
	
	Many changes in godmode subsystem. Not detailed at this time.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-12 17:58:52 +00:00
raulmateos e8ca7deeb5 2007-03-07 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/alert_manager.php, modificar_agente.php,
	operation/agentes/estado_generalagente.php: Small changes
	with table lines.

	* include/styles/pandora.css: Reduce data_box class one pix.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@391 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-07 12:37:23 +00:00
slerena f5f53e4a95 2007-03-06 Sancho Lerena <slerena@artica.es>
* include/functions*.php: Some reorganization, moved some funtions
	from functions.php. Added recursive functions to implement group
	hiearchy (group_belong_group, agent_belong_group).

	* godmode/agentes/module_manager.php, configurar_agente.php:
	Module edition/add now works :-)



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-06 13:18:49 +00:00
slerena 4f827de5f0 2007-03-02 Sancho Lerena <slerena@artica.es>
* pandoradb_data.sql: Modified, but needs update!, not
          finished.

	* .png: Many files added.
	
	* Massive commit. Updated almost every file for agent
	visualization, module visualizacion, agent management, index,
	styles, and more. Added many icons, and altered so many files.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-03-02 17:56:07 +00:00
slerena f2d732a350 2007-02-27 Sancho Lerena <slerena@openideas.info>
* include/styles/god.css: Moved style block.
	
	* include/styles/link.css: Moved style block.
	
	* include/styles/op.css: Moved style block.
	
	* include/styles/pandora.css: Added some clases for new
	appearance. Needs to be improved, not finished yet !.
	
	* include/config.inc.php: Changed version number.
	
	* index.php: Some changes for new block disposition using
	data_box class and other changes.
	
	* operation/agentes/ver_agente.php: Now shows data in three
	tabs. Needs to be improved, but functional.
	
	* operation/agentes/estado_generalagente.php: Change in title
	order. This should be the way to show title and subtitle since
	now.
	
	* operation/messages/message.php: Changed icon, and fix problem in
	CSS. Deleted class: Classes with only fix weight should be avoided
	from now and added in code just with a style attribute, it
	generates too many classes in main CSS.
	
	* images/bottom-*-corner.gif: Added.
	
	* general/footer.php: Needs to be updated.
	
	* general/links_menu.php: New style in use (different color for
	top).
	
	* godmode/agentes/module_manager.php: New file to manage in tabs
	agent configuration. Almost functional, needs fix.
	
	* godmode/agentes/alert_manager.php: Content of alert management
	for agent manager, now in a individual file to be shown in a tab.
	
	* godmode/agentes/configurar_agente.php;

	* godmode/agentes/agent_manager.php:  New file to manage in tabs
	agent configuration. Almost functional, needs fix.
	
	* godmode/menu.php: New style in use (different color for top).

	This is a partial commit not fully functional, need to be done due
	to many changes in a temporal development computer. Sorry for
	problems to people that are testing SVN version.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@387 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-27 19:03:56 +00:00
slerena 25f176b0a6 2007-02-19 Sancho Lerena <slerena@openideas.info>
* operation/incidents/incident.php: Pagination finished.

	* operation/events/events.php: Pagination finished.

	* godmode/admin_access_logs.php: Pagination fix (work in progress,
	not finished yet).
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@376 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-02-19 07:44:07 +00:00
raulmateos 8f9435da74 2007-01-27 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/configurar_agente.php: Fixed bug 1643627, some style
	changes. Also solve small bug due to use id_os and os_version as the same
	var.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-27 13:32:54 +00:00
raulmateos 3244674217 2007-01-09 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/configurar_agente.php; Style correction. Solve small
	bug not showing any table if no alert defined.
	
	* include/config.php: Add some comments and change order of error reporting
	function.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@358 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-09 22:01:38 +00:00
raulmateos b0ce5c7dae 2007-01-01 Raul Mateos <raulofpandora@gmail.com>
* include/functions_db.php: Add new function to obtain group list.
	
	* godmode/alertas/configurar_alerta.php: Clear code. Clear sytle.
	
	* operation/agentes/estado_grupo: Clear code. Clear style. Use new
	list_group2 function. Simplify SQL queries.
	
	* operation/events/events.php: Clear code. Clear style.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2007-01-01 18:41:27 +00:00
raulmateos f50fc7feb7 2006-12-31 Raul Mateos <raulofpandora@gmail.com>
* include/functions.php, functions_db.php: Move list_group from f*.php
	to f*_db.php. Add two new functions to show icons.
	
	* operation/agentes/*.php, operation/eventos/eventos.php, 
	godmode/agentes/*.php: Updated files to use the new functions for icons.
	Clear code. Clear sytle.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@343 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-31 00:29:40 +00:00
raulmateos 2f2b013372 2006-12-25 Raul Mateos <raulofpandora@gmail.com>
Pandora_console:

	* include/styles/pandora.css: New style mr40.
	
	* help/en,es/chapter3.php: Explanation of monitor added. Solved error with 
	english file (maximun-> manimum; minimun -> minimum)
	
	* include/functions: Add function to show groups of an user.
	
	* operation/agentes/*, operation/eventos/eventos.php: Use new function.
	Style correction.

	Pandora_docs:

	* pandora_chapter3.xml: Explanation of monitor added. Solved error with 
	english file (maximun-> manimum; minimun -> minimum)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-25 18:15:57 +00:00
raulmateos 1953e9c306 2006-12-18 Raul Mateos <raulofpandora@gmail.com>
* help/es/*, help/en/*: Stylesheet correction. Change some texts.
	* godmode/grupos/lista_grupos.php: Solved some small bug with icon
	when creating group.
	* general/logon_ok.php: Solved small bug due to style correction.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-19 15:51:15 +00:00
raulmateos dcc8e1d6a9 2006-12-15 Raul Mateos <raulofpandora@gmail.com>
* include/styles/op.css, god.css: Solved detected problem,
	more style simplification.

	* godmode/menu.php, operation/menu.php: Updated files to
	styles.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@324 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-15 21:57:08 +00:00
raulmateos 8ea9120a2e 2006-12-14 Raul Mateos <raulofpandora@gmail.com>
* operation/messages/message.php: Updated style for not found items.
	* godmode/agentes/configurar_agente.php,
	operation/agentes/estado_agente.php: Updated style for red text.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-14 22:47:45 +00:00
raulmateos c8d99038ca 2006-12-08 Raul Mateos <raulofpandora@gmail.com>
* include/config.php: Changed build
	
	* images/info.gif: New file
	
	* include/styles/pandora.css: Created new style and modified others
	
	* operation/agentes/*.php, operation/servers/*.php, godmode/agentes/*.php,
	godmode/servers/*.php,: Close some HTML tags. Changed style for not
	found items.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@314 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-08 16:57:43 +00:00
raulmateos ee64dd849e 2006-12-04 Raul Mateos <raulofpandora@gmail.com>
/branches/pandora_1.2/pandora_console and /trunk/pandora_console:
	    * help/[en|es]/images/servers1.png, servers2.png: New files.
	
	    * help/[en|es]/chap2.php, chap7.php: Update files.
	
	    * godmode/admin_access_logs.php: Add help icon.

	/trunk/pandora_doc/:
	    * en/images/servers1.png, servers2.png: Renamed files.

	    * pandora_chapter2.xml, pandora_chapter7.xml: Updated files.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-04 12:35:48 +00:00
slerena 49afbbf6eb 2006-12-03 Sancho Lerena <slerena@artica.es>
* godmode/agentes/configurar_agente.php: Fixed bug editing alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@301 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-12-03 23:50:13 +00:00
raulmateos 103639ff45 2006-10-09 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/estado_alertas.php: Add code for showing 'Never'
	if never an alert has been triggered.
	* operation/agentes/estado_alertas.php, estado_agente.php
	, status_monitor.php: Changed select size.
	* operation/incidents/incident_search.php: Changed select size.
	* operation/messages/message.php: Changed select size.
	* godmode/usuarios/configurar_usuarios.php: Changed select size.
	* godmode/setup/setup.php: Changed select size.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@224 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-10-09 15:22:28 +00:00
slerena 3ad8e2724e 2006-10-06 Sancho Lerena <slerena@artica.es>
* modificar_agente.php: Updated table width for better user view.
     


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@219 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-10-07 11:52:52 +00:00
raulmateos b841bcb88a 2006-09-16 Raul Mateos <raulofpandora@gmail.com>
* godmode/agentes/configurar_agente.php: Update :-D. Well, really comment
	DEBUG code added last update.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@184 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-22 09:12:22 +00:00
slerena 2fdfe5d5b5 2006-09-21 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: Altered tagente_datos field "datos" to have
	DOUBLE(18,2) instead of DOUBLE (12,2).

	* pandora_db1.1_to1.2.sql: Altered tagente_datos field "datos" to
	have DOUBLE(18,2) instead of DOUBLE (12,2).



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-21 16:30:34 +00:00
raulmateos ca48216a51 2006-09-10 Raul Mateos <raulofpandora@gmail.com>
* Massive upload several files, to reflect changes in help, only text, no code changed.
	
* pandoradb.sql: change value of ultimo_contacto row in  tagente table to 0000-00-00 00:00:00, to solve a small issue when the agent haven't send any data

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-09-10 16:48:18 +00:00
raulmateos 8de8a0f71d * Some headers changed to show the "official" GPL Header info. No new features or solved bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@143 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-19 22:01:47 +00:00
raulmateos 4389f1043d * Some headers changed to show the "official" GPL Header info. No new features or solved bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@142 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-19 18:29:12 +00:00
raulmateos f26600cc93 (Pandora Console)
* Some headers changed to show the "official" GPL Header info

* modificar_server.php. Add highlights. Add line before the submit button. Add help.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@136 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 08:17:58 +00:00
raulmateos 1311be432a (Pandora Console)
* configurar_agente.php. Solved small bug that only show the last alert when creating alert in an agent, but the alert was created into database.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-17 07:52:51 +00:00
slerena ab43a55634 2006-07-13 Sancho Lerena <sancho.lerena@artica.es>
* estado_grupo.php. Fix bug viewing groups, agent intervar was not read and 
	misused, resulting in a bad result of module down total sum.

        * Some headers changed to show the "official" GPL Header info

	* godmode/setup/setup.php: Fixed small bug showing filelist.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-14 10:08:08 +00:00
raulmateos f6bd27dae7 (Pandora Console)
* user_edit.php: Add new text about authors. Add a line between table and button. Add different colors between rows (cosmetic changes).

* menu.php: Add new text about authors. Add code to highlight "edit my user" when editing the authenticated user.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@124 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 14:48:04 +00:00
raulmateos c7673709dd (Pandora Console)
* index.php: Add new text about authors.

* functions.php: Add new text about authors. Change PATH to noaccess.php file.

* noaccess.php: Add new text about authors.

* login_failed.php: Add new text about authors.

* logoff.php: Add new text about authors.

* config.php: Add new text about authors.

* configurar_usuarios.php: Add new text about authors. Clean code. Solve small bug that avoid creating a new user. Add a line between table and button. Add different colors between rows (cosmetic changes).

* pandora.css: Added new class .datos2t

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 14:14:09 +00:00
raulmateos 88f5d5e86e (Pandora Console)
* estado_agente.php: Clean code, add new text about authors

* configurar_agente.php: Solve small bug that in some cases the module association form didn't work.Added the feature of disable the not required inputs for the different type of agents while editingmodule.

* indicent_search.php: Add new text about authors and add a line between table and button (cosmetic change)

* setup.php: Add new text about authors and add a line between table and button (cosmetic change)

* estado_grupo.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.

* view_server.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.

* snmp_alert.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available. Cosmetic change, adding class 'suc' when creating alert is successful.

* snmp_view.php: Add new text about authors. Add new help icon; At this moment help for this item isn't available.

* tip.css: Change class padding to not showing error in Firefox Javascript Console

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@119 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-11 08:49:21 +00:00
slerena 960db26aa2 * ChangeLog: Create this file, prior to launch final 1.2 version. For the next
versions, will use it for every branch and subproject.

	* configurar_agente.php : Fixed Undefined index: combo_snmp_oid notice error.
	
	* estado_grupo.php: Detect old "OK" monitors, but doesnt check if they are down 
	in time, so for example, a old monitor with OK signal but from a week old, it is
	shown as GREEN (good) value, not as a DOWN (white with ? symbol). FIXED. 
	Now counts data modules for DOWN total account, and show grey button if ANY
	type of module is down, not only monitors. Improved SQL searches. 

	* estado_agente.php, estado_ultimopaquete.php: Same as estado_grupo with data_modules, 
	included in total account, more accurate accounting. A new value shown in grey for 
	DOWN modules, being monitors or single data modules, no matter type. Improved SQL 
	searches. Individual module intervals are used to determine if a module is down, 
	if there is no individual module interval, global agent interval is used. 
	Now it's possible to have a module with higher interval than Agent interval, so 
	we take now the more higest interval in modules to calculate if an agent is DOWN.

	* fgraph.php: updated progressbar function to show N/A when data is above 100 or below 0. 
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@115 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 20:29:44 +00:00
raulmateos 5e927537b9 - Create new var. for help language in config.php and changed in all the .php files where the help was available (Pandora Console)
- Change tlanguage table definition to add ISO 639-2 compliant lang codes in pandoradb.sql file and also changed the name of bable from bb to ast_es in pandoradbdata.sql and changed name of include lang files and help files (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@112 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 14:58:02 +00:00
raulmateos 2b2e6be146 - Solve small bug not showing one group if n=3 in estado_grupo.php (Pandora Console)
- Change order of verifing if the var SNMP_OID is set in configurar_agente.php (Pandora Console)
- Change AND to OR for verifing if the two SQL inserts were OK while inserting new monitor in configurar_agente.php (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@110 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-09 00:33:33 +00:00
raulmateos d30192a0a9 - Update javascript in configurar_agente.php (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@88 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-05 13:31:42 +00:00
raulmateos 3d2ca5d16a - Cosmetic update for several administration files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@80 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-04 10:10:21 +00:00
raulmateos b1a688bdab - Update several files with the new table colors (Pandora Console)
- Update CSS (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@75 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-03 10:49:42 +00:00
slerena afc2702efd * More cosmetic changes for godmode forms.
* Manage config works now for all module types (problems with new modules in 1.2 version).
* Added some modifications in language_en (Assigned server -> Assigned Network Server).
* Monitor view, module view, alert view and godmode view is now ordered by name.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@73 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-02 21:25:53 +00:00
slerena d04a111393 * Fixed some fields doesnt clean after editing an agent.
* Now group view shows recent alerts.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@72 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-01 17:10:40 +00:00
slerena f792d3c69f * Visual improvements (from Babel Project) added to Pandora (logon screen and user views for agents).
* setup.php: New background editor in setup (from Babel Project) added to Pandora.
* New background images.
* Replaced again jpgraph with a -running- version.
* pandora.css: Updated, fixed and added some styles (
* language_en.php: Added a few tokens. Sorry Raul, it's necessary.
* functions.php: Added a new function to list files in a directory (taken from Babel Project).
* fgraph.php: Added a new progressbar function (taken from Babel Project).

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@68 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-07-01 01:48:56 +00:00
raulmateos 49f1fc1b22 - Update two images and languages (Pandora Console)
- Update submit button in configurare agent page (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@67 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-30 11:20:33 +00:00
raulmateos 02e65b4c07 Fixed small bug when make a snmpwalk.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@64 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 22:03:26 +00:00
slerena 97c43db2a8 * Licence banner change (for more accurate information about GPL and copyrights in all files of this commit.
* configurar_agente: MANY changes.
- New SNMP feature to make a SNMP walk of current IP target and show in a new snmp oid combo. 
- Now the SNMP works with alphanumeric and numeric OID's :-).
- Cosmethic changes in the way we show the tables.
- New "cancel" buttons in alert and module edition mode
- New "setup" button to cancel edition mode and re-get the general setup display of agent.
* estado_grupo.php, some important changes and fixes:
- New feature to referesh ALL the network modules under a group if push the "network refresh" button.
- Need to be finished by Raul, to show detailed info only in the hint.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@62 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 19:31:53 +00:00
raulmateos d213cf4acf - Update lang files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@59 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 16:34:55 +00:00
raulmateos f31555555b - Update estado_grupo (Pandora Console)
- Clean code (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@58 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 14:47:49 +00:00
raulmateos 9c26f9fe93 - Update help and added icons for help in several pages (Pandora Console)
- Update language files related with the help (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@57 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 14:33:34 +00:00
raulmateos 17b77b8f4c - Update translation files (Pandora Console)
- Add some help (Pandora Console)
- Clean code (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@55 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-29 11:04:21 +00:00
raulmateos d07427ecee - Update some highlighting options (Pandora Console)
- Update help (Pandora Console)
- Update translation files (Pandora Console)
- Clear some code (Pandora Console)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@54 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-28 17:09:23 +00:00
raulmateos d3754c0d4c - Clean code in menu files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@51 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-27 11:34:05 +00:00
raulmateos e43feb4585 - Update CSS and the affected php files (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@50 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-26 16:09:20 +00:00
raulmateos 81c7733bd4 - Update Menu Highlight in Godmode and incident number alignment (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@49 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-26 10:59:06 +00:00
raulmateos f017a98de1 - Solve small bug with ICMP agent (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@46 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-06-06 10:48:54 +00:00
raulmateos 604571127b - Solved small bugs in alert association (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@38 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-05-30 18:38:45 +00:00
raulmateos 3f75397e1e - Update menu highlighting (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@37 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-05-30 18:34:19 +00:00
raulmateos 18440d9787 - Update menu highlighting (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@36 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-05-30 18:32:36 +00:00
raulmateos 445c332b54 - Update several <? php tags to <?php (Pandora Console)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@35 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-05-29 16:34:02 +00:00
raulmateos 73f5dfe5e6 - Update menu files
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@32 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-05-19 16:43:19 +00:00
raulmateos d310e69b0c - Update Godmode menu
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@20 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-04-25 09:41:25 +00:00
raulmateos f31a8bbbec - Change name of file
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@19 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-04-25 09:40:49 +00:00
raulmateos c978179748 -Update help references
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@12 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-04-20 17:45:39 +00:00
raulmateos 149223d8f2 - Update icons' menus order
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-03-27 07:44:09 +00:00
slerena 0cd002810a Initial Pandora load from our internal SVN
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2006-03-27 03:37:27 +00:00