* lib/PandoraFMS/PluginServer.pm: Fixed plugin execution failure
when multibyte characters are used in plugins macros.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9821 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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
* util/pandora_migrate_recon_scripts.pl
lib/PandoraFMS/ReconServer.pm: Add compatibility for the new
fields system (macros) of the recon scripts to the recon server.
Add migrate script from old format to new one
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9795 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
* plugins/who.sh: Output some text when there are no users connected.
Otherwise the module goes to unkown.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9763 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