* godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
godmode/agentes/agent_manager.php, include/functions_events.php,
include/functions_reporting.php: added the option "no validaded" in
the items for events.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7403 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: Fixed a problem with link to module
library because in trunk version there is an additional field to search
modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: Added a link to module library
in create module view.
MERGED FROM 4.0.3
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7361 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_template.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager.php,
include/functions_modules.php: Implemented a real not-init status.
Small fixes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: Fixed a bug only
for the Enterprise version. When 'Remote Configuration' is
enabled and you try to create new module, which name includes
meta characters, you will get the error "The field name and
name in module_name in data configuration are different."
Merged from branch 4.x.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7263 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager_editor.php: Fix tags and
latest fields on web modules editor
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.editor.php: Allowed to change
type of planned downtime while it's not active.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7153 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php,
pandoradb.sql,
pandoradb.postgreSQL.sql,
pandoradb.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
godmode/agentes/agent_template.php,
godmode/agentes/module_manager.php,
godmode/agentes/agent_manager.php: Added support for server-side
module status calculation.
* godmode/agentes/configurar_agente.php: Show 'None' when no server is
selected for an agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7148 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.editor.php: Fixed that time range
of once planned downtime cannot be changed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7123 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.list.php: Improved to show time
range of periodically planned downtime.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7122 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php
index.php
operation/menu.php
godmode/agentes/modificar_agente.php
godmode/menu.php: Fixed some pages to ACL Enterprise
and the full screen pages loading menu structure when is not
shown
Merged from 4.0.x
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7005 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/javascript/pandora.js,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: cleaned source code
style.
* godmode/agentes/module_manager_editor_prediction.php,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php,
include/functions_ui.php: started to use the new function
"ui_print_agent_autocomplete_input" to make more easy (and standar)
the autocomplete agent input.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6975 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php
godmode/modules/manage_network_components_form_common.php: Moved
instructions fields to 'advanced options' and added help tip.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6966 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/insert_data.php,
operation/incidents/incident_detail.php: started to use the new function
"ui_print_agent_autocomplete_input" to make more easy (and standar)
the autocomplete agent input.
* godmode/agentes/agent_manager.php: erased unused source code for
old ajax call, and started to use the new function
"ui_print_agent_autocomplete_input" to make more easy (and standar)
the autocomplete agent input.
* operation/agentes/exportdata.php: erased duplicated source code
for call ajax, and rewrote some javascript to use same page to
ajax.
* godmode/alerts/alert_list.builder.php,
godmode/events/event_edit_filter.php,
godmode/reporting/visual_console_builder.editor.js: rewrote some
javascript to use same page to ajax.
* include/ajax/agent.php: cleaned source code style.
* include/functions_ui.php: removed the old unused code as
the functions "ui_print_ui_agents_list" and "ui_popup_help". And
added the first version of "ui_print_agent_autocomplete_input", and
this function maybe will be changing for a some time.
* include/functions_html.php: into the function
"html_print_input_text_extended" added code to use the $alt
parameter (never it have been used before) and added the function
"html_print_input_hidden_extended" with more parameters than the
simple "html_print_input_hidden" function.
* include/javascript/pandora.js: marked as Deprecated the function
"agent_module_autocomplete".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6965 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php
godmode/agentes/configurar_agente.php: Fixed two notices
in the module creation
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6964 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.editor.php: fixed thw added
agents without modules in Quiet mode.
* godmode/agentes/planned_downtime.list.php: fixing some things like
as the link to stop.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6924 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora_legacy.css
include/styles/pandora.css
include/javascript/pandora_modules.js
godmode/agentes/module_manager_editor_common.php
godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php
godmode/servers/plugin.php: Add macros to the local modules like
the wizard or plugin modules. Fix some little bugs of interface
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6920 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
include/db/mysql.php,
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,
godmode/agentes/planned_downtime.list.php,
godmode/agentes/planned_downtime.editor.php, godmode/menu.php,
include/ajax/planned_downtime.ajax.php: refactoriced the code for
planned downtime, now this have new feature such as set a downtime
with a periodicity each week, each month and set the agents and
the modules with Quiet state instead the old form (but the old still
is). And the page is more easy and quickly to set or config a
planned downtime.
* godmode/alerts/configure_alert_template.php,
include/javascript/pandora.js: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6919 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php, godmode/agentes/planned_downtime.php,
godmode/agentes/planned_downtime.list.php,
godmode/agentes/planned_downtime.editor.php: refactoriced the code
of planned downtime in Pandora Console. Now it is more easy to
improve and maintenace.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6908 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,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor.php, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php,
operation/agentes/ver_agente.php: added in the modules the same
feature to set agent in "Quiet" mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6898 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
godmode/agentes/module_manager_editor_plugin.php
godmode/modules/manage_network_components_form_plugin.php: Fix some
little issues in the interface of new plugin system
* include/functions_visual_map.php: Fix a problem that the simple
values didnt appear in view screen
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php: Improve help tip centering the text
* general/login_help_dialog.php: Fix a typo
* godmode/agentes/module_manager_editor_plugin.php
godmode/servers/plugin.php
godmode/modules/manage_network_components_form_plugin.php: Clean plugin forms
of unecessary fields and improve the plugin editor form locking the command
configuration when a plugin is used by any modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
include/ajax/module.php
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
godmode/agentes/module_manager_editor_plugin.php
godmode/agentes/configurar_agente.php
godmode/servers/plugin.php
godmode/modules/manage_network_components.php
godmode/modules/manage_network_components_form_plugin.php: Change all the
manage plugins form adding the dynamic macros in this side. Change the
network components form to put the macro fields in this side.
* operation/users/user_edit.php: Change the "Flash chart" string
by "Interactive chart"
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php:
bug fix for enterprise version. 'Disable' checkbox was not
enabled when you unlinked modules from policies.
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6812 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: fixed the javascript
error when the module have "remote config" and set to translate
some strings that were not translated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6809 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Added
missed field to migrate scripts
* godmode/agentes/module_manager_editor.php
godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_plugin.php:
Improve code of dinamic macros and encapsulate it on enterprise
side
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6802 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php,
include/functions_modules.php,
include/functions_agents.php, operation/tree.php,
operation/agentes/estado_agente.php: fixed typo bug in the name of
"agetns_tree_view_status_img" for "agents_tree_view_status_img".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6797 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Fix
wrong sec in a link from operation to godmode
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6738 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora_modules.js
include/javascript/pandora.js
godmode/agentes/module_manager_editor_common.php
godmode/modules/manage_network_components_form_common.php:
Fixed several bugs of the network/local components javascript
code and added new fields to local components
Add new code on advanced select for time to update it from
javascript and a workaround to do it from code loaded through
ajax
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6736 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php
operation/search_modules.php
operation/agentes/status_monitor.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/estado_monitores.php
operation/search_agents.php
operation/search_alerts.php
godmode/agentes/module_manager.php
godmode/agentes/modificar_agente.php
godmode/users/configure_user.php: Cleaned some old
code of policy ACL to fix and prevent important bugs
Merged from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
godmode/agentes/module_manager.php: Added not init status
in the manage modules view for bug 3533341
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
godmode/agentes/module_manager_editor_common.php: Modified width
of module type select in module editor when you are
editing/creating a network module.
* include/functions.php
godmode/reporting/visual_console_builder.php: Fixed autorefresh
functionality.
* include/functions_ui.php
godmode/massive/massive_edit_modules.php
operation/agentes/ver_agente.php: Several Php warnings
fixed over console code.
* godmode/reporting/reporting_builder.list_items.php: Fixed broken
view due to a bad sintax statement.
Merged fro branches.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php, include/functions_reporting.php,
include/functions_groups.php, include/functions_visual_map.php,
include/ajax/reporting.ajax.php, include/functions_ui.php,
extensions/agents_modules.php, extensions/module_groups.php,
operation/incidents/incident.php,
operation/incidents/incident_detail.php,
operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_agente.php,
operation/agentes/ver_agente.php,
operation/snmpconsole/snmp_view.php.
operation/integria_incidents/incident.incident.php,
mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/view_alerts.php,
mobile/operation/events/events.php,
godmode/groups/modu_group_list.php, godmode/groups/group_list.php,
godmode/agentes/module_manager.php,
godmode/agentes/modificar_agente.php,
godmode/agentes/configurar_agente.php,
godmode/alerts/alert_list.list.php, godmode/setup/os.list.php,
godmode/users/configure_user.php,
godmode/modules/manage_network_templates.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/tag/tag.php: changed the calls of "ui_print_truncate_text"
now we are trying that more easy and standar, now the string name of
agent have the equal number of characters in all code...but there
are two styles, small and medium size for agents text name, modules
text name, but description is only size. You can set this sizes in
the visual setup page into your Pandora.
MERGED from 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manage_editor_common.php: Disable button
'disabled' when a module is linked to a policy.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: Fixed strings of link
and unlink actions due to bad translation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6532 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.php: fixed that 'Affect'
column at 'planned downtime' may show bad values. cleaned
source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6417 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_template.php: Fixed bug: adding
modules to an agent with templates, if the agent already had
modules can be duplicated with the same name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php: A bit more
space on IP target field (a URL doesn't fit there!).
* include/styles/pandora.css: Plugin description is not shown
in small font.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Fixed
desactivation of history data when edit a policy module
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6336 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_ultimopaquete.php
godmode/agentes/module_manager.php: Added string filter
to modules view in the operation and godmode views for
pending #3482262
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6299 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
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
godmode/agentes/module_manager_editor_common.php
godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_common.php
godmode/modules/manage_network_components.php: Fix some layout
little bugs in module editor and added unit parameter
to network components for pending task #3520706
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
All changes (except a small patch on function_groups) are
ported from 4.0.2 development branch.
* include/help/en/help_main_help.php: Added new general
introduction help file. Need work.
* include/functions_events.php: Fixed link colors and other
aesthetic improvements.
* include/styles/pandora_legacy.css
include/styles/pandora_black.css
include/styles/pandora.css
include/styles/pandora_bluenavy.css
include/styles/pandora_minimal.css
include/styles/pandora_blackmetal.css
include/styles/pandora_green.css:
* extensions/agents_modules.php,
include/functions_groups.php: now colors uses CSS instead
fixed codes in code. In function_groups also I've also applied a missing
patch from the 4.0 with corrections on the Group extration from the DB.
* operation/events/sound_events.php: Fixed small format problem.
* operation/events/events_list.php: Link on event now "zoom it" instead
filter for the same events (nosense since agrupatio is the default view!).
Fixed a lof of aesthetic issues, now uses CSS for most issues.
* operation/agentes/tactical.php
operation/agentes/estado_generalagente.php: more work in the visual
aspect of the information.
* images/status_sets/default/agent_ok.png
images/status_sets/default/module_warning.png
images/status_sets/default/module_ok.png
images/status_sets/default/agent_warning.png: Replaced colors with
more contrast, easier to view for operators!.
* images/header_f2b.png
images/header_f2.png: new style headers.
* general/header.php: New icon for general help.
* godmode/agentes/agent_manager.php: Removed ugly visualization for GIS
agent icons. Now it's much better :)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6236 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
*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
* operation/servers/recon_view.php: Fix column header.
* godmode/agentes/module_manager_editor_plugin.php: Now plugin description
is shown formatted (\n -> <br>). Some fields have better layout.
* godmode/servers/plugin.php: Ajax load of description is now formatted.
* godmode/servers/manage_recontask.php: Fix link to show recon server.
* godmode/servers/manage_recontask_form.php: Wider textarea.
* pandoradb_data.sql: New defaults (4 plugins, 2 recon scripts).
* include/functions_events.php: More space visible in event info, smaller
font.
* include/config_process.php: Updated version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6028 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Fixed a problem with links
and new menu strcuture.
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6013 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_disk_conf_editor.php: Print message
using new message box
MERGED FROM 4.0.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6010 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
include/functions.php
extensions/snmp_explorer.php
godmode/agentes/module_manager_editor.php: Fixed several errors in
snmp walk and snmp explorer functionality.
Fixes: #3514508
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5896 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/javascript/pandora.js: Fixed problem with two
or more time controls at the same time adding uniq id
to selects
* godmode/agentes/module_manager_editor_common.php
godmode/reporting/reporting_builder.item_editor.php: Clean
code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5785 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js
godmode/agentes/module_manager_editor_common.php: Added
advanced select for time to modules create/update form,
improve layout of this form and add default value of
5 minutes to select
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5776 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/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
* 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
* 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
* 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/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/functions_agents.php,
godmode/agentes/module_manager_editor_common.php: cleaned source code style.
* include/styles/dialog.css: fixed the bad comment lines.
* include/styles/pandora.css: fixed the bad comment lines and added the
style for the button to save in visual console editor.
* images/file.disabled.png: added image file for the button save in the
visual console editor.
* images/config.disabled.png: fixed the image, now the side is equal to
enabled image.
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php: added feature the save
the movements of items when user want, and added feature the snap to grid
the items in visual map, fixed the resize background (in some oldcases
didn't run fine).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5627 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* * extensions/module_groups.php, include/functions_modules.php,
godmode/agentes/module_manager_editor_prediction.php: cleaned
source code style.
* godmode/agentes/configurar_agente.php: cleaned source code style and fixed
the duplication of module.
* include/functions_agents.php: fixed the get modules into function
"agents_get_modules", before the function return ever the policy modules
without apply filter.
Fixes: #3482260
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: only added a comment for to explain
the reason because the modules from predictionserver is erased for the
creation policies modules. The reason is because there aren't the table
tmodule_synth and some code to apply this kind modules in policy too.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5497 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
* godmode/agentes/module_manager_editor.php: Fixe module editor when the
data configuration textarea is empty or is a module plugin
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php
godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager.php: Some corrections over this
views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5259 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
* godmode/agentes/agent_conf_gis.php
godmode/gis_maps/configure_gis_map.php: Changed order of latitude,
longitude and altitude in Gis maps information.
Fixes: #3450292
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5230 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions.php
extensions/snmp_explorer.php
godmode/agentes/configurar_agente.php
godmode/massive/massive_edit_modules.php: Check if a module
name exists in the agent when you edit the module and
improve the errors feedback
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5229 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
include/functions_api.php
include/functions.php
extensions/snmp_explorer.php
godmode/agentes/module_manager_editor_common.php
godmode/agentes/configurar_agente.php: limited the
modules creation to not allows to create one if exists
a module with the same name in the agent to avoid
recreate a module when go back in the browser.
Bugfix: 3416129
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5227 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
* godmode/agentes/module_manager_editor_network.php: Added Js in
order to display combos correctly in IE.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5032 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/snmp_explorer.php
godmode/agentes/agent_manager.php: Fixed timeout problem
with big machines changing the transfer to ajax data mode
to serialize way. Fixed little bugs as None option when
are data and few checks to avoid errors when try create
modules without select any OID.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5023 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.php: fixed to avoid create or update
"Planned downtimes" with empty names or all white spaces or identical name
to others. And disabled the button to add agent in the "Planned downtimes"
when in the list of agents in group is none.
Fixes: #3371256
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4903 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: added in the call
"config_agents_write_module_in_conf" the parameter to disabled local
modulo.
Fixes: #3400159
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4838 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
*godmode/agentes/fields_manager.php: Fixed: is possible to create custom fields with the same name.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4837 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: added javascript alert message
when the name in field and remote config is different.
Fixes: #3397306
* godmode/agentes/configurar_agente.php: fixed when copy a module the name
now is safe input type.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: disabled snmp community
when set the version 3, and added tooltip to show help in Auth and privacy
pass about the eight characters minimum.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4776 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/snmp_explorer.php
godmode/agentes/agent_manager.php: Add extension to the agents
management to get modules from SNMP with a wizard
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4768 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: added better message when could
delete agent with remote config.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4753 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: check if Pandora can delete the conf and md5
file in function "agents_delete_agent"
* godmode/agentes/modificar_agente.php: show message of result from the
deleting action.
Fixes: #3392526
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4752 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
* 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
* godmode/agentes/configurar_agente.php: fixed
a bug regarding unability to add new modules to
agents using components.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console/godmode: Fixed a bug regarding
a bad placement of the page footer in some sections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4602 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/modu_group_list.php: Fixed a bug
regarding adition of module groups with a identical names.
* godmode/agentes/planned_downtime.php: Fixed a bug
regarding adition of planned downtimes with identical
or blank "name" fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php
godmode/agentes/configurar_agente.php: Changed the fields
system on prediction modules to use 'prediction_module' as
flag 1 to modules, 2 to services and 3 to synthetic, and
the custom_integer_1 to module or service id (unused in synth)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4560 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.2_to_v4.0.sql
godmode/agentes/module_manager_editor_prediction.php: Fix a check
bug and added to migration database schemma a fix for the prediction
modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4558 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: Fixed function print_select_groups()
to retrieve subgroups with parent distinct than "group All".
Fixes: #3365845
* godmode/agentes/modificar_agente.php: Fixed call to
print_select_groups() to check user ACLs.
* ChangeLog: fixed date of my last commit.
* general/logoff.php: Changed logout splash screen.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4557 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_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/graphs/functions_fsgraph.php: Updated a deprecated function
call
* include/functions_reporting.php: ixed a mistake using the wrong
variable to print pie graph
* godmode/agentes/module_manager_editor_prediction.php: Removed a
html_debug_print call
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4429 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_prediction.php: Edited to get
"custom_integer_2" parameter & Added period combo
* godmode/agentes/module_manager_editor.php: Edited to get
"custom_integer_2" parameter
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4400 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
to "tagente_modulo" table.
* include/functions_modules.php
include/functions_tags.php
godmode/agentes/module_manager_editor_common.php
godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php
godmode/tag/tag.php
godmode/tag/edit_tag.php: Now it's possible to add tags
to modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4389 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* images/cog_db.png
images/cross_undo.png
godmode/agentes/module_manager_editor.php: Added two new images to
queue and added check when relink a module into policy avoiding it
when te policy is applying
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Added hidden field
in module edition form to keep the type when is disabled
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4375 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
* godmode/agentes/module_manager_editor.php
include/javascript/pandora_modules.js: Fixed bug: Is possible to create a module plugin without module associated.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4337 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
* godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php: Added the feature of
edit the modules from the agent config or create a module from
a local component or manually
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4307 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_modules.php: Fixed an error about the agent status
* godmode/agentes/agent_template.php: Fixed an error about the agent
status
Fix: #3251822
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4256 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/users_connected.php
operation/incidents/incident.list.php
godmode/agentes/module_manager.php: Fixed some mistakes of my last
commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4194 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php, operation/incidents/incident.php,
operation/agentes/status_monitor.php, operation/agentes/datos_agente.php,
operation/servers/view_server.php, operation/snmpconsole/snmp_view.php,
operation/events/events_rss.php, operation/events/events_list.php,
operation/events/events_marquee.php, operation/search_users.php,
mobile/operation/agents/monitor_status.php,
mobile/operation/agents/view_agents.php,
mobile/operation/agents/view_alerts.php, mobile/operation/events/events.php,
mobile/include/functions_web.php, godmode/admin_access_logs.php,
godmode/agentes/modificar_agente.php, godmode/alerts/alert_actions.php,
godmode/reporting/reporting_builder.list_items.php: changed and addded in
the source, the SQL queries for the "LIMIT x, x" to "LIMIT x OFFSET x", that
it is standard for PostgreSQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4080 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php, include/functions_db.php,
operation/incidents/incident_detail.php, godmode/agentes/agent_template.php,
godmode/servers/manage_recontask.php, godmode/snmpconsole/snmp_alert.php,
godmode/users/configure_profile.php: change the source code
for to use process_sql_insert instead of the SQL (SQL write in multiple lines).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4071 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_api.php, include/functions_db.php,
extensions/update_manager.php, extensions/plugin_registration.php,
operation/incidents/incident.php, operation/incidents/incident_detail.php,
godmode/agentes/planned_downtime.php, godmode/servers/recon_script.php,
godmode/snmpconsole/snmp_filters.php, godmode/setup/news.php,
godmode/modules/manage_network_templates_form.php: change the source code
for to use process_sql_insert instead of the SQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php, include/functions_reporting.php,
include/functions_gis.php, include/functions_servers.php,
include/ajax/reporting.ajax.php, include/fgraph.php,
include/functions_db.php, include/functions_alerts.php,
include/functions_reports.php, extensions/system_info.php,
extensions/agents_modules.php, operation/agentes/group_view.php,
operation/events/events_rss.php, operation/reporting/reporting_xml.php,
operation/reporting/reporting_viewer.php, extras/pandora_diag.php,
general/logon_ok.php, godmode/db/db_audit.php, godmode/db/db_event.php,
godmode/db/db_purge.php, godmode/agentes/planned_downtime.php,
godmode/setup/setup.php,
godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_delete_modules.php,
godmode/massive/massive_standby_alerts.php,
godmode/modules/manage_network_templates.php,
godmode/modules/manage_network_templates_form.php,
godmode/reporting/reporting_builder.list_items.php,
godmode/reporting/reporting_builder.preview.php,
godmode/reporting/reporting_builder.php: changes for to use character " in
the SQL queries for PostgreSQL, in some cases. In other case there are more
changes for to create SQL query PostgreSQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4062 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/postgresql.php, include/db/mysql.php, include/functions_db.php:
fixed the function "get_db_all_rows_filter" for PostgreSQL engine, added
new function "get_db_last_error" and derivate functions in DB engines. And
added new parameter $status in function "process_sql".
* extensions/dbmanager.php, general/error_authconfig.php,
general/error_dbconfig.php, godmode/groups/modu_group_list.php,
godmode/groups/group_list.php, godmode/db/db_sanity.php,
godmode/agentes/fields_manager.php,
godmode/agentes/manage_config_remote.php, godmode/servers/recon_script.php,
godmode/servers/plugin.php, godmode/modules/module_list.php,
godmode/modules/manage_network_components_form_wmi.php,
godmode/reporting/graphs.php: changed the calls to mysql functions to own
functions, and rewrote some parts of source code for this action.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/news.php, godmode/setup/links.php, include/fgraph.php,
operation/agentes/status_monitor.php, operation/reporting/graph_viewer.php:
changed the calls to mysql functions to own functions.
* godmode/agentes/module_manager.php: marked with a comment the source code
the SQL postgreSQL and mySQL standar querys.
* include/functions_html.php, include/db/postgresql.php,
include/functions_reporting.php, include/pchart_graph.php,
include/functions_db.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4056 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: fixed the return of ajax call to
search parents, now the agent names is without html entities.
Fixes: #3174872
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3957 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Fixed bad layout when
length of agent name is more than 25.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3930 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: added to call to enterprise functions
to delete "pseudo code" of local module when delete in multiple delete
action.
Fixes: #3161621
* include/functions_filemanager.php: cleaned source code old unused
comments.
* include/functions_ui.php: in function "printTruncateText" fixed when pass
0 character to trunk, now return all text. And in function
"print_agent_name" cleaned source code style.
* operation/agentes/estado_agente.php: fixed order of params in the call
of function "print_agent_name".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* trunk/pandora_console/include/functions_html.php: print_select function edited to deal with long fields.
* trunk/pandora_console/include/functions_ui.php: printTruncateText function edited to truncate in the middle of the word.
* trunk/pandora_console/pandoradb.sql: changed type for field "nombre" in "tgrupo" table.
* trunk/pandora_console/pandora_console_install: added support for Fedora. Thanks to philipmbrown.
* trunk/pandora_console/extensions/agents_modules.php: truncated text to 19 characters showing agent names
* trunk/pandora_console/operation/agentes/group_view.php: Truncated group name to deal with long fields.
* trunk/pandora_console/extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed type for field "nombre" in "tgrupo" table.
* trunk/pandora_console/godmode/groups/group_list.php: Truncated group name to deal with long fields.
* trunk/pandora_console/godmode/agentes/modificar_agente.php: truncated agent names to deal with long fields.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_extensions.php: added functions
"add_extension_godmode_tab_agent" and "add_extension_opemode_tab_agent" to
add the extensions tab in the header in operation and godmode.
* operation/agentes/ver_agente.php,
godmode/agentes/configurar_agente.php: added hook for to add the extension
tabs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added the function
"print_autocomplete_modules". This function is same to magic-select box for
agents instead this for modules.
* include/javascript/jquery.ui.datepicker.js,
include/javascript/jquery.ui.droppable.js: fixed end of lines that it
haven't semicolon end char.
* include/ajax/module.php: fix version of file that responds to ajax
request for the magic-select box for modules.
* include/functions_ui.php: in function "format_alert_row" use new call
for the "isAlertInPolicy2".
* include/functions_db.php: added in function "get_agent_modules" for the
parameter $filter, the posibility to search with the "like" mysql operator.
* images/lightning_blue.png: blue lighting for new magic-select box agents.
* godmode/agentes/configurar_agente.php: cleaned source code style.
* godmode/alerts/alert_list.list.php: use new call for the
"isAlertInPolicy2". And fixed the column align for policies and actions.
* godmode/reporting/reporting_builder.list_items.php: erased old source
code lines comments.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3509 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: cleaned source code style. And added line
comments for to explain obfuscated $$ operation in function
"print_input_text_extended".
* godmode/agentes/module_manager_editor_plugin.php: set the field
"plugin_parameters" with unlimited size.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3483 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/dbmanager.php, godmode/agentes/module_manager_editor.php,
godmode/massive/massive_add_alerts.php,
godmode/massive/massive_copy_modules.php,
godmode/massive/massive_delete_agents.php,
godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_operations.php,
godmode/massive/massive_delete_profiles.php,
godmode/massive/massive_edit_agents.php,
godmode/massive/massive_delete_action_alerts.php,
godmode/massive/massive_delete_modules.php,
godmode/massive/massive_add_profiles.php,
godmode/massive/massive_delete_alerts.php,
godmode/massive/massive_edit_modules.php,
godmode/massive/massive_standby_alerts.php,
godmode/massive/massive_add_action_alerts.php: now in the source code pick
more info in the audit for actions.
Pending tasks: #3089687
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3480 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php,
godmode/agentes/configurar_agente.php: now in the source code pick more
info in the audit for actions to create, update and delete agent, and in
other hand for the actions to create, update, duplicate and delete module.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3472 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php,
godmode/massive/massive_edit_agents.php: erased the calls "debugPrint" found
in source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3471 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: Added enterprise
check before isModuleAdopt(). It is not in opensource version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3454 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/db/db_refine.php, godmode/agentes/manage_config_remote.php,
godmode/admin_access_logs.php, godmode/snmpconsole/snmp_filters.php,
godmode/snmpconsole/snmp_alert.php: Updated year, close html tags, put pixel
in tables, center some icons, small cosmetics changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3450 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: added lines to unblock
SNMP community when the module is adopt.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3407 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
godmode/agentes/module_manager.php
godmode/agentes/configurar_agente.php: Added clone module
into an agent to the manage modules view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3404 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added in the
table "tagente_modulo" the field "policy_adopted" for to set a module
pre exist in policy as adopted.
*operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager.php: show the icon of "adopted" or "adopted
but unlinked" in the list of modules.
Pending tasks: #3083123
* include/functions_modules.php: cleaned source code style in function
"update_agent_module".
* godmode/agentes/module_manager_editor_network.php: fixed warning messages
when use this file in policies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3402 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php
include/functions_io.php
include/functions_ui.php
godmode/agentes/module_manager.php: Created a new safe input
function more soft than safe_input() for html code. Applied this
function (safe_input_html()) in few functions like print_image
or print_page_header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3399 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/system_info.php: add TODO.
* godmode/agentes/module_manager_editor.php: fixed the ajax with the new
safe_ouput function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3395 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager_editor.php: Fixed SQL
error when try to create a module called 0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Added custom fields to the global
edit/insert code. Not really used here, but for the future.
* godmode/modules/module_list.php: Show ID of modules, useful information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3364 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: fixed the source code, now when you
create a agent, the agent have not a any module.
Fixes: #3077024
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3356 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php,
operation/agentes/estado_ultimopaquete.php,
operation/agentes/estado_monitores.php, godmode/agentes/module_manager.php:
fixed the icon of policy in list of modules, now show when the module is
unlinked. And cleaned source code style.
Fixes: #3078716
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: Vertical aligned some icons.
TO DO: The table should be "migrated" to new table code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3304 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
godmode/agentes/modificar_agente.php: Added the calls
to enterprise to delete an agent to all their policies
when we delete it for bug 3072471
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3266 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config.inc.php: config_process.php is obtained from
defined path in homedir variable.
* godmode/agentes/module_manager_editor_network.php: Limit for
OID lenght was too short, DB gets 255 chars, now input also gets
255 chars.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Added local module
deletion in conf file to another place where the modules can
be deleted. Clean the code too
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3240 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/fields_manager.php: Added code to show text if no
fields defined, instead the table header.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3188 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agents/module_manager_editor.php: Changed if() statements
order. isModuleInPolicy() is not available in open source version.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3186 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Call to get_agents () with current
user and without returning "all" group, this avoid to render non-visible
(ACL) agents in the AJAX control to return an agent.
* pandoradb.sql: ttrap value* information resized.
* extensions/users_connected.php: ACL check before show users.
* operation/events/events_marquee.php: Added ACL check.
* operation/events/events.php: System events not shown to normal
users.
* operation/menu.php: Server view is now only for PM.
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: ttrap value* alter
table.
* general/noaccess.php: Added code to avoid image usage when called
from different directories than standard.
* godmode/agentes/agent_manager.php: Proper call to
get_user_groups().
* godmode/menu.php: Profiles are now under user management.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3183 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
operation/agentes/estado_generalagente.php
operation/agentes/custom_fields.php
operation/agentes/ver_agente.php
operation/agentes/agent_fields.php
extras/pandoradb_migrate_v3.1_to_v3.2.sql
godmode/agentes/fields_manager.php
godmode/agentes/configurar_agente.php
godmode/agentes/configure_field.php
godmode/agentes/agent_manager.php
godmode/menu.php: Added the custom field feature
including agents custom fields managment, agent
custom field viewer, custom fields added at the
agent configuration, customization of the custom
fields to display it in the agent details and
the creation of two new tables into the sql scripts
All for pending task: 3052918
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3181 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_copy_modules.php
godmode/agentes/massive_add_alerts.php
godmode/agentes/massive_delete_agents.php
godmode/agentes/massive_delete_action_alerts.php
godmode/agentes/massive_delete_alerts.php
godmode/agentes/massive_edit_modules.php
godmode/agentes/massive_operations.php
godmode/agentes/massive_delete_modules.php
godmode/agentes/massive_add_action_alerts.php
godmode/menu.php
godmode/massive
godmode/massive/massive_copy_modules.php
godmode/massive/massive_add_alerts.php
godmode/massive/massive_delete_agents.php
godmode/massive/massive_operations.php
godmode/massive/massive_delete_action_alerts.php
godmode/massive/massive_delete_modules.php
godmode/massive/massive_delete_alerts.php
godmode/massive/massive_edit_modules.php
godmode/massive/massive_add_action_alerts.php: Created
a new section for massive operations and change the
structure of the files to new folder
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3164 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php
godmode/agentes/module_manager_editor_network.php
godmode/agentes/module_manager_editor_wmi.php
godmode/agentes/module_manager_editor_plugin.php
godmode/agentes/module_manager_editor_prediction.php
godmode/agentes/module_manager_editor.php: Added the policy linkation
configuration in the modules form and allowed to modify modules
config if the module is unlinked
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3163 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php: Change the use of
isModuleInPolicy to infoModulePolicy in the case of
the fixed bad use of isModuleInPolicy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3161 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_network.php: changed the
spinning snmp walk image from png to gif
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3149 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_operations.php: Fixed the default tab
of the massive operations section
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3147 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_copy_modules.php
godmode/agentes/massive_add_alerts.php
godmode/agentes/massive_delete_agents.php
godmode/agentes/massive_config.php
godmode/agentes/massive_delete_action_alerts.php
godmode/agentes/massive_delete_alerts.php
godmode/agentes/massive_edit_modules.php
godmode/agentes/massive_operations.php
godmode/agentes/massive_delete_modules.php
godmode/agentes/massive_add_action_alerts.php: Restructured the
tabs of masive operations. Now there are only four tabs: module,
agents, alerts and the enterprise policy masive operations. All
the operations are now classified under this hierarchy
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3146 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_operations.php: Added the massive operation
to add snmp modules to an agent
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: Changed the old way of
get a snmpwalk to use the new function get_snmpwalk
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3128 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f