Commit Graph

1085 Commits

Author SHA1 Message Date
slerena 4081e8301b 2008-08-21 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm, bin/pandora_server: Enabled again 
        downtime scheduler. Now works fine, tested.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1018 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 19:03:19 +00:00
guruevi 84a0a1f22f 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 79f24e4daf 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
esanchezm cdeb746651 2008-08-21 Esteban Sanchez <estebans@artica.es>
* general/pandora_help.php: Added a require of a functions file. Added
        missing HTML tags.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1015 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-21 14:13:58 +00:00
guruevi d25a670e5c 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
esanchezm b1c689f17b 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
esanchezm 85a10ec9ab 2008-08-19 Esteban Sanchez <estebans@artica.es>
* include/locale.class.php: Check $ENV["TMPDIR"] existance to avoid
        PHP errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1012 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-20 08:17:52 +00:00
guruevi b2ae0dc37d 2008-08-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/locale.class.php: Locale class for number, time and money 
        formatting. Latest version, much corrections.

        * include/functions_db.php: HTML corrections (close tags)

        * include/config_process.php: Process $config['locale'] and init LOCALE 
        class. Still needs to be implemented in a "userspace" function 

        * general/footer.php: Updated footer to use locale class (not function) 
        to display the date and number. Just an example of the possibility


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1011 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-19 17:09:44 +00:00
esanchezm e26a549b03 2008-08-18 Esteban Sanchez <estebans@artica.es>
* operation/menu.php: Fixes events submenu and link to CSV exporting.
        Style correction.

        * images/rss.png: Added to repository.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-18 15:12:20 +00:00
esanchezm 8c1f0183e5 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 b9c19ddcb0 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
guruevi fbc4b49e73 2008-08-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* operation/menu.php: Fixed typo that prevented "Operation" from being displayed and included in the i18n.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1007 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-12 13:25:30 +00:00
esanchezm 3312652a51 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
esanchezm ae9c96c004 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 04bbcc1d40 2008-08-07 Sancho Lerena <slerena@gmail.com>
* bin/pandora_server: Disabled downtime server code until
        we can review changes in db structure from new code / console.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-07 09:54:57 +00:00
slerena 1e520a0ccb 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
slerena 9238172819 2008-08-05 Sancho Lerena <slerena@gmail.com>
* bin/pandora_recon: New functional recon server. It implements 
	different recon tasks based on OS type. Uses a production/consumer
	thread model, detec OS typew and assign automatically network profiles
	(including new WMI components) and WMI, Plugin, Network and Prediction
	servers, taken the first master server that could found. Uses xprobe2
	external tool to detect remote OS.

	* Makefile.PL: Added new dependencies (HTML::Entities), and new
	binary tool for controlled time executing (pandora_exec), used now
	by pandora_wmi and pandora_plugin.

	* Config.pm: Fixed problem parsing xprobe2 command.

	* DB.pm: Functions pandora_create_agent() and pandora_event() moved
	from Tools.pm to here. Removed some old DEBUG messages.

	* Tools.pm: Moved pandora_create_agent() and pandora_event() to DB.pm



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1002 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-05 10:55:41 +00:00
esanchezm c6716bb41a 2008-08-05 Esteban Sanchez <estebans@artica.es>
* include/functions_extensions.php: Added function to call login
        functions of the extensions. Functions renamed.

        * include/styles/pandora.css: Added style to notify bubble.

        * general/logon_ok.php: Added extensions login functions call. Style
        correction.

        * include/functions.php: Fixed array values cleanup on safe_input(). 
        Documentation added to clean_output_breaks().

        * index.php: Renamed functions fix.

        * operation/menu.php: Style correction.

        * ChangeLog: Added comment about commit #1000.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1001 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-05 10:47:40 +00:00
esanchezm ca1cffa083 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
esanchezm 8f3b244e66 2008-08-04 Esteban Sánchez <estebans@artica.es>
* extensions/hello.php: Fixed old function name. Activate the 
        extension by default. Style correction.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@999 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-04 08:53:10 +00:00
esanchezm f0db43b8fe 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
esanchezm b764fefb8e 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
ramonn 950d4a3b98 2008-08-01 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_wmi: Removed the timeout mechanism.
        * bin/pandora_plugin: Removed the timeout mechanism. pandora_exec is
          used instead.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@996 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-01 11:41:59 +00:00
marostegui 53a23dbbb6 2008-08-01 Manuel Arostegui <marostegui@artica.es>
* include/help/en/help_plugin_definition.php: Language corrections.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-08-01 06:17:34 +00:00
guruevi cd83125645 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 43efe01d86 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
ramonn ea8d720267 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* util/pandora_exec: Added to repository. Perl script to control
          command execution timeouts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@992 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 15:33:44 +00:00
ramonn 33fbe0f64e 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
ramonn 497617d5e6 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* win32/bin/PandoraAgent.exe: Updated to r989.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@990 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 11:15:31 +00:00
ramonn f963e9813d 2008-07-31 Ramon Novoa <rnovoa@artica.es>
* win32/pandora_windows_service.cc: Small fixes.
        * win32/modules/pandora_module.cc: time() and localtime() are used
          instead of GetSystemTime().
        * win32/pandora.h: Changed all instances of "Pandora" to
          "Pandora FMS".




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-31 10:31:58 +00:00
slerena a1484deff0 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 ee27f3eb54 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 1438862ae8 2008-07-30 Sancho Lerena <slerena@gmail.com>
* win32/installer/pandora.ico: The new official 2.0 icon.

        * win32/bin/Pandora FMS Windows Agent 2.0 (Beta1)-Setup.exe:
        Probably not final, but this seems to work for us.

        * win32/bin/PandoraAgent.exe: Latest binary for agent.

        * win32/bin/pandora_agent.conf: A more complex sample file.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@986 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 18:13:00 +00:00
