* godmode/reporting/graph_builder.main.php: fixed lost require PHP functions
file, that before the php crashed because it tryed to call to unknow
function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5759 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.preview.php: fixed when the Pandora
have not enterprise part and show "-1" instead empty string.
* operation/reporting/reporting_viewer.php: added the enterprise posibility
to generate PDF from this report. And added the posibility to go to edit the
report from this page. Finally fixed the hidden first row of form, now show
again the check to select method to calculate and the title and other
things.
* include/functions_ui.php: fixed into the function "ui_print_page_header"
when the header have not any active tab.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.preview.php: fixed the calendar js
show, fixed the double update button and added the enterprise posibility to
generate PDF from this report.
* include/javascript/pandora.js: fixed the re-enable the module list widget
when sometimes start as disabled.
* include/functions_reporting.php, operation/reporting/reporting_viewer.php:
cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5757 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: fixed the show value in the
item simple value, now show formated and with units.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5755 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/functions_visual_map.php: refixed again, removed the old method
to put the items, the new method is with top and left instead the margin-top
and margin-left.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: set to blue more light the
color for unknow status for percentile item, and set the size of items
create from the wizzard to 20 characteres.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5749 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.agents
util/pandora_xml_stress.conf: Added default file for agent
dictionary. Better defaults on modules. Ready to be used for
testing Pandora FMS servers.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: into the function "html_print_select" removed
the hardcode style for the selectbox.
* godmode/reporting/visual_console_builder.wizard.php: force the style of
content table of form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: apply format to graph in the
data when show value in percentile item.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Skin is not used on logon error.
Fixes: #3464062
* godmode/menu.php: Delete autorefresh in Pandora db interface.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php: added lost feature to set into
the wizard the kind of label ("agent", "module", "agent-module" or empty).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5739 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/javascript/pandora.js, extensions/snmp_explorer.php,
operation/users/user_edit.php,
godmode/agentes/module_manager_editor_network.php,
godmode/setup/setup_auth.php, godmode/gis_maps/configure_gis_map.php,
godmode/massive/massive_edit_modules.php,
godmode/modules/manage_network_components_form.php,
godmode/reporting/visual_console_builder.editor.js: fixed enable a widget in
javascript (because the new jquery library is more html standar).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5732 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js: Fixed a xAxis bad
tick calculating and added some transparency to graph areas
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5731 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: added the field
shortcut_data for to save as serialize the quick links.
* general/shortcut_bar.php: added code to new feature to save in the
sortcut the important links for quick access.
* include/functions_menu.php, godmode/agentes/modificar_agente.php: added
class "item_drag_shortcut" to links for drag to shorcut. For make a example.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5729 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
* godmode/agentes/module_manager.php
godmode/agentes/configurar_agente.php: Modification in order to
delete synthetics modules or synth module components when a synth
module is deleted.
Fixes: #3496210
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery-1.7.1.js,
include/javascript/jquery-1.7.1.min.js, include/functions_ui.php: changed
the library the version compress to readable version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5722 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
* util/pandora_db.pl: Don't delete alerts if non-init/unknown
module to which these alerts assigned has not been deleted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5716 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.conf
util/pandora_xml_stress.pl: Now xml_stress tool can use units
in the XML generated files. Default configuration file is useful
to generate "real" scenarios.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Updated version.
* lib/PandoraFMS/DataServer.pm: Support for "UNIT" tag in the
XML to update module data units from the XML.
* util/pandora_csvbridge.pl: New tool to create XML data files
from CSV files containing data.
* util/pandora_watchdog.sh: Watchdog for Pandora FMS server,
taken from the documentation and updated.
* util/pandora_dbstress.pl,
util/pandora_db.pl: Updated version strings.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5713 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
* 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/javascript/jquery.mousewheel.min.js: removed old version this
library incompatible with the last version of jquery.
* include/javascript/jquery.mousewheel.js: added the last version (3.0.6) of
this library for jquery.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5709 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery-1.6.1.min.js: removed this file because the
console use the last jquery library.
* operation/search_agents.php: clean source code style.
* include/graphs/functions_flot.php, include/graphs/flot/pandora.flot.js:
fixed the lost unit in the style of the divs for the graphs, into the
function "pandoraFlotArea" check the alerts.lenght for empty strings, into
the function "updateLegend" check empty string for to var
"item.series.label", into the function "get_event_details" check empty var
"event_ids" and into the function "flot_area_graph" check empty var in
$long_index.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php, operation/search_agents.php:
fixed the style of name agent, now "text-transform: uppercase;".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_gd.php: fixed into the function
"gd_progress_bubble" when the $progress is upper to 100% or lower 0% show
the image "out of limits".
Merge from the branch "pandora_4.0"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5705 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/include/graphs/functions_flot.php: added the function
"include_javascript_dependencies_flot_graph" for to do more carefuly the
include javascripts and javascript hardcore wrote code (once time) and added
call into all functions this function. And into the function
"flot_hcolumn_chart " fixed the init var $return. And removed hack to use
two versions of jquery.
* pandora_console/include/graphs/flot/pandora.flot.js: removed the hack to
use two versions of jquery.
* pandora_console/include/functions_ui.php: into the function
"ui_process_page_head" call the "include_javascript_dependencies_flot_graph"
it is enabled the flash_chart in $config.
* pandora_console/include/graphs/fgraph.php,
pandora_console/include/include_graph_dependencies.php: removed old
include for old flash chart library.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5695 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