Commit Graph

1272 Commits

Author SHA1 Message Date
guruevi beb130087a 2009-02-20 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_migrate_20_to_21.sql, pandoradb.sql: Fixed going up/down
	strings
	
	* godmode/setup/setup.php: Fixed event hours display
	
	* operation/events/events.php: Fixed several major bugs with pagination
	and the new event types.
	
	* include/functions.php, include/functions_ui.php, 
	include/functions_html.php: Moved pagination and print_help_tip to 
	functions_ui.php. Repeat id's are now fixed backwards compatible. 
	Also fixed a bug in print_select where type comparisons against would 
	fail since PHP evaluates strings to (int) 0
	
	* include/functions_events.php: Added print_event_type_img () and altered
	the other functions to work with it

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-20 21:48:09 +00:00
esanchezm 1d925146a5 2009-02-20 Esteban Sanchez <estebans@artica.es>
* styles/pandora.css: Added input.add to a list which was missing.
        Aligns labels to the left.

        * pandoradb_data.sql: Fixed link to ArticaST.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1470 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-20 12:10:50 +00:00
guruevi c4ec60cbb0 2009-02-19 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandoradb_migrate_20_to_21.sql, pandora_db.sql: Altered tmensajes for
	unixtime
	
	* general/header.php: New messages function added flashing 
	acknowledgment in case of new messages
	
	* general/logon_ok.php: Since messages are now in header, they don't need
	to be there per se
	
	* images/close.png, images/transparent.png: Background and close button
	for overlays.
	
	* include/javascript/jquery.pandora.js: Used for loop for flashing thing
	and added overlay function
	
	* include/javascript/jquery.overlay.js: You'll need this for overlay
	
	* include/functions_messages.php: Message functions are here. Messages are
	fully abstracted so they can be drop-in replaced with something else
	
	* include/functions_ui.php: Small fixes. Not necessary to load en language
	files for javascript since they're empty, it only adds to load/interpret
	
	* include/functions_db.php: Added get_group_users and get_db_array. Useful
	
	* include/functions_html.php: Small doc fixes and fixed table heads
	
	* include/styles/pandora.css: Added Overlay classes

	* ajax.php: We need to call safe_url_extraclean for cross scripting
	
	* operation/messages/message.php: Rebuilt to use new functions
	
	* operation/menu.php: New message link instead of group link
	
	* operation/visual_console/render_view.php: Fixed conflict with timer
	
	* index.php: Added div for overlay (not in pure mode) and fixed erroneous
	div in pure mode.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-19 21:34:27 +00:00
esanchezm 54ea5dff55 2009-02-19 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/manage_delete.php: Fixed an error when no agent is
        selected.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1468 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-19 16:13:38 +00:00
esanchezm f22fa04934 2009-02-19 Esteban Sanchez <estebans@artica.es>
* include/functions_ui.php: Added require_css_file(),
	require_javascript_file() and require_jquery_file() to add CSS,
	javascript and jQuery files to the header easily without changing
	config object. A path parameter is addded to allow the use on
	enterprise code.

	* include/functions_db.php: Added
	get_db_value_filter(), get_db_all_rows_filter() and
	process_sql_delete(). Fixed delete_agent() style and use these
	functions. Added process_page_head() from functions_ui.php and changed
	a bit the config javascript object part.

	* include/functions_custom_graphs.php: Get results indexed by id on
	get_user_custom_graphs().

	* include/functions.php: Moved process_page_head to functions_ui.php.
	
	* godmode/agentes/manage_delete.php: New interface to perform massive
	agents deletion.

	* godmode/menu.php: Added new option to massive agents deletion.

	* general/main_menu.php, godmode/agentes/manage_config.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/alerts/alert_compounds.php, godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/configure_alert_template.php,
	godmode/reporting/map_builder.php, operation/agentes/networkmap.php,
	operation/reporting/reporting_viewer.php,
	operation/visual_console/render_view.php: Use new functions in include
	CSS and javascript files.

	* index.php: Bit of style when printing the header so the HTML can be
	readed easily in a editor.

	* include/javascript/pandora.js: Added a variable to determine the
	enterprise directory.

	* include/styles/pandora.css: Added style for manage_delete.php



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1467 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-19 16:10:04 +00:00
esanchezm 611c3f60a9 2009-02-18 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Removed from repository. Agent
	alerts manager is now done in alerts/alert_list.php

	* godmode/agentes/manage_config.php, godmode/alerts/configure_alert,
	godmode/agentes/configurar_agente.php: Use alerts/alert_list.php
	instead of deleted agentes/alert_manager.php.

	* godmode/alerts/alert_list.php: It can handle now a list of agents or
	be included by configurar_agente. Now it's a single page to manage all
	the alerts defined in agents.

	* godmode/reporting/map_builder.php: Javascript style correction.

	* include/javascript/jquery.pandora.controls.js: Added
	pandoraSelectAgent which allows the loading of a module list from an
	agent list.

	* include/styles/pandora.css: Styles for alert_list.

	* include/functions_agents.php: Added options to
	get_agent_alerts_compound() and get_agent_alerts_simple() to add extra
	user filtering.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql,
	include/functions_alerts.php: Actions in an alert module has now id or
	they cannot be removed.

	* include/functions_db.php: format_array_to_where_clause_sql() can now
	get limit and offset values.

	* include/functions_html.php: Removed select- prefix to print_select
	elements because it was breaking javascript code. Needs more works on
	that.

	* operation/agentes/estado_agente.php: Added
	get_agent_module_last_value AJAX operation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1466 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-18 12:29:30 +00:00