ramonn 4c49b36740 2008-07-30 Ramon Novoa <rnovoa@artica.es>
* win32/windows/pandora_wmi.cc: Fixed typo bug.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@985 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 15:27:14 +00:00
ramonn 2c04863136 2008-07-30 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm,
          bin/pandora_wmi: Small fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@984 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 14:21:11 +00:00
slerena 682ec1a546 2008-07-30 Sancho Lerena <slerena@gmail.com>
* lib/PandoraFMS/DB.pm: FIXED a stupid bug that makes impossible to
        process any data :(. This bug was introducted by me at 25 July.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@983 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-30 10:44:43 +00:00
guruevi 9d84ead204 2008-07-29 Evi Vanoost <vanooste@rcbi.rochester.edu>
* functions_db.php: Quick fix. Used wrong function.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@982 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-29 17:10:28 +00:00
guruevi 00e67406ec 2008-07-29 Evi Vanoost <vanooste@rcbi.rochester.edu>
* functions_db.php: Style changes, updated process_sql so it can return other
        interesting stuff on INSERT. No functions have direct mysql functions anymore

        * logon_ok.php: Style changes. Made it use the DB functions


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@981 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-29 16:50:17 +00:00
ramonn 897c0469a1 2008-07-29 Ramon Novoa <rnovoa@artica.es>
* bin/pandora_wmi: Small fixes.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@980 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-29 12:01:35 +00:00
slerena 0398b05bbc 2008-07-27 Sancho Lerena <slerena@gmail.com>
* events_marquee.php: Small improvement, show agent name.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@979 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-28 17:40:33 +00:00
slerena 7a03e242a8 2008-07-27 Sancho Lerena <slerena@gmail.com>
* events_marquee.php: I forget to commit this file in my prev. 
        commit. This is a new file because I lost it :-(

        * planned_downtime.php: It is LOST :(. I need to code from scratch, 
         probably this stuff don't see the light in weeks. Server code works.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@978 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-28 11:31:23 +00:00
raulmateos 544aace319 2008-07-26 Raul Mateos <raulofpandora@gmail.com>
* Commited again the files due to failure in my svn client (no recursive)

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@977 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-26 16:25:12 +00:00
raulmateos efe73b0661 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@976 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f 2008-07-26 16:24:01 +00:00
raulmateos 5698bd248e 2008-07-26 Raul Mateos <raulofpandora@gmail.com>
* general/error_noconfig.php, error_install.php, error_perms.php: Updated headers, solved english language typos, deleted includes not used. Better coding style.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-26 16:23:24 +00:00
slerena a1c934787f 2008-07-25 Sancho Lerena <slerena@gmail.com>
* pandora_network: Added a defined() check for tcp_send string.

	* pandora_server: Added call to function pandora_planned_downtime().
	This implements planned downtimes on data server only.

	* DB.pm: Small optimization on bad data: pandora_writedata and 
	pandora_writestate return -1 on bad values and skip processing data. 
	More checks on undefined data (pandora_writestate). 
	Added code for planned downtimes, in function pandora_planned_downtime().
	Patch for adding [RECOVER] on f2/f3 if blank. Submitted by Kato Atsushi
	Now Monitor down has priority Warning and Monitor UP priority normal.

	* pandora_*servers*: Added inmediatly status change in tserver table on 
	controlled shutdown, this could be a ordered shutdown, a kill or a CTRL-C



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@974 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-25 18:52:37 +00:00
slerena 8a14d42f81 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 574f8dd2e9 2008-07-23 Sancho Lerena <slerena@gmail.com>
* Makefile.PL: Removed reference to export_server.

        * DB.pm: Fixed bug that causes to do not store string data. Added checks
        for aviod null text and skip max/min checks for string types.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-24 11:04:55 +00:00
ramonn aa70fc0287 2008-07-24 Ramon Novoa <rnovoa@artica.es>
* win32/windows/pandora_wmi.cc: Fixed WMI query timestamp limit for
          log events.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-24 07:56:14 +00:00
guruevi 74c39bd1a8 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/messages/message.php: Rewrote large parts.
        Simplified functions. Fixed a bug where group messages sent a message
        only to one member of a group. Also fixed a bug where it only displayed
        your own group(s), right now it will display all users and groups a user
        has rights to (using get_user_groups ()) so that you can send messages
        to everyone. - This commit is only for adherence to style

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@970 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 16:41:19 +00:00
guruevi cb62240f4c 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/messages/message.php: Rewrote large parts.
        Simplified functions. Fixed a bug where group messages sent a message
        only to one member of a group. Also fixed a bug where it only displayed
        your own group(s), right now it will display all users and groups a user
        has rights to (using get_user_groups ()) so that you can send messages
        to everyone.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@969 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-22 16:30:20 +00:00