* pandora_console/godmode/reporting/reporting_builder.item_editor.php: Added the item
'network_interfaces_report'.
* pandora_console/include/functions_agents.php: Added the function
"agents_get_network_interfaces" to get a list of network interfaces
information by agent.
* pandora_console/include/functions_custom_graphs.php: Added the 'ttl' parameter
to the function "custom_graphs_print".
* pandora_console/include/functions_reporting.php: Added the item
'network_interfaces_report' to the function
"reporting_render_report_html_item". Added the function
"reporting_network_interfaces_table".
* pandora_console/include/functions_reports.php: Added the item
'network_interfaces_report' to the function
"reports_get_report_types".
* pandora_console/godmode/setup/setup_visuals.php,
pandora_console/include/functions_config.php: Added a
new config token to choose if the module graphs
data should be shortened.
* pandora_console/include/functions_custom_graphs.php:
Added the unit list parameter to the function
"custom_graphs_print".
* pandora_console/operation/agentes/interface_traffic_graph_win.php:
Improved a function call.
* pandora_console/include/functions_graph.php: Modified
the function "graphic_combined_module". Now is
possible to add custom units for the items and
short the data.
* pandora_console/operation/agentes/interface_traffic_graph_win.php:
Modified the graph function call. Modified the refresh time.
* pandora_console/include/functions_graph.php: Modified the function
"graphic_combined_module". Now is possible to set the items
name and choose which values will appear on the items list.
* pandora_console/include/functions_custom_graphs.php: Added new
parameters to the function "custom_graphs_print" to call the
function "graphic_combined_module".
* pandora_console/operation/agentes/interface_traffic_graph_win.php:
Added file. Shows a combined graph of the interface traffic.
* pandora_console/operation/agentes/estado_generalagente.php: Now a graph
icons will appear on the interface information if the modules
ifInOctects and ifOutOctets exists for this interface.
* pandora_console/include/functions_custom_graphs.php: Modified the
function "custom_graphs_print" to add a new parameter to set
the base url of the graph images.
* godmode/reporting/visual_console_builder.editor.js
include/graphs/fgraph.php
include/graphs/functions_pchart.php
include/graphs/pChart/pImage.class.php
include/functions_visual_map.php
include/ajax/visual_console_builder.ajax.php
include/functions_visual_map_editor.php
include/functions_custom_graphs.php
include/functions_graph.php: Added option to cusomize the
background of the graphs in visual consoles for ticket: #886
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: cleaned source code style.
* include/functions_custom_graphs.php: fixed into the function
"graphic_combined_module" the show html entities in the name of
agents in legends, show better the legend for long size names of
agents and modules.
Merged from 4.0.2
* extensions/update_manager/debug.php: upload lost file from old
commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
include/functions_custom_graphs.php
include/functions.php
operation/agentes/datos_agente.php
operation/agentes/gis_view.php
operation/agentes/graphs.php
operation/agentes/stat_win.php
operation/reporting/graph_viewer.php
mobile/operation/agents/view_agents.php
godmode/agentes/agent_manager.php
godmode/massive/massive_edit_agents.php
godmode/reporting/graph_builder.main.php
godmode/reporting/reporting_builder.item_editor.php
godmode/reporting/graph_builder.preview.php: changed the
html_print_extended_select_for_time function to select
easily the custom period and do it genericly.
Clean all the calls to this function and unify the
combo periods.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
include/graphs/fgraph.php
include/functions_custom_graphs.php
godmode/reporting/graph_builder.main.php: Improve the graphs menu adjusting
the graph menu relatively to the parent layer
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed Date formats in graph
axis to avoid loss data
* include/functions_custom_graphs.php: Fixed number of hours of
a week in the graphs combo
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5294 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added the parameter $homeurl in some
functions and in others rename from $homedir.
* include/graphs/functions_pchart.php: setted the default values in some
vars. And replaced the calls to new engine graph.
* include/graphs/fgraph.php: added the parameter $homeurl.
* include/functions_reporting.php: fixed in 'simple_graph' the
$content['id_agent_module'].
* include/functions_custom_graphs.php,
operation/reporting/reporting_xml.php,
godmode/admin_access_logs.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/functions_custom_graphs.php: Improved the
vertical graph legend to use in horizontal when
is possible.
Fixing a Miguel modification erased by me in the last
commit.
Fix a combined graph bug in the size
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php: changed the img tag to autoclose.
* include/graphs/functions_fsgraph.php: changed the border to default 1, and
fixed the show legend.
* include/functions_graph.php: cleaned source code style. And the function
"graphic_combined_module2" added the show timestamp as human, add the
min, max, avg values.
* include/graphs/functions_pchart.php: changed the show leyend in the top
of graph, and added some comments lines for debug.
* include/functions_reporting.php, include/functions_custom_graphs.php,
godmode/reporting/graph_builder.preview.php: changed the graph to show with
new engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4177 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions*.php: Updated year in files changed this year. Also
changed spaces to tabs.
* pandora_console_install, pandora_console_upgrade,
pandora.data.postgreSQL.sql, pandoradb_data.sql
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_custom_graphs.php
godmode/reporting/graph_builder.main.php
godmode/reporting/graphs.php: Only administrator users can select and see
group All in this views.
Fix: #3183419, 3183421
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3908 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_custom_graphs.php
godmode/reporting/graph_builder.preview.php: Fixed various bugs when
you try to render a custom graph without modules for bug 3096434
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3476 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_custom_graphs.php: fix the name of custom graphs in the
config select box in widget.
Fixes: 2918740
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2232 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_custom_graphs.php, operation/reporting/graph_viewer.php,
godmode/reporting/graphs.php, godmode/reporting/graph_builder.php,
godmode/menu.php: change the process to create graphs, now you can edit
all parts of any grahps (edit, delete, add..) and has a list of graphs.
Start to add ACL in graphs...only pending test.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2033 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* godmode/agentes/alert_manager.php: Complete rewritten of the alert
system when assigned alerts to an agent.
* pandoradb.sql: New tables for alert system. These are:
talert_commands, talert_actions, talert_templates,
talert_template_modules, talert_template_module_actions. No migration
tool is available yet.
* godmode/alerts/configure_alert_template.php,
godmode/alerts/configure_alert_action.php,
godmode/alerts/alert_templates.php,
godmode/alerts/configure_alert_command.php,
godmode/alerts/alert_actions.php: Added to repository. Administration
interface to new alert system.
* godmode/alerts/modify_alert.php: Deleted from repository.
* godmode/setup/setup.php: Added an example of the date format. Main
table has now percentage width.
* godmode/menu.php, operation/menu.php: Added new alert options.
Removed refr value when it's not neccesary.
* include/styles/pandora.css: Added width to textarea elements. Style
correction and cleanup. Tables doesn't have a odd-even pattern, but
the hovered row now changes its colour. New styles for alert pages.
* include/functions_custom_graphs.php: Added to repository. custom
graphs functions moved here.
* include/functions_incidents.php, include/functions_events.php: Moved
to LGPL. Style comment corrections.
* include/functions_html.php: Documentation style correction. Added
print_input_file() and print_label().
* include/functions_ui.php: Doc style correction.
* operation/reporting/graph_viewer.php: Include new function file with
custom graphs. Use generic functions.
* index.php: Unset pass from POST and REQUEST arrays.
* include/functions_db.php: Some documentation updated to new format.
Added format_array_to_update_sql() to generate SQL sentences for
updates. Style correction.
* godmode/agentes/configurar_agente.php: Variables renamed to have a
meaning.
* extensions/update_manager/main.php: Mark an string translatable.
* extensions/update_manager/lib/libupdate_manager_client.php,
godmode/alerts/configure_alert.php, include/functions.php,
godmode/agentes/module_manager.php, operation/agentes/networkmap.php,
operation/reporting/reporting_viewer.php,
godmode/agentes/manage_config.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1331 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f