* extensions/system_info.php,
godmode/servers/plugin.php,
godmode/setup/file_manager.php,
include/config_process.php,
include/functions_filemanager.php,
include/functions_html.php,
operation/gis_maps/ajax.php,
operation/snmpconsole/snmp_mib_uploader.php: Replaced
the possible backslashes with slashes in the directories
path.
* include/functions_graph.php: Modified the function
"grafico_modulo_log4x" to adapt the 'set_include_path' to
Windows.
* include/get_file.php: Now the file name comes from the
function "basename".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: Now the user path backslashes are replaced
with slashes.
* extensions/files_repo.php,
extensions/files_repo/files_repo_form.php,
extensions/files_repo/files_repo_get_file.php,
extensions/files_repo/files_repo_list.php,
extensions/files_repo/functions_files_repo.php: Replaced
the 'DIRECTORY_SEPARATOR' var with slashes. Removed the
realpath functions.
* include/config.inc.php: Replaced the "owndir" final slash
with a 'DIRECTORY_SEPARATOR'.
* include/functions_html.php: Replaced the "$working_dir"
backslashes with slashes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.build_table.php: Fixed
multiple validation of events in event list view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9807 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_netflow.php: Added a prompt dialog
to warning about the time increase caused by the address
resolution.
* include/functions_graph.php: Added the functions
"graph_netflow_circular_mesh" and "graph_netflow_host_traffic".
* include/functions_netflow.php: Added the function
"netflow_get_record". Added IP address resolution. Added
two new netflow live view items: "host detailed traffic" and
"circular mesh". Error fixes on several functions.
* include/graphs/functions_d3.php: Added the function
"d3_tree_map_graph".
Improved the function "d3_relationship_graph".
* include/graphs/pandora.d3.js: Added the function "treeMap".
Improved the function "chordDiagram".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9801 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_standby_alerts.php: Long agent/module
name with multi-byte chars could be shown as 'null' on alert
list at the massive alert enable/disable/standby operations
screen (because LEFT() in SQL does not consider multi-byte
chars, neither SUBSTR() for alternative).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/d3.v3.4.5.js: added the last javascript
D3 library.
* include/javascript/pandora_modules.js,
include/functions_visual_map.php, include/functions_networkmap.php,
include/functions_os.php, include/db/mysql.php,
include/functions_netflow.php, include/constants.php,
include/functions_reporting.php: standarized the color, now the
code uses the colors constant.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: cleaned source code and killed
some unicorns and magic numbers, now there is some constants.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_netflow.php: Added a radio buttons
to activate or deactivate the name resolution for ip addresses.
* include/functions_config.php: Added the name resolution by
if to the funcion "config_update_config".
* include/functions_graph.php: Added 50px to the width of the
pie of the function "graph_netflow_aggregate_pie".
* include/functions_netflow.php: Improved the styles of the
netflow report tables.
* include/graphs/flot/pandora.flot.js: Now the legend items
show the percentage when the pie labels are hidden.
* pandora_console/include/graphs/functions_d3.php,
pandora_console/include/graphs/pandora.d3.js: Added files.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9771 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Improved the function
"ui_get_url_refresh" to deal with arrays obtained from
the parameters of get, post and custom sources.
* operation/agentes/status_monitor.php: Now is possible
to filter the modules by the agents custom fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql,
pandoradb.oracle.sql,
pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Added the column "name"to the table "treport_content".
* godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.php: Now is posible
to add a name to the report items.
* godmode/reporting/reporting_builder.list_items.php: Now
the list shows the name of the item or the description if
the name is empty.
* operation/reporting/reporting_xml.php,
include/functions_reporting.php: Now the XML and common
reports show the item name if exists.
* extensions/files_repo/files_repo_list.php: Improved
the description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/plugin.php
include/functions_html.php
include/javascript/pandora_module.js: Possibility to
hide the value of a macro.
* include/styles/pandora.css: Changed color alerts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9747 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql: Added the SNMP L2
recon script to the migration script.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/files_repo/files_repo_get_file.php: Added file
to download files from files_repo extension via public links.
* extensions/files_repo/sql/files_repo.sql,
extensions/files_repo/sql/files_repo.oracle.sql,
extensions/files_repo/sql/files_repo.postgreSQL.sql: Added
the new column 'hash'.
* extensions/files_repo/functions_files_repo.php,
extensions/files_repo/files_repo_list.php,
extensions/files_repo/files_repo_form.php,
extensions/files_repo.php: Now an user can make the files
public and get the public download links. Error fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php: Added new API function to validate
alerts from PagerDuty notification service
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9704 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/search_results.php, operation/search_users.getdata.php:
fixed the count of user in the global search main page.
Incident: #710
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php
godmode/agentes/planned_downtime.editor.php
operation/menu.php: Changed 'Scheduled downtime'
from Administration to Operation.
Added help in scheduled downtime form.
Changed 'Update manager' from Operation->Extensions
to Administration->Setup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php, operation/agentes/exportdata.php:
fixed the export data from modules with string data.
Incident: #707
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9695 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: Updated the function
"networkmap_generate_dot" to fix a regex and delete the
central node if the L2 network interfaces is true.
* operation/agentes/estado_generalagente.php: Fixed
some regex.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9690 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: fixed the status color
of the percentile bars and bubbles.
Incident: #555
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9687 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_conf_gis.php,
operation/agentes/gis_view.php: changed the style to message of
error to set the standar style of new Pandora.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php, include/auth/mysql.php,
godmode/setup/setup_auth.php: Added the feature to fallback to local
authentication when remote authentication is failed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9677 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_gis.php, operation/agentes/gis_view.php: fixed
the GIS view for agents.
Incident: #611
BACKPORTED FROM THE BRANCH PANDORA_5
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php,
godmode/setup/setup_visuals.php,
general/login_page.php: Now is possible to select a
custom login background in the setup visuals section.
* images/backgrounds/default_4.0-stripes.gif,
images/backgrounds/default_4.0.jpg,
images/backgrounds/default_5.0.png,
images/backgrounds/flowers.jpg,
images/backgrounds/grass.jpg,
images/backgrounds/tiles.jpg,
images/backgrounds/wall.jpg,
images/backgrounds/wood.jpg: Added new images to use
it as custom login backgrounds.
* images/backgrounds/background1.jpg,
images/backgrounds/background2.jpg,
images/backgrounds/background3.jpg,
images/backgrounds/background4.jpg,
images/backgrounds/background5.jpg,
images/backgrounds/background6.jpg,
images/backgrounds/background7.jpg,
images/backgrounds/background8.jpg,
images/backgrounds/background9.jpg,
images/backgrounds/background10.jpg,
images/backgrounds/background_red.jpg: Delete some
VERY old images.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9655 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_edit_modules.php,
godmode/massive/massive_edit_agents.php,
godmode/massive/massive_delete_modules.php,
godmode/massive/massive_copy_modules.php,
godmode/groups/group_list.php, operation/agentes/ver_agente.php:
implement the filter by agent status in the other massive
operations.
Incident: #669
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_edit_agents.php,
godmode/massive/massive_delete_agents.php,
godmode/groups/group_list.php, include/functions_agents.php,
include/javascript/jquery.pandora.controls.js,
operation/agentes/ver_agente.php,
operation/agentes/estado_monitores.php: added the feature to filter
by agent status in the massive operations into
"massive agent deletion" and "massive agent edition".
Incident: #669
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php, include/constants.php,
include/functions_visual_map.php: added the feature to set the
parent of items from the wizard.
Incident: #670
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: uploaded the lost changes in the
code for to make the link in the group item.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql,
pandoradb.data.oracle.sql,
pandoradb.data.postgreSQL.sql: Deleted an old link
and updated the link to the Pandora FMS documentation.
* pandoradb.sql,
pandoradb.postgreSQL.sql,
pandoradb.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Added the column "l2_network" to the table "tnetwork_map".
* godmode/agentes/module_manager_editor_common.php:
Added a help tip to a column of relations.
* include/functions_modules.php: Improved the function
"modules_relation_exists".
* operation/agentes/networkmap.topology.php,
include/functions_networkmap.php,
operation/agentes/networkmap.php: Added a new option
to show the relations between the agents interfaces.
* operation/agentes/estado_monitores.php: Added a tooltip
to show the relations of a monitor in the monitor list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor_plugin.php,
include/ajax/module.php, include/javascript/pandora_modules.js:
fixed the save module plugin server from the component.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9612 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.data.oracle.sql,
pandoradb.data.postgreSQL.sql,
pandoradb.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Added the table "tmodule_relationship".
* operation/agentes/estado_generalagente.php: Added a
new table to show the network interfaces of the agent.
Minor fixes.
* include/styles/pandora.css: Added properties for the
class transparent'.
* include/ajax/module.php: Fixed an error and added code
to retrieve a module autocomplete input or add, remove
or update a module relation via ajax.
* include/functions_modules.php: Added the functions
"modules_get_relations", "modules_relation_exists",
"modules_add_relation", "modules_delete_relation" and
"modules_change_relation_lock".
* godmode/agentes/module_manager_editor_common.php:
Added a table and control to show, add or delete
relations with other modules. Added the javascript
functions "change_modules_autocomplete_input",
"add_new_relation", "change_lock_relation" and
"delete_relation".
* godmode/agentes/module_manager_editor.php: Added a
line to show the module relations table and control.
* godmode/agentes/module_manager_editor_network.php:
Minor fix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9610 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php
include/ajax/visual_console_builder.ajax.php: Fix wrong
alerts status in warning without alerts elements. Fix alerts
status broken by miguel in previous commits to fix ajax load,
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_netflow.php: Improved version detection. Some distros
append alphanumeric character to the version number.
* include/functions_reporting.php: Fixed SLA bars. Unknown intervals were
not properly computed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9584 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php: fixed the link of other visual
map when it is in a public visual console.
Incident: #658
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9578 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.main.php,
godmode/reporting/reporting_builder.php,
include/functions_users.php: fixed the access to the report with the
user profile "RW" and "RM".
Incident: #655
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php,
include/javascript/pandora_modules.js: fixed the automagic deletion
of macros when load a component.
Incident: #654
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Change the unknown mode
to dont set data to 0 when is unknown and to not ignore
unknown periods when are too short. Fixed events, alerts
and unknown graphs in boolean graphs too.
* include/functions_events.php: Delete useless link
to deprecated url in events details (module link)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js: fixed the javascript to
load the WMI query in the form to edit the module.
Incident: #598
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form.php: fixed the
fields for wmi that was disabled.
Incident: #637
* godmode/modules/manage_network_components_form_common.php,
godmode/modules/manage_network_components_form_wmi.php:
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js: fixed the position of buttons
in the flot area graphs when the graphs are in other pages than
stat win.
Incident: #560
* operation/agentes/graphs.php, include/graphs/fgraph.php,
include/graphs/functions_flot.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9542 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: sla reports with sla
completion equal to 100 are ok, not "inside limits".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php,
operation/agentes/estado_monitores.php: added the snapshot feature
in the view of monitors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
operation/visual_console/render_view.php: cleaned source code style.
* include/functions_reporting.php: fixed the legend for the graphs
into the topn element report.
Incident: #597
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f