guruevi ced7ca240a 2009-02-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/login_ok.php, operation/visual_console/index.php,
	operation/visual_console/render_view.php: Small cosmetic fixes
	
	* include/functions_visual_map.php: Cosmetic fixes and put the if/elseif
	statements in a simpler switch statement
	
	* include/functions_db.php: dame_grupo_icono is now get_group_icon

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1465 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-17 21:37:39 +00:00
slerena c7c8a0be1d 2009-02-17 Sancho Lerena <slerena@artica.es>
* pandoradb.sql: treport_content, changed report type to string to allow
	new report types without altering DB schema. Added id_agent for supporting
	reports based on agent ids.  Tplugin new field for plugin type in order to
	support generic Nagios plugins.
	
	* pandoradb_migrate_20_to_21.sql: Updated with last changes.
	
	* module_manager_editor_common.php: Removed some ugly labels :-)
	
	* reporting_builder.php: New report (Agent detailed and grouped 
	event/alerts). Added support to add descriptions in each block.
	
	* plugin.php: Support for new plugin type option.
	
	* config_process.php: Build update.
	
	* functions.php: Updated new report type.
	
	* functions_db.php: Added support for new report type.
	
	* functions_reporting.php: Fixed problem with enterprise. Added new function
	to support new reports.
	
	* events.php: Support for grouping events. Fixed graph problem. Added quick
	search link to event fulltext.
	
	* reporting_viewer.php: Added support for adding descriptions in each block.
	Also show new report type.
	
	* fgraph.php: Fixed problem in event graph.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1464 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-17 20:39:42 +00:00
guruevi 6fb154591d 2009-02-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/login_page.php: Fixed HTML and use print_image function
	
	* include/functions.php: Added version compare for alternative to
	double encoding HTML for PHP < 5.2.3
	
	* include/functions_ui.php: Check for empty string on print_string_substr
	so we don't print empty spans
	
	* include/functions_html.php: Better validation and correct output on
	print_input_text_extended. Now accepts an array for attributes
	
	* operations/user/user.php, operations/user/user_edit.php, 
	godmode/user/user_list.php: Small cosmetic fixes
	
	* index.php: flush and print closing html tag on exits. This prevents
	automatic flushing to print tags after </html>.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1463 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-17 18:20:04 +00:00
esanchezm b5f580239a 2009-02-17 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/module_manager_editor.php: Added
	get_module_components operation to AJAX interface. Avoid error
	reporting on snmprealwalk so the JSON doesn't fail. Added support for
	component group selection. Do nothing if the selected component is
	zero.

	* godmode/agentes/module_manager_editor_common.php: Added
	add_component_selection() which makes the task of adding a module
	component to the editor easier and common. It also now filters based
	on component groups first.

	* godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php: Use
	add_component_selection() instead of duping the code.

	* include/styles/pandora.css: Added style to component elements.

	* include/functions_db.php: Avoid numeric field names on
	format_array_to_where_clause_sql().

	* include/functions_modules.php: Added get_network_components() and
	get_network_component_groups().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1462 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-17 12:17:10 +00:00
