*extensions/snmp_explorer.php,
operation/agentes/estado_monitores.php,
operation/agentes/ver_agente.php,
operation/snmpconsole/snmp_view.php,
operation/gis_maps/render_view.php,
godmode/agentes/fields_manager.php,
godmode/agentes/configure_field.php,
godmode/agentes/planned_downtime.php: Fixed a problem with agent sec
param changed from gagente to estado in order to display new menus properly
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_network_map.php
include/help/es/help_network_map.php
operation/agentes/networkmap.php: Fixed bug changing the
map name and improved the usability of the settings form
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6063 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: Put units in module view.
Fixed a Postgrest missing ")" in SQL.
* operation/agentes/status_monitor.php: Put units in module view.
* operation/agentes/alerts_status.php: better layout on alert
tabular view, now using dynamic width.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6053 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: into the function
"agents_get_agent_id" the parameter "$io_safe_input" for transform
the names if true, by default false.
* operation/agentes/networkmap.topology.php,
operation/agentes/networkmap.php, include/functions_ui.php: cleaned
source code style.
Merged from th branch "pandora_4.0".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6017 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/stat_win.php: Fixed i18n support. Changed
the description for reloading and the name of the submit button.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5972 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php: Added columns to edit agent
from operaion view. Only for admins
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5937 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_action_alerts.php
godmode/massive/massive_delete_alerts.php
godmode/massive/massive_edit_modules.php
godmode/massive/massive_add_action_alerts.php: Improve some parts
of massive operations section as add ALL/COMMON switch in the
agents/modules selectors, allow to select multiple alert actions
in the delete/add operations, add the period advanced control to
the modules edition section and improve this period control
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php
godmode/massive/massive_delete_modules.php
godmode/massive/massive_edit_modules.php: Added the same
extended form of the massive edit modules to massive
delete modules section. Added to both a new combo to
select the behavior of the multi select of agents/modules
selecting all or common for the result.
Fixed some bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php: Fixed several usability problems.
Fixed search problem with html entities (blank spaces, etc).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
operation/agentes/stat_win.php: Fixed period control
in the popup graph menu (stat_win) merged from 4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5811 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js
include/functions_custom_graphs.php
include/functions.php
operation/agentes/datos_agente.php
operation/agentes/gis_view.php
operation/agentes/graphs.php
operation/agentes/stat_win.php
operation/reporting/graph_viewer.php
mobile/operation/agents/view_agents.php
godmode/agentes/agent_manager.php
godmode/massive/massive_edit_agents.php
godmode/reporting/graph_builder.main.php
godmode/reporting/reporting_builder.item_editor.php
godmode/reporting/graph_builder.preview.php: changed the
html_print_extended_select_for_time function to select
easily the custom period and do it genericly.
Clean all the calls to this function and unify the
combo periods.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5775 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
* 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
* 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
* 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
* 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
* 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
* operation/agentes/estado_ultimopaquete.php: Fixed bug in this view
When a module is in a unknown status shows "NeverUnknown" instead of
"Unknow".
Fixes: #3487321
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Added avg_only option to boolean
graphs, string graphs have more space between elements in legend,
added units to all graphs.
* include/graphs/functions_fsgraph.php: Added unit to flash chart
of type 2D column.
* include/graphs/fgraph.php: Added unit to static version.
* include/functions_forecast.php: Fixed division by zero in
projection graphs when all data is zero.
* operation/agentes/stat_win.php: Added avg_only option for boolean
graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5653 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/javascript/pandora.js
operation/agentes/stat_win.php: Added new graph for module events
in the module popup graph window.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
operation/incidents/incident.php
operation/incidents/incident_detail.php
operation/agentes/ver_agente.php
godmode/agentes/agent_incidents.php
godmode/agentes/configurar_agente.php: Added the possibility to add
agent to an incident and added new tab in agent view if the agent
has incidents associated.
* pandoradb.postgreSQL.sql
pandoradb.oracle.sql
pandoradb.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: modified
table tincidencia.
Pending task: # 3472447
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: Fixed bug: count in the group
mode is not well done because ignore the disabled modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5372 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: Fixed that long module names
cannot be seen. (Added title.)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5285 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php
operation/agentes/group_view.php: Improved group view
with hierarchy to feature request 3444380
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5241 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php
godmode/agentes/modificar_agente.php: Added tab on header in the
agent list views to navigate from operation to godmode sections
improving usability
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager.php: Added status column in
godmode view of modules and added delete button in
edition module view
* operation/agentes/estado_monitores.php: Fixed missed
extra query to not show modules of foreign policies
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5239 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php: Fixed pagination transfer
from form in the operation agents view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5217 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php
include/functions.php
include/functions_agents.php
operation/search_modules.php
operation/agentes/status_monitor.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/alerts_status.php
operation/agentes/estado_generalagente.php
operation/agentes/estado_agente.php
operation/agentes/estado_monitores.php
operation/agentes/ver_agente.php
operation/search_agents.php
operation/search_alerts.php
godmode/agentes/module_manager.php
godmode/agentes/modificar_agente.php
godmode/agentes/configurar_agente.php
godmode/alerts/alert_list.list.php
godmode/users/configure_user.php: Reconstruct policy acl
system to allow in enterprise version get extra access for
a user in a policy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5168 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/networkmap.php
include/functions_networkmap.php: Added links to agents, modules
and groups in single view of networkmaps.
Fixes: #3439487
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/fgraph.php
include/functions_reporting.php
operation/agentes/ver_agente.php: Modules in 'top_n' reports are
sorted and graphs are displayed.
Fixes: #3422013
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5113 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_ultimopaquete.php: Fixed layout in this
view when module data is a string.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5055 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: fixed the query for to don't show
the "not_init" modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4989 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/alerts_status.php: change the user rights to validate
alert, before it was "LW" and now it is "AW". This new user rights tell me
Sancho.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4910 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_alerts.php,
godmode/massive/massive_edit_modules.php,
operation/agentes/ver_agente.php: Added group recursion feature,
it allows to search agents in child groups. These three changes
are contributed by Yusuke Arai. Thanks!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: fixed the massive deletion alerts with
modules with white spaces.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Added recon script SNMP by default.
* DEBIAN/control,
DEBIAN/make_deb_package.sh: Updated version (4.0RC1)
* operation/agentes/graphs.php: By default will show only AVG
graphs.
* config_process.php: Updated version to 4.0RC1.
* pandora_console.spec,
pandora_console.redhat.spec: Updated specs for 4.0RC1 release.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: Added feature to show vmware manager
extension tab only when the agent is a virtual machine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4778 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php: Changed the
IP address view in the agent info from a useless combo
to a text with the main addres and help_tip with the others
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/oracle.php
include/functions_config.php
operation/agentes/estado_ultimopaquete.php
godmode/agentes/agent_manager.php: Changed some queries in order to make
them compatible with Oracle.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, operation/agentes/stat_win.php: fixeds to
show always units, and now show only avg by default, and now run the
showing baseline again.
Fixes: #3390113
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: erased the notice php messages
when $module["extended_info"] is empty.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php: Fixed: Agent Search engine fails with blank at the beginning or end.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/stat_win.php: Fixed bad url build with
database host value. Now with SERVER_NAME from $_SERVER
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4717 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql: Added
a new column to store extended module information.
* operation/agentes/status_monitor.php,
operation/agentes/estado_monitores.php: Added help tips to display
extended module information.
* extras/pandoradb_migrate_v3.2_to_v4.0.sql,
godmode/agentes/agent_manager.php,
include/styles/tip.css,
include/functions_ui.php: Added support for help tips with custom
images.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/alert_status.php
include/functions_ui.php: fixed a bug regarding
dissappeared alert status bar and validation perms.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php
include/functions.php
operation/agentes/stat_win.php
general/pandora_help.php: Create new functions to manage pandora
languages.
Fix pandora_help languages to use the user language, no always the
global language.
Fix som SESSION index little bugs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/networkmap.php: fixed bug 3374043
regarding having different network maps with the same name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: Fixed an empty group check
and a subquery_enterprise not exist variables for bug 3371206
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
operation/agentes/ver_agente.php: Add hack to send to the ajax
a custom condition of modules in the agent_changed_by_multiple_agents
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4577 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/functions.php
operation/agentes/estado_monitores.php
operation/agentes/networkmap.php
godmode/modules/manage_nc_groups.php: Fixes in this views in order
to have compatibility with IE.
Bug: #3274423
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4547 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php,
godmode/agentes/modificar_agente.php: Improved group selection, it
allows group recursion.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4540 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
operation/agentes/networkmap.topology.php
operation/agentes/ver_agente.php
operation/agentes/networkmap.php
extras/pandoradb_migrate_v3.2_to_v4.0.sql: Add to the topology
network maps a switch to show the snmp_inc modules with their
ip addresses if they have for task 3296127
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Added a new function to show max/min
values for module.
* operation/agentes/estado_monitores.php,
operation/agentes/status_monitor.php: Improved to show max/min
values for module.
* godmode/agentes/module_manager.php: Modified to use the function,
ui_print_module_warn_value() to show max/min values for module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Improved function ui_print_string_substr to
render a span with a predefined font size.
* godmode/setup/os.list.php,
godmode/groups/modu_group_list.php,
godmode/groups/group_list.php,
godmode/alerts/alert_commands.php: Show element's ID in tables, useful
to use later in CLI, CVS importer or other tool.
* godmode/agentes/module_manager.php
godmode/agentes/module_manager_editor_common.php: Show warning/critical
thresholds instead max/min values for module, much more useful. Aesthetic
changes on editor and description visualization.
* godmode/agentes/agent_manager.php: Added a direct link to delete current
agent from main agent edit section.
* operation/agentes/status_monitor.php,
operation/agentes/estado_monitores.php: usability fixes on desc. size
and table width.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_tags.php
operation/agentes/estado_monitores.php: Tooltip with module tag
information in this view.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4426 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: Improved filter. It allows
to select 'Specify time range' and search string.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4414 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed a deprecated function call
* include/functions_reporting.php: Fixed a deprecated function call and
removed some connection error messages
* include/functions.php: Disabled agents/modules report type when
metaconsole is active
* operation/agentes/ver_agente.php: Removed some connection error messages
* godmode/reporting/reporting_builder.list_items.php: Removed some
connection error messages
* godmode/reporting/reporting_builder.php: Added getting server name for
sql reports & custom graph in metaconsole
* godmode/reporting/reporting_builder.item_editor.php: Added Server
combo box, custom graph for metaconsole & removed some connection error
messages
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4394 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Edited "render_report_html" function
to work with metaconsole printing metaconsole elements
* include/javascript/pandora.js: Modified autocomplete javascript to use
with metaconsole
* include/ajax/reporting.ajax.php: Edited to work with metaconsole
* include/ajax/agent.php: Edited autocomplete to work with metaconsole
* operation/agentes/ver_agente.php: Modified to get the agent's modules
using metacofacensole
* godmode/reporting/reporting_builder.list_items.php: Edited to display
agents & modules in metaconsole. Edited top filters to work with
metaconsole
* godmode/reporting/reporting_builder.php: Added getting parameter
server_name & fixed deleting items
* godmode/reporting/reporting_builder.item_editor.php: Edited to send
the host when metaconsole is active
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/alerts_status.php
include/functions_agents.php: Fixed filter Status in Alert Detail and pagination.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: changed the source code to fixed the
enterprise call in function "agents_get_agents".
* operation/agentes/estado_agente.php: apply the change to the call
"agents_get_agents".
Fixes: #3303426
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php
include/config_process.php
include/functions_agents.php
operation/agentes/status_monitor.php
operation/agentes/estado_agente.php: Several corrections
over sql queries for Oracle DBMS.
* godmode/db/db_info.php: Added include to
functions_fsgraph.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4363 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php: fixed ACL when the user have a
"Pandora Management" in any group that show agents of all groups.
Fixes: #3300611
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4350 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_servers.php
include/functions_agents.php
operation/agentes/estado_agente.php: Fixed bad queries for console over
Oracle DBMS.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4349 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: added new parameter for the "check_acl" function
the $id_agent, by default is 0, and this parameter now only is used in the
enterprise ACL check (as you see in the hook for enterprise into the
function source). And cleaned source code style.
* include/functions_agents.php, operation/search_modules.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/alerts_status.php, operation/agentes/estado_agente.php,
operation/agentes/estado_monitores.php, operation/agentes/ver_agente.php,
godmode/agentes/module_manager.php, godmode/agentes/modificar_agente.php,
godmode/agentes/configurar_agente.php, godmode/alerts/alert_list.list.php:
added checks for the ACL enterprise.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4347 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_profile.php: modified the function "create_user_profile"
for to return the id of new user profile.
* include/functions_agents.php: added in function "agents_get_agents" the
code to filter with enterprise ACL.
* operation/agentes/estado_agente.php: cleaned source code style.
* godmode/agentes/modificar_agente.php: added the filter for to
enterprise ACL.
* godmode/users/configure_user.php: added hooks for to enterprise ACL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4332 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_agente.php: Replaced a call to the old
get_db_all_rows_sql with db_get_all_rows_sql.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed the default value for
zero/null date "0000-00-00 00:00:00" to "01-01-1970 00:00:00".
* include/functions_graph.php,include/db/postgresql.php,
include/functions_modules.php, include/functions_agents.php,
operation/agentes/alerts_status.php,
operation/agentes/estado_generalagente.php,
operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
operation/agentes/ver_agente.php, operation/servers/view_server.php,
operation/gis_maps/ajax.php, godmode/db/db_sanity.php,
godmode/agentes/agent_template.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/configurar_agente.php, godmode/servers/plugin.php,
godmode/snmpconsole/snmp_alert.php: small fixeds for the support the
PostgreSQL engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/fgraph.php, operation/agentes/stat_win.php: fixed duplicate
functions, and start to support custom font in Pandora connector.
* index.php: fixed when include again the extension file.
* include/functions_html.php: fixed when include this file in other
location to index.
* godmode/reporting/graph_builder.preview.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4268 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
include/functions_reporting.php
include/functions_alerts.php
operation/incidents/incident_detail.php
operation/agentes/status_events.php
operation/agentes/tactical.php
operation/integria_incidents/incident_detail.php
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php
operation/reporting/reporting_xml.php: Functions in functions_events.php have "events_"
prefix.
* index.php: Added some "db_" prefixes that I forgot in my last commit. Functions in
functions_events.php have "events_" prefix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4260 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/fgraph.php,
operation/agentes/graphs.php, operation/agentes/stat_win.php: added the
new engine.
* include/graphs/functions_pchart.php: fixed the default value for some
graph data confs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4249 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, godmode/reporting/graph_builder.preview.php:
fixes for the new graph engine.
* operation/agentes/estado_monitores.php: added a toggle button to show the
the entire value or sub string for value (by default).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php, operation/agentes/estado_generalagente.php: some
fixes and changes in the new graph engine.
* operation/agentes/stat_win.php: fixed the tittle of popup window.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: added constants for some graphs. Added
function "graphic_agentaccess2" and function "graph_event_module2".
* include/graphs/functions_pchart.php: added checked previous $color and
$legend to avoid PHP warnings, added some code to calculate the bottom
margin.
* include/graphs/fgraph.php: at the moment in this file call
"fs_3d_pie_chart2" instead "fs_3d_pie_chart". Erased the color and legend in
the piegraph.
* operation/agentes/estado_generalagente.php: use new graphics functions.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4193 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php, include/functions_graph.php,
include/graphs/functions_utils.php, include/fgraph.php: cleaned source code
style.
* include/functions_graph.php: added first version of function
"graphic_combined_module2".
* include/graphs/functions_pchart.php: fixed when pass a empty array as
colour for graphs.
* include/graphs/pChart/pDraw.class.php: fixed to set a color border when
the graphs haven't a external defined colour.
* include/graphs/fgraph.php: changed for pass the data to static image graph
generator.
* operation/agentes/graphs.php: changed to use the new graph engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4172 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_fsgraph.php: added check if loaded the class.
* include/graphs/functions_fsgraph.php: added check if loaded the class.
Rename some functions and erased the function "fs_module_chart".
* include/graphs/functions_pchart.php: erased some debug traces.
* include/graphs/fgraph.php: cleaned the function "area_graph".
* operation/agentes/stat_win.php: cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4169 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, operation/agentes/stat_win.php: changes for
to show with new engine.
* include/graphs/functions_pchart.php,
include/graphs/pChart/pData.class.php,
include/graphs/pChart/pDraw.class.php,
include/graphs/functions_fsgraph.php,
include/graphs/fgraph.php: part of job is Sergio Martin in my laptop, the
changes to show borders in the static image graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f