* 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
* godmode/reporting/reporting_builder.preview.php: Fixed bug: When
you delete an agent or module, its reports show errors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5680 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Added symlink checks for temporary files before writing
them to avoid symlink attacks.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5679 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Export server
select is disabled in module policy editor and in standard module
edition can be modified when a policy module is edited.
Fixes: #3495682
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js: "snmpwalk" button is
disabled after click on that button to avoid duplicate requests.
Fixes: #3476128
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5674 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Modify call to function
pandora_delete_not_policy_modules adding md5 filename like a
parameter.
Fixes: #3486481
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5668 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: fixed into the function
"networkmap_create_agent_node" the creation of url link for the node.
* godmode/reporting/graphs.php, godmode/reporting/reporting_builder.php,
include/functions_graph.php, include/functions_reporting.php,
mobile/operation/agents/view_agents.php, operation/agentes/datos_agente.php,
operation/incidents/incident_detail.php,
operation/reporting/reporting_viewer.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5666 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f