raulmateos a7bccca13c 2009-02-16 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php: Update build after last changes.
	* operation/events/events.php: Now the legend is shown only if there are
	events, just a cosmetic change.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1461 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-16 17:09:41 +00:00
esanchezm 64292adc7c 2009-02-16 Esteban Sanchez <estebans@artica.es>
* include/javascript/jquery.pandora.controls.js: Added to repository.
	New file to hold all common jQuery Pandora operations. Currently it
	holds a generic process to loads a list of agents from a group
	dropdown menu.

	* godmode/agentes/manage_config.php: Loading spinners moved next to
	the label because it was causing some ugly flickers due to 100%
	width elements. Use code from jquery.pandora.controls.js.

	* godmode/alerts/alert_compounds.php: Rewritten to be more user
	friendly. Filtering is now possible. New operations like
	enable/disable or delete are now available.

	* include/styles/pandora.css: Added style for alert_compounds.php.

	* include/functions.php: Make offset parameter optional in
	pagination(). Style correction.

	* include/functions_alerts.php: Added delete_alert_compound().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1460 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-16 16:23:30 +00:00
aloriel 12a53c775f 2009-02-16 Jorge Gonzalez <jorgegonz@artica.es>
* godmode/agentes/module_manager_editor_common.php: Changed string  
          so it is the same as other used before.

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

        * include/languages/pt_BR.po, include/languages/nl.mo, 
        include/languages/es.po, include/languages/it.mo,
        include/languages/pt_BR.mo, include/languages/es.mo,
        include/languages/da.po, include/languages/de.po, include/languages/he.po,
        include/languages/eu.po, include/languages/da.mo, include/languages/de.mo,
        include/languages/he.mo, include/languages/eu.mo, include/languages/nl.po,
        include/languages/it.po: Updated translations from Rosetta.

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



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1458 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-16 14:02:34 +00:00
esanchezm 28a5d8abf1 2009-02-16 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Moved AJAX interface for
	get_agent_alerts_simple operation here.

	* godmode/agentes/manage_config.php: Complete rewritten to give
	support to new alert system and a new improved UI.

	* godmode/alerts/configure_alert_compound.php: Removed AJAX code
	relative to groups and agents. Include jQuery and style files with the
	new way.
	
	* godmode/groups/group_list.php: Moved AJAX interface for
	get_group_agents operation here.

	* include/styles/pandora.css: Added styling for new manage config
	interface. Added style for fieldset elements.

	* include/functions_alerts.php: Added filter parameter to
	get_alerts_agent_module(). Added
	copy_alert_agent_module_to_agent_module().

	* include/functions_db.php: Added special character * to
	get_agent_modules() to get all the row. Added
	format_array_to_where_clause_sql() to transform an array of values to
	a WHERE clause. Use this function in process_sql_update().

	* include/functions_modules.php: Added to repository. New file to add
	modules operation functions. Added copy_agent_module_to_agent()

	* operation/agentes/ver_agente.php: AJAX interface for
	get_agent_modules_json can now receive an additional filter.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-16 12:18:42 +00:00
guruevi 0f823fd085 2009-02-13 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/logon_ok.php: Simplified and added correct ampersand tags
	
	* general/footer.php: Now use print_image function to print image
	
	* general/main_menu.php: Wrapped JS into CDATA
	
	* include/functions_events.php: Use print_image to print images. Use
	multibyte so Farsi/Arabian names don't mess up when cut. Also added
	&shy; tags every 8 characters to the Event Description so that long module
	names (like GigabitEthernet) don't break the table layout.
	
	* include/functions.php: Moved pandora_help to functions_ui.php, return
	valid refresh links and don't double encode safe_input (otherwise &amp;
	gets encoded as &amp;amp;)
	
	* include/functions_ui.php: Added print_help_icon and deprecated 
	pandora_help (new style function naming)
	
	* include/functions_html.php: Partially rewrote print_image for fully
	compatible functionality. Much simplified as well.
	
	* extensions/update_manager.php: Print out correct link and image tag
	
	* operation/agentes/networkmap.php: Is now correct HTML. Should work in
	all compliant browsers. If IE6 still doesn't work, upgrade
	
	* operation/agentes/tactical.php: Use print_image for images.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1456 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-13 20:23:44 +00:00
