* godmode/setup/setup_visuals.php, include/functions_networkmap.php,
include/functions_config.php: added the visual config value for
to set the width of networkmap, and fixed the overlap of networkmap
L2.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10277 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: Modified the function
"networkmap_generate_dot" to link the orphan nodes with a
central node when selecting the L2 network interfaces option.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10274 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: fixed into the function
networkmap_generate_dot the order of agents, now the agents without
parents are the first elements in the array.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10202 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_visuals.php,
include/functions_config.php: Added a new config token
to hold a custom path for the graphviz binaries.
* include/functions_networkmap.php: Minor fixes on the
functions "networkmap_create_module_node" and
"networkmap_open_graph".
* operation/agentes/networkmap.groups.php,
operation/agentes/networkmap.topology.php: Modified to
support the custom graphviz directory, blanks in paths, etc.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: improved the source code style.
* extensions/agents_modules.php: fixed the css for the
m$-internet exploter 11. Please Bill Gates travels to Leon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10036 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php,
include/functions_networkmap.php: added the filters for the
CIDR network masks.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9994 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
include/functions_networkmap.php: Fixed not init agent state
in networkmap.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9855 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
* 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
* 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
* extensions/update_manager/lib/functions.ajax.php,
godmode/agentes/configurar_agente.php, include/functions_html.php,
include/functions_networkmap.php: cleaned source code and removed
the debug traces.
* godmode/agentes/module_manager_editor_prediction.php,
include/constants.php: fixed the repeat operator and added some
constants for to make more easy the code.
Fixes: #2279
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php,
operation/agentes/networkmap.dinamic.php: added the tooltips and
only it needs reorganize the code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/d3.v3.js: removed some changes.
* include/functions_networkmap.php,
operation/agentes/networkmap.dinamic.php,
operation/agentes/networkmap.php: first version of dinamic view
for networkmap. It needs implement tooltip and of course fix
the new bugs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8579 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js,
include/functions_networkmap.php, include/constants.php,
include/ajax/agent.php, include/ajax/events.php: improve the
source code and remove the magic number and they changed for
constants.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/index.php, mobile/operation/networkmaps.php,
mobile/operation/networkmap.php, mobile/operation/home.php,
mobile/include/ui.class.php, include/functions_networkmap.php,
include/functions_ui.php: uploaded the some changes and files
for to show networkmaps in the Pandora mobile.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8457 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/tree.php: improved the source code style.
* include/functions_networkmap.php: remove the link in metaconsole
node and set the color.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8303 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/menu.css
include/styles/cluetip.css
include/styles/pandora.css
include/functions.php
include/functions_events.php
include/graphs/functions_gd.php
include/functions_networkmap.php
include/javascript/jquery.cluetip.js
images/outof.png: Visual improvements
* include/functions_treeview.php
extensions/module_groups.php
operation/tree.php
operation/events/events.build_table.php
operation/events/events_list.php
operation/agentes/status_monitor.php : Add to the shared
views between normal and meta controls to access remote nodes
for certain users
* include/functions_visual_map.php
include/functions_ui.php: Little bugfixes and improvements
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8237 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/networkmap.php,
include/functions_networkmap.php: set the background transparent.
Fixes: #3611686
* include/styles/pandora.css, include/functions_ui.php: fixed the
tabs in the header when the tab is bigger that standar tab, and
the separator doesn't print.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8045 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php,
operation/agentes/networkmap.topology.php,
operation/agentes/networkmap.groups.php: fixed the lost parameter
in the generation of networkmap with a text filter.
Fixes: #3602233
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: Fixed entity problem in
networkmap and hided agents without alerts if "only module with
alerts" option enabled.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_graph.php
include/functions_reporting.php
include/functions_networkmap.php
operation/reporting/reporting_viewer.php
godmode/reporting/reporting_builder.php: Fix a lot of bugs of reports and
networkmap like foreach problems and filter issues
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7199 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
include/functions_networkmap.php
operation/agentes/status_monitor.php
operation/netflow/nf_live_view.php: Improve the
performance of networkmap with the new status counts.
Modify some common code between console and metaconsole
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7185 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: updated the links and tooltips
for the nodes in the networkmap on metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: added two parameters
(flag metaconsole, id_server) into the functions
"networkmap_create_group_node" and "networkmap_create_networkmap"
for to extract data in the metaconsole enviroments. And in the
function "networkmap_create_module_node" fixes the default value of
flag for metaconsole and the links and url tooltips for the
metaconsole networkmap.
* operation/agentes/ver_agente.php: in the request for the
"get_agentmodule_status_tooltip" added code for get data in the
metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7088 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
"show_groups", "show_modules" into the table "tnetwork_map".
* include/functions_modules.php: added two parameters
(flag metaconsole, id_server) into the functions
"modules_get_agentmodule_is_init", "modules_get_agentmodule_type"
and "modules_get_agentmodule_status" for to extract data in the
metaconsole enviroments.
* include/functions_networkmap.php: added two parameters
(flag metaconsole, id_server) into the functions
"networkmap_create_agent_node" and "networkmap_create_module_node".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php: fixes and changes for the new
form to set the urls and url images.
* include/functions_html.php: fixed the "html_print_image" for the
relative urls images (uses in the networkmap).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7064 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added flag field
"pandoras_children" into the table "tnetwork_map".
* extras/check_other_languages.sh, include/functions_agents.php,
operation/agentes/networkmap_list.php: cleaned source code style.
* include/functions_networkmap.php: a lot of fixes for the
metaconsole, and other changes now generate a graphviz code more
clean and human readble (good for maintenaince).
* include/ajax/networkmap.ajax.php: into the ajax call
"get_networkmap_summary" started to adapt to call from the
metaconsole (WIP).
* include/functions_ui.php: fixes for metaconsole links to images in
the functions "ui_print_message", "ui_print_group_icon" and
"ui_toggle". And added the parameter $return in the function
"ui_toggle" for to return the html code as string.
* operation/agentes/ver_agente.php: into the ajax call
"get_agent_status_tooltip" adapt to call from the metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql: added the fields
"text_filter" and "dont_show_subgroups" for to new filters to
generate the networkmap.
* operation/agentes/networkmap.topology.php,
operation/agentes/networkmap.groups.php,
include/functions_networkmap.php, include/functions_servers.php:
added the new filters for free text for agents and hidden the
subgroups of any group in the group networkmap.
* extensions/resource_registration.php,
operation/agentes/networkmap.php, general/header.php,
godmode/netflow/nf_report_form.php,
godmode/agentes/module_manager.php, include/functions_groups.php,
include/auth/ldap.php, operation/agentes/estado_ultimopaquete.php,
include/functions.php, include/functions_db.php: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6995 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
operation/agentes/networkmap_list.php: Fixed several problems with
network maps
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6800 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/visual_console_builder.php: refixed the add the
items with modules with entities.
* include/functions_reporting.php, include/functions_networkmap.php,
include/functions_visual_map.php: cleaned source code style.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6238 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
include/ajax/networkmap.ajax.php
operation/agentes/networkmap.topology.php: Fixed several
errors in the apache log when generate networkmap and add
to the root node a little map summary
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6103 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
operation/agentes/networkmap_list.php
operation/menu.php: Added new view with a list of networkmaps.
Merged from branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6089 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, extensions/net_tools.php: cleaned
source code style.
* include/functions_networkmap.php: into the functions
"networkmap_generate_dot" and "networkmap_create_agent_node"
added new parameter $relative for set the url of icons as relative.
It is used in networmap enterprise.
* include/functions_ui.php: fixed into the function
"ui_print_message" lost the javascript code when the first messages
are without close button. And into the function "ui_print_os_icon"
added new parameter $relative for set the url of icons as relative.
It is used in networmap enterprise.
Merged from the branch "pandora_4.0".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6000 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
& Sergio Martin <sergio.martin@artica.es> using Gobby collaborative
real-time editor http://obby.0x539.de
* include/functions.php: changed into the function "get_report_types" the
array types to tree for show better the select box, and changed into the
function "get_report_name".
* include/functions_forecast.php: fixed into the function
"forecast_projection_graph" when zero data and change to user the user conf
style for the dates.
* include/functions_html.php: the function "html_debug_print" was improved
to show type and sizes.
* include/functions_reporting.php: renamed the function "header_content" to
"reporting_header_content" and in this function change to use the user conf
style for the dates.
* include/functions_networkmap.php: cleaned source code style.
Merged from the branch pandora_4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5816 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