Commit Graph

477 Commits

Author SHA1 Message Date
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 6173f0bf72 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
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 af105fa845 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
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
marostegui c657f95ba3 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 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
guruevi c0c84eb2c5 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 12efa658cf 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
slerena 6460832fc3 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 4acf215dc0 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 26fa4599dc 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 6f155a19fd 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 d629a4bb47 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 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
guruevi 46e1452ea7 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 78376dc3c5 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
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
guruevi 58f26727ed 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/include/functions_reporting.php: Latest commit forgot a semicolon after return which resulted in an error on the front page. Fixed.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 14:03:39 +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 c7ae3bd073 2008-07-17 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/general/logon_ok.php: Fixed bug, the latest update failed in the middle (SourceForge SVN problems) and didn't include this file.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@963 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-21 13:08:25 +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
raulmateos bbd9552345 2008-07-17 Raul Mateos <raulofpandora@gmail.com>
* operation/agentes/status_monitor.php: Closed html tags.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@960 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 09:16:30 +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
Esteban Sanchez 34797317a3 2008-07-17 Esteban Sanchez <estebans@artica.es>
* include/functions_db.php: Removed debug output to check use of
        deprecated function. Please don't add message like this since there
        are many people who use Pandora trunk and may find strange messages
        like that.

        * operation/agentes/networkmap.php: Removed warning message if file 
        doesn't exists on checking cache system.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 06:51:22 +00:00
Esteban Sanchez 3a96085c9a 2008-07-17 Esteban Sanchez <estebans@artica.es>
* include/functions.php: Minimal style correction.

        * include/functions_db.php: Check sql_cache with empty() to avoid
        notices.

        * operation/agentes/status_monitor.php: Tab style correction.

        * general/logon_ok.php: Added missing field to SQL sentence which was 
        causing PHP notices.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@956 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-17 06:41:39 +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
Esteban Sanchez 0bb314ff41 2008-07-15 Esteban Sanchez <estebans@artica.es>
* ChangeLog: Fixed some indentation and lines length issues. Fixed
        also some filepaths.

        * include/functions_db.php: Tab and blankspaces correction. Limit the
        query to one result in get_db_value() and get_db_row().



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@954 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-15 21:29:28 +00:00
guruevi 086ec57b3c 2008-07-13 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/general/logon_ok.php: Made the query use sprintf (for security purposes)

        * pandora_console/include/functions_db.php: Made all the database queries relying on a single query function for simpler management
                Also made sure that no functions returned NULL because NULL is a valid database value. It will return an empty value or something
                Also made a simple query cache array so that duplicate queries to generate a single page won't be repeated (ACL queries)
                Also updated some other queries and functions (see the diff) and removed some old code

        * pandora_console/estado_grupo.php: Now with working agents counter!

        * pandora_console/general/footer.php: Just made a fancy counter that displays how much queries weren't duplicated (90 on some pages!!)


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@953 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-15 20:19:30 +00:00
guruevi 15283d4b31 2008-07-12 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/agentes/networkmap.php: Some minor bugfixes introduced with my changes yesterday

        * pandora_console/general/links_menu.php: 2 queries for a menu? Changed it to a single query. This list will likely never be empty - if it is, Links section won't be generated

        * pandora_console/general/logon_ok.php: Updated the queries to go faster. Changed the timestamp calculation to an indexed query using utimestamp and UNIXTIME(NOW())-604800

        * pandora_console/images/networkmap/8.png: Added the Mac OS X icon.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@952 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-14 18:00:54 +00:00
guruevi 0f64af2274 2008-07-11 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_server/pandora_network
        * pandora_server/pandora_recon
        * pandora_server/pandora_plugin
        * pandora_server/pandora_prediction: Updated the queries it performs. Made the MASTER server query a nested query, that way you don't join thousands of records (it was up to 6000 in my environment) wh
ile you only need a few records. It won't log as a slow query (indexes are used)

        * pandora_console/operation/agentes/estado_grupo.php: Fixed the issue where all data was 0-ed out. There was an if-then-else construction that wasn't working well

        * pandora_console/operation/agentes/networkmap.php: Made more extensive error messages that explains WHY it wasn't generating. Then also made it so the image is cached instead of regenerated every tim
e (currently hardcoded at 5 min.). 


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@951 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-11 20:20:43 +00:00
guruevi 4aee8792e8 2008-07-10 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/operation/agentes/estado_grupo.php: Fixed some extra spaces that made the URL look ugly

        * pandora_console/operation/agentes/status_monitor.php: Made a nested SQL query out of the flagging operation, much faster now.
                There is still a bug here that I was trying to fix. Everything is 0-ed on this page. I will find out why tomorrow

        * pandora_console/images/console/background: Added some backgrounds

        * pandora_server/pandora_server_installer: Some typos that made some things fail and fixed the wheel/root thing for debian/non-debian distro's


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@950 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-10 21:24:37 +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
guruevi 5403c96f09 2008-07-09 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_console/pandoradb.sql: Updated indexes

        * pandora_agents/mac_osx: Updated pieces here and there including the installer and startup scripts to make them more compatible and reliable

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-09 16:41:13 +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
guruevi 14c4d62a57 2008-07-08 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora_agents/ChangeLog: Added my recent modifications

        * pandora_console/ChangeLog: Added my recent modifications

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 21:01:39 +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
slerena e46ed7d89b 2008-07-08 Sancho Lerena <slerena@artica.es>
* include/config.php: Deleted. This file should not be included in SVN

        * images/so_aix.png: New icon for AIX systems.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@941 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-08 19:29:26 +00:00
guruevi 00451a0cbd 2008-07-07 Evi Vanoost <vanooste@rcbi.rochester.edu>
* pandora/console/install.php:  Added mysql_error debugging that can be uncommented when something goes wrong for clearer troubleshooting

        * pandora_console/pandoradb_data.sql: Fixed a line that had an extra semicolon (;) which caused the installer to fail

        * pandora_console/index.php: Fixed the code that displays the custom CSS code. Now the Console looks good.

        * pandora_console/general/header.php: Fixed the Autorefresh code. Now the Autorefresh link switches correctly between grey and white instead of staying white. Also fixed the autorefresh in case that there is no correct $_SERVER['REQUEST_URI'] so that it doesn't go 404.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@938 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-07 17:33:31 +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 f744aa788d 2008-07-04 Esteban Sanchez <estebans@artica.es>
* operation/reporting/reporting_viewer.php: Added a loading div that
        appears while the page is loading and dissapear once it's completed.

        * include/styles/pandora.css, include/styles/pandora_minimal.css,
        include/styles/pandora_width.css: Added style to loading div.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@934 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-04 10:52:27 +00:00
Esteban Sanchez a4450bcd7f 2008-07-04 Esteban Sanchez <estebans@artica.es>
* operation/reporting/reporting_viewer.php: Fixed error when showing
        final SLA result.

        * include/functions_reporting_pdf.php: Added final SLA result.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@933 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-04 08:56:11 +00:00
Esteban Sanchez 52ebf8ee50 2008-07-02 Esteban Sanchez <estebans@artica.es>
* operation/agentes/estado_grupo.php: Fixed missing variable on lag
        calculation.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2008-07-03 15:48:08 +00:00