* include/functions_graph.php
include/graphs/fgraph.php: Fixed minor bugs.
* operation/agentes/stat_win.php: Url built with ui_get_full_url
function.
godmode/reporting/reporting_builder.list_items.php
godmode/reporting/reporting_builder.php: Fixed bug in list element
view due to bad js action of the form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6932 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/functions_reporting.php,
operation/agentes/status_monitor.php: cleaned source code style.
* extensions/update_manager/load_updatemanager.php,
extensions/update_manager/lib/functions.ajax.php,
extensions/update_manager/main.php: now the function "get_key"
returns more info about error to get user key from execution of
keygen, and the calls of this function show more info about the
kind errors.
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6697 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_graph.php
include/functions_reporting.php: Fixed layout issues in
SLA reports and add ttl param to slice graphs
function to pdf side
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Merged from 4.0 branch. Added history
database support to combined graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: cleaned source code style.
* include/functions_graph.php: added into the src attribute the
$config['homeurl'] in the functions "progress_bar" and
"progress_bubble" to show the images in other paths that usually
path.
* include/functions_ui.php: fixed into the function
"ui_process_page_head" when try to use in others paths that usually
path (like as homeurl) and this bug have been for js and css.
* operation/visual_console/public_console.php: fixed and re-design
the page.
Fixes: #3520670
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6134 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
operation/agentes/stat_win.php: Added units to Y axis in static
graphs. Also changed layout of launcher module graph window.
Fixes: #3520728
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6129 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Removed legend in
graphic_module_events function due to attachment overload.
* include/functions_agents.php: Non-init count was bad because
normal modules are counted too.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php: added the query "get_agents_group" for getting the
list of agents from a group pass as ajax parameter.
* godmode/reporting/visual_console_builder.editor.php: fixed lost title for
simple graph toolbox.
* godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
include/functions_visual_map.php: added into the wizzard a field group to
filter agents, and the feature to choose the item to create with the massive
wizzard.
* include/functions_graph.php, include/functions_ui.php,
operation/reporting/reporting_viewer.php: cleaned source code style.
* include/javascript/pandora.js: into the function
"agent_changed_by_multiple_agents" fixed the none text and any text, and
the width of module form field.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5737 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
include/graphs/fgraph.php
operation/agentes/stat_win.php: Fixed some graph bugs, change the
string graph from bars to area and added formatting to xAxis of
area graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
include/graphs/fgraph.php
operation/agentes/stat_win.php: Adapted events slice graph to
the sparse/boolean/string graph. Fix some bugs on menu and legend
graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/flot/pandora.flot.js
operation/agentes/stat_win.php: Fixed several sparse
graph bugs and stabilize code with new jquery system
of miguel work
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/main.php, general/shortcut_bar.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.preview.php, include/functions_api.php,
include/functions_html.php, include/htmlawed.php, include/pchart_graph.php,
operation/events/events_list.php, operation/netflow/nf_live_view.php:
cleaned source code style.
* godmode/menu.php, godmode/agentes/manage_config_remote.php: removed the
enterprise feature that have been wrong for years.
* general/header.php: changed to load the jquery-ui and jquery javascript
library to last version.
* extensions/insert_data.php, extensions/snmp_explorer.php,
godmode/agentes/agent_manager.php, include/ajax/agent.php,
include/javascript/pandora.js, operation/agentes/exportdata.php,
operation/events/events.php: changed the unknow plugin autocomplete for
the autocomple from jquery-ui.
* include/functions_ui.php: cleaned source code style and into the function
"ui_process_page_head" added the blacklist hardwrote for to use old jquery.
* include/styles/jquery-ui-1.8.17.custom.css,
include/javascript/jquery-1.7.1.min.js,
include/javascript/jquery.jquery-ui-1.8.17.custom.min.js: added the last
version of Jquery and Jquery-ui.
Merge from the branch "pandora_4.0"
* godmode/reporting/visual_console_builder.constans.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
include/javascript/pandora_visual_console.js: changed the unknow
plugin autocomplete for the autocomple from jquery-ui and added function to
paint a Bubble Chart (http://en.wikipedia.org/wiki/Bubble_chart) with the
name "progress_bubble".
* images/percentile_item.disabled.png, images/percentile_item.png: added
images for button of percentile item (new item in visual map).
* include/styles/pandora.css: added the style for the new button percentile
item.
* include/functions_graph.php, include/graphs/fgraph.php,
include/graphs/functions_gd.php: cleaned source code style, and added the
params to set text and color in the function "progress_bar" and added
function to paint a Bubble Chart (http://en.wikipedia.org/wiki/Bubble_chart)
with the name "progress_bubble".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5693 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Added avg_only option to boolean
graphs, string graphs have more space between elements in legend,
added units to all graphs.
* include/graphs/functions_fsgraph.php: Added unit to flash chart
of type 2D column.
* include/graphs/fgraph.php: Added unit to static version.
* include/functions_forecast.php: Fixed division by zero in
projection graphs when all data is zero.
* operation/agentes/stat_win.php: Added avg_only option for boolean
graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Added call to fs_error_image function
when there is no data in a sparse graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5648 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/javascript/pandora.js
operation/agentes/stat_win.php: Added new graph for module events
in the module popup graph window.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_pchart.php: Added units in Y axis and
fixed min, max and avg values. Also fixed colors fo min, max and
avg series.
Pending task: #3153343
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5419 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php,
include/functions_netflow.php,
operation/netflow/nf_view.php: Fixed data source ordering for some
netflow charts and implemented a basic disk cache.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php,
include/functions_netflow.php,
operation/netflow/nf_view.php: Fixed netflow stacked charts. Moved
code from nf_view to functions in functions_netflow. Several other
fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/netflow/nf_view.php
include/functions_graph.php
include/functions_netflow.php: changed the way to collect netflow
parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5311 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-12-22 Sergio Martin <sergio.martin@artica.es>
* 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@5298 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: Fixed a bug of the
NO DATA images in the pdf graph reports
* include/styles/pandora.css
include/functions_reporting.php: Added styles to the
group report
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5248 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed some notices of the graphs
when no data
* include/functions_reporting.php
include/functions.php
godmode/reporting/reporting_builder.item_editor.php: Added the
first version of the new group report 3438332
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5246 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Added check for flash charts in pdf
exportation.
* operation/events/events_validate.php: Removed entities in this
view.
Fixes: #3445106
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5200 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/functions_forecast.php
include/functions_reporting.php
godmode/reporting/reporting_builder.preview.php: Fixed some
warnings in this views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/fgraph.php
include/functions_reporting.php
operation/agentes/ver_agente.php: Modules in 'top_n' reports are
sorted and graphs are displayed.
Fixes: #3422013
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/functions_forecast.php: Fixed X axis time format in graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5105 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed graphs engine to fix
reports graphs swap between horizontal and vertical and
pdf view for bugs 3414107 and 3414124
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed a problem with graphs which
shows only a few points instead of all of them.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5004 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_fsgraph.php,
include/graphs/fgraph.php: added the parameter $reduce_data_columns by
default false for to use in vertical columns graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed a bug setting graphic
* resolution
to 1 that displays some errors with event graphs.
Fixes: #3398524
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: in function "graphic_agentaccess" fixed when
the graph is empty, now show the standar Pandora image "no data to show".
Fixes: #3393224
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4786 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, operation/agentes/stat_win.php: fixeds to
show always units, and now show only avg by default, and now run the
showing baseline again.
Fixes: #3390113
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
operation/incidents/incident_statistics.php: Fixed flash graphs
into incidents statistics and added the group All to the Pie
by groups into incident statistics
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Set default values to width and height
parameters in purge graph.
* godmode/setup/os.list.php
godmode/users/profile_list.php: Fixed typica bugs of foreach with
no array variable
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Truncate agent name when is large in
graphs legends and add missed ttl variable.
* include/styles/pandora.css: Changed style in submit buttons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/fgraph.php: Added ttl parameter to all
pdf report graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4442 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_pchart.php
include/graphs/fgraph.php
include/graphs/functions_utils.php: Added time to live to
area graphs in pdf calls
* operation/reporting/reporting_xml.php: Fixed bad characteres in
xml
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4440 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed a deprecated function call
* include/functions_reporting.php: Fixed a deprecated function call and
removed some connection error messages
* include/functions.php: Disabled agents/modules report type when
metaconsole is active
* operation/agentes/ver_agente.php: Removed some connection error messages
* godmode/reporting/reporting_builder.list_items.php: Removed some
connection error messages
* godmode/reporting/reporting_builder.php: Added getting server name for
sql reports & custom graph in metaconsole
* godmode/reporting/reporting_builder.item_editor.php: Added Server
combo box, custom graph for metaconsole & removed some connection error
messages
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
operation/events/events.php: Changed the way to include flash
graph include.
* pandoradb.oracle.sql: Changed datatype on max_value field of
talert_templates table.
* pandoradb.data.oracle.sql: Fixes errors in Oracle installation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php: Added 'period' parameter to slicesbar_graph
function
* include/graphs/functions_pchart.php: Added 'period' variable and fixed
pch_slicebar_graph function
* include/functions_graph.php: Added 'date' to function graph_sla_slicebar
* include/functions_reporting.php: Fixed get_agentmodule_sla_array
function, and get_agentmodule_sla, updated some deprecated
printTrucateText calls, and the decimal data for displaying the SLA number
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: changed in the function
"grafico_modulo_sparse2" the order to include the javascripts for flash.
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js: some fixes in the show
new graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed the default value for
zero/null date "0000-00-00 00:00:00" to "01-01-1970 00:00:00".
* include/functions_graph.php,include/db/postgresql.php,
include/functions_modules.php, include/functions_agents.php,
operation/agentes/alerts_status.php,
operation/agentes/estado_generalagente.php,
operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
operation/agentes/ver_agente.php, operation/servers/view_server.php,
operation/gis_maps/ajax.php, godmode/db/db_sanity.php,
godmode/agentes/agent_template.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/configurar_agente.php, godmode/servers/plugin.php,
godmode/snmpconsole/snmp_alert.php: small fixeds for the support the
PostgreSQL engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: back to previous version of Juan Manuel, because
he update old version of trunk.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: added parameter to choose if show all xaxis
marks or not.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php,
include/graphs/functions_pchart.php: some fixes, and set font size equal
for all text in graphs. And starte the change to vertical bar the graph
for string module.
* include/functions_reporting.php: added to take the font and size.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fonts/unicode.ttf: renamed form code.ttf.
* include/fonts/smallfont.ttf: added new smaller font.
* include/functions_config.php, godmode/setup/setup_visuals.php: now you
can set the size of font for the graphs.
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: changed source code to set the size of font
in the graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/fgraph.php, operation/agentes/stat_win.php: fixed duplicate
functions, and start to support custom font in Pandora connector.
* index.php: fixed when include again the extension file.
* include/functions_html.php: fixed when include this file in other
location to index.
* godmode/reporting/graph_builder.preview.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/logo_vertical_water.png: added water mark for the graphs.
* godmode/db/db_info.php: cleaned source code style.
* include/graphs/pChart/pDraw.class.php: re-added lost line for the
rotation label value.
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/functions_fsgraph.php, include/graphs/fgraph.php: added the
source code to show warter mark.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4261 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/fgraph.php,
operation/agentes/graphs.php, operation/agentes/stat_win.php: added the
new engine.
* include/graphs/functions_pchart.php: fixed the default value for some
graph data confs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f