slerena 29a4431cbc 2009-02-13 Sancho Lerena <slerena@artica.es>
* operation/events/events.php: Added new feature: Group similar event by
	showing the event and the total repeated times.
	
	* operation/agentes/export_csv.php, 
	operation/agentes/exportdata.php: Fixed problems with old timestamp.
	
	* operation/agentes/estado_monitores.php: Fixed link to module edition.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1455 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-13 15:05:23 +00:00
ramonn e5a65eda12 2009-02-13 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc
          windows/pandora_wmi.h
          modules/pandora_module_exec.cc: Hide console window when executing
          exec modules.

        * modules/pandora_module_proc.cc,
          modules/pandora_module_proc.h,
          modules/pandora_module_factory.cc: Added module_retries,
          module_startdelay and module_retrydelay options to proc
          modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-13 14:34:10 +00:00
guruevi b241562a35 2009-02-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/footer.php, general/links_menu.php: _new is invalid. Use _blank 

	* include/config_process.php: Updated error texts for better English
	
	* include/calendar.php: Removed since nobody uses it anymore
	
	* include/functions.php: Modified process_page_header to not load
	wz_jsgraphics by default (it's too heavy and hardly used). Deprecated
	no_permission and unmanaged_error (since they're not used)
	
	* include/styles/timeentry.css, include/styles/pandora.css, 
	include/styles/ie.css: Merged these styles together so there is no extra
	query for 2 css classes
	
	* operation/reporting/reporting_viewer.php: Removed comparison since
	time comes from the client and if the clock is a bit off it gives error.
	Also removed reference to timeentry.css
	
	* godmode/alerts/alert_list.php: Uses new method to load css and jquery
	which prevents error of <link> tags being in body
	
	* godmode/agentes/planned_downtime.php: Removed timeentry reference and 
	fixed HTML in between.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1453 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-12 21:04:02 +00:00
guruevi f22bf9b77b 2009-02-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* bin/pandora_server: Fixed Data server. Wouldn't start because of 
	mismatched arguments.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1452 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-12 16:22:18 +00:00
esanchezm 2e04346534 2009-02-12 Esteban Sanchez <estebans@artica.es>
* include/javascript/jquery.tablesorter.js,
	include/javascript/jquery.tablesorter.pager.js: Added to repository.
	Missing files for compound alerts editor.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-12 11:26:16 +00:00
esanchezm 82829087ab 2009-02-12 Esteban Sanchez <estebans@artica.es>
* main.cc: Added new parameter to help text.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1449 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-12 11:08:26 +00:00
esanchezm 916fe1136f 2009-02-12 Esteban Sanchez <estebans@artica.es>
* godmode/alerts/configure_alert_compound.php: Added support to
        update alert elements. Also default operator for first element is NOP.

        * include/functions_alerts.php: Added delete_alert_compound_elements().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-12 10:33:49 +00:00
slerena 852dcbe190 2009-02-11 Sancho Lerena <slerena@artica.es>
* bin/pandora_network: Restored lock for icmp / ping calls.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1447 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-12 09:50:49 +00:00
ramonn d2feb4bfbe 2009-02-11 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Combined alerts are working again.

        * bin/pandora_snmpconsole: Moved calcula_alerta_snmp to DB.pm so it
          can be called from other modules.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1445 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-11 18:21:24 +00:00
slerena aa4656b9c0 2009-02-11 Sancho Lerena <slerena@artica.es>
* pandoradb_migrate_20_to_21.sql: Fixed typo.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1444 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-11 17:28:39 +00:00
esanchezm f6680b0b98 2009-02-11 Esteban Sanchez <estebans@artica.es>
* general/main_menu.php, include/styles/menu.css: Selected menu style
	is done with a CSS classs. Slide effect removed. Submenus have now
	white background.

	* godmode/agentes/alert_manager.php: Allow creation of alerts without
	actions which have sense in compound alerts.

	* include/javascript/jquery.pandora.js: Added showMessage() function.

	* godmode/agentes/module_manager_editor.php: Use new showMessage()
	jQuery function.

	* godmode/alerts/configure_alert_compound.php: Added to repository.
	New compound alert editor interface.

	* godmode/alerts/alert_compounds.php: Added to repository. Compound
	alert list.

	* godmode/alerts/configure_alert_template.php: Better style for steps
	of the editor.

	* godmode/menu.php: Added compound alerts option. Changed default page
	on Manage alerts.

	* include/styles/pandora.css: Added style for editor steps. Added new
	generic classes.

	* include/functions.php: Added a new line when creating script list.

	* include/functions_agents.php: Fixed alert tables fields. Renamed
	get_agent_alerts_compound() and improved the returning value of
	get_agent_alerts().

	* include/functions_alerts.php: Added new functions to manage compound
	alerts. Avoid SQL errors when using process_sql functions.

	* include/functions_reporting.php: Temporary disabled compound alert
	reports.

	* include/functions_ui.php: Fixed format_alert_row() to fit compound
	alerts.

	* operation/agentes/alerts_status.php: Allow compound alert
	validation. Removed effect of cluetip.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql: New compound alert
	tables (talert_compound, talert_compound_elements and
	talert_compound_actions).
	
	* godmode/alerts/alert_list.php: Added to repository. Shows a list of
	all the alerts defined. Would be improved in the future to allow
	sorting and filtering.

	* index.php, godmode/snmpconsole/snmp_alert.php,
	include/functions_db.php: Code style correction.

	* godmode/agentes/configurar_agente.php: Removed old compound alerts
	code



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1443 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-11 16:55:04 +00:00
slerena 400b02f09a 2009-02-11 Sancho Lerena <slerena@artica.es>
* godmode/reporting/reporting_builder.php: Added 3-month period



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-11 16:47:53 +00:00
guruevi a6a58d7b16 2009-02-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/main_menu.php: Modified it to go with Esteban's idea
	
	* include/styles/menu.css: Modified it to go with Esteban's idea

	* include/javascript/jquery.pandora.js: Removed previous jquery stuff

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1441 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-10 20:29:45 +00:00
slerena 663b7e9854 2009-02-10 Sancho Lerena <slerena@artica.es>
* bin/pandora_network: An important BUG discovered in SNMP call locking
        mechanism. Now calls to SNMP are using exec to snmpget command. Much
        faster due solved locking problems.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-10 18:58:05 +00:00
guruevi e9242c71a9 2009-02-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/logon_ok.php: No tr in thead causes safari to spit an error
	
	* general/main_menu.php: Added jQuery animated menu rolling
	
	* include/styles/menu.css: Removed CSS-based menu rolling

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1437 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 21:00:13 +00:00
guruevi 5984e46c95 2009-02-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/header.php, general/footer.php: Made it comply with standards
	
	* general/main_menu.php: Fixed some typo's.
	
	* include/javascript/jquery.pandora.js: This was loading an extension 
	that has a separate file already
	
	* include/functions.php: Added process_page_head and process_page_body
	these are callback functions for ob_start and add functionality like
	conditional loading and external scripts in the correct places. Also adds
	override functionality to certain items (like refresh) from anywhere
	
	* include/javascript/time_en.js: Added as a placeholder
	
	* extensions/update_manager.php: Fixed some typos
	
	* operation/agentes/exportdata.php, operation/agentes/networkmap.php,
	operation/events/events.php, operation/extensions.php, 
	operation/incidents/incident_detail.php, 
	operation/reporting/reporting_viewer.php, 
	operation/visual_console/render_view.php, 
	godmode/agentes/alert_manager.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/planned_downtime.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/configure_alert_action.php,
	godmode/groups/configure_group.php, godmode/reporting/graph_builder.php,
	godmode/reporting/map_builder.php, godmode/reporting/reporting_builder.php
	godmode/snmpconsole/snmp_alert.php: Changed javascript, css and jquery 
	loading to the new buffer callback handlers.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1436 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 18:41:54 +00:00
raulmateos a6f1b58cdd 2009-02-09 Raul Mateos <raulofpandora@gmail.com>
* include/config_process.php, general/error_noconfig.php, index.php:
	Back to old build status. Now error_noconfig.php doesn't use build.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1435 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 17:55:32 +00:00
ramonn a0b5f01761 2009-02-09 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc,
          windows/pandora_wmi.h: Allow custom process creation flags.

        * pandora_windows_service.cc: Hide console window when calling
          tentacle client.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1434 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 17:47:24 +00:00
raulmateos aa412a0dd1 2009-02-09 Raul Mateos <raulofpandora@gmail.com>
* include/styles/images/toggle.png: Added png file. GIF will be removed.
	* include/styles/menu.css, ie.css: Updated to use toggle.png. Updated
	headers.
	* include/config_process.php: Moved build to index (it was used by other
	files that didn't included this file). Updated year.
	* index.php: Updated build.
	* general/error_noconfig.php: Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 12:03:03 +00:00
esanchezm 19ebb674a5 2009-02-09 Esteban Sanchez <estebans@artica.es>
* main.cc: Added a new parameter --process to run the agent as a
        single process instead of a service.

        * pandora_windows_service.h: Interval property is now public so it can
        be readed if it's running as a single process.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1432 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-09 10:26:07 +00:00
guruevi ef32f64adf 2009-02-06 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/styles/menu.css: Updated to make it look good again
	
	* general/main_menu.php: Updated to make it look good again. Also 
	simplified to allow easier modification. If you want to make things
	visible/selected again externally (JS or COOKIE), use the IF/ELSE 
	construction with the big warning.
	
	* general/links_menu.php: Updated to conform to CSS
	
	* include/javascript/jquery.cookie.js: Added to mess with cookies for 
	menu. I will do this in a future update

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1431 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-06 21:18:03 +00:00
guruevi 355c7873ee 2009-02-05 Evi Vanoost <vanooste@rcbi.rochester.edu>
* general/header.php: Added alt tags to images
	
	* include/functions_db.php: Fixed get_agent_modules function
	
	* include/functions_html.php: Fixed print_image and print_table to conform
	to standards
	
	* index.php: Removed extra closing div that shouldn't be there and conform
	to standards
	
	* godmode/agentes/alert_manager.php: Fixed JavaScript messyness for XHTML

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1430 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-05 15:36:06 +00:00
esanchezm 939dc0e2d1 2009-02-05 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Hide actions and templates form.
	Removed unncessary check when there's no module set.

	* include/styles/ie.css: Added to repository. IE fixes. Added fixes
	for menu, because IE doesn't support hover in other elements than a.

	* include/styles/menu.css: Removed font-family property.

	* include/functions_db.php: Style correction.

	* index.php: Added IE CSS fixes if needed.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-05 12:12:42 +00:00
slerena 7f109ca452 2009-02-06 Sancho Lerena <slerena@artica.es>
* util/plugin/multicast.pl: Multicast check plugin.  




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1428 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-05 11:34:57 +00:00
esanchezm 3c54628deb 2009-02-05 Esteban Sanchez <estebans@artica.es>
* operation/visual_console/render_view.php: Recoverd countdown when
        the map is on full screen. Autorefresh selector is also shown to be
        easier to find.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1427 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-05 10:21:10 +00:00
esanchezm f316cf8986 2009-02-05 Esteban Sanchez <estebans@artica.es>
* general/links_menu.php: Added classes to links. Style correction.

	* general/main_menu.php: Fixed an error when the selected option was
	the last one in a submenu.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-05 09:17:28 +00:00
ramonn 9f72cad019 2009-02-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Read template default action on alert
          execution.

        * bin/pandora_snmpconsole: Fixed SNMP alerts.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1425 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-04 20:09:23 +00:00
ramonn 0d04075c58 2009-02-04 Ramon Novoa <rnovoa@artica.es>
* include/functions_db.php,
          godmode/snmpconsole/snmp_alert.php: Fixed SNMP alerts.

        * operation/snmpconsole/snmp_view.php: Show Custom OID as a tooltip.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1424 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-04 18:47:59 +00:00
esanchezm 91667d1335 2009-02-04 Esteban Sanchez <estebans@artica.es>
* general/main_menu.php: The menu has been rewritten to be more
        usable, bright and colorful. It's similar to Wordpress administration
        menu. It requires a bit of javascript, but can still works without it.
        Besides, Pandora can remember the menus positions using cookies.

        * include/javascript/jquery.pandora.js: Added javascript code for
        menu handling. Added cookie plugin.

        * include/styles/menu.css: Rewritten to be adapted to new menu system.

        * include/styles/images/toggle.gif: Added to repository.

        * include/styles/pandora.css: Set align-top to agent list table under
        Manage agents.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1423 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-04 16:07:43 +00:00
esanchezm d625a094fa 2009-02-04 Esteban Sanchez <estebans@artica.es>
* general/login_page.php: Removed width of login error.

	* godmode/agentes/agent_manager.php,
	godmode/agentes/configurar_agente.php: Fixed various errors when
	creating an agent.

	* godmode/agentes/alert_manager.php: Typo error on em closing element.
	Use invisible class instead of style attribute.

	* godmode/agentes/modificar_agente.php: Style correction. Improved a
	bit the interface so the user can go directly to any tab. Fixed agent
	creation parameter.

	* pandoradb.sql: Make disabled field on tagente_modulo not null. It
	could cause some server side errors.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1422 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-04 11:20:31 +00:00
ramonn 1fd3d30aff 2009-02-04 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DB.pm: Use db_do instead of db_update.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-04 09:47:19 +00:00
slerena 9f7e9edf00 2000-02-03 Sancho Lerena <slerena@artica.es>
* pandora_db.pl: BUGFIX. DB Maintance was deleting data older than 24hr
	since commit of 12th January!.
	
	* pandora_wmi, pandora_network, pandora_plugin: Algorithm upgraded. 
	First are executed modules with less margin until be considered down and 
	modules with flag of manual execution.
	


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-03 13:16:31 +00:00
esanchezm f7e49b71d3 2009-02-02 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/configurar_agente.php,
	godmode/agentes/module_manager.php,
	godmode/agentes/module_manager_editor.php,
	godmode/agentes/module_manager_editor_data.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_prediction.php,
	godmode/agentes/module_manager_editor_wmi.php: Agent module editions
	rewritten. The interface should be clearer now and SNMP walking much
	more faster, since it's done with AJAX. Some cleanup might be needed
	yet.

	* godmode/agentes/module_manager_editor_common.php: Added to
	repository. Common part for agent module editors.

	* images/edit.png, images/spinner.gif: Added to repository.

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

	* include/javascript/jquery.pandora.js: Added to repository. Special
	Pandora addons for jQuery library.

	* include/javascript/pandora.js: Added an extension to Array
	javascript objects to check if an array has an element.
	
	* include/styles/pandora.css: Added styling for new module editors.

	* include/functions_db.php: Added get_moduletype_description().

	* index.php: Added Pandora jQuery extensions.

	* pandoradb.sql, pandoradb_migrate_20_to_21.sql: Removed alert_text
	useless field from talert_templates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-02-02 15:40:31 +00:00
guruevi dc83eaee30 2009-01-30 Evi Vanoost <vanooste@rcbi.rochester.edu>
* include/config.inc.php: Updated documentation on LDAP implementation.
	
	* include/functions_db.php: Restored get_agent_modules_count function.
	
	* index.php, include/config_process.php, godmode/setup/setup.php: Now you
	can enforce https with a config variable

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1415 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-30 15:09:16 +00:00
esanchezm 6e06021290 2009-01-30 Esteban Sanchez <estebans@artica.es>
* godmode/agentes/alert_manager.php: Fixed the page title. Show the
	right latest value in non-numeric modules. jQuery selectors fixed to
	work with many alerts.

	* extensions/update_manager/load_updatemanager.php: Fixed setup error
	messages.

	* include/functions_db.php: Added get_agent_module(). Added filter
	paremeter to get_agent_modules(). return_value_agent_module() renamed
	to get_agent_module_last_value() and do not transform to integer.
	Removed useless get_agent_modules_count().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2009-01-30 12:48:08 +00:00