Ported new feature (Command Snapshot) from 4.0.3 code.
* include/javascript/pandora.js: Added new javascript function
to open a generic URL with custom width / height.
* operation/agentes/snapshot_view.php: New feature for command
snapshot rendering.
* operation/agentes/datos_agente.php,
operation/agentes/estado_monitores.php: Changes for new feature
command snapshot monitoring.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7242 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
* index.php: cleaned source code style.
* 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 field
"tag_with" and "tag_without", and removed the field "tags" in the
table "tevent_filter".
* operation/events/events_list.php,
godmode/events/event_edit_filter.php: added widgets for to filter
the events by tags with the events or and tags without the
events.
* include/functions_tags.php: cleaned source code style, and
clarifity the function "tags_search_tag".
* include/functions_html.php: into the function
"html_print_input_hidden" fixed when the value have double quotes or
single quotes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7135 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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: Added a new
column to tagente_estado to store possible errors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7132 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
include/javascript/pandora_alerts.js
pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
pandoradb.data.postgreSQL.sql
pandoradb.data.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/alerts/configure_alert_template.php
godmode/alerts/alert_templates.php
godmode/alerts/configure_alert_action.php
godmode/alerts/configure_alert_command.php
godmode/alerts/alert_actions.php
godmode/alerts/alert_commands.php: Added 7 more fields to
alert actions and adapted templates to this feature (recovery
included). Add the feature of custom the label and the possible
data (to use textarea or select) from the command
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7102 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added the fields
"show_groups", "show_modules" into the table "tnetwork_map".
* include/functions_modules.php: added two parameters
(flag metaconsole, id_server) into the functions
"modules_get_agentmodule_is_init", "modules_get_agentmodule_type"
and "modules_get_agentmodule_status" for to extract data in the
metaconsole enviroments.
* include/functions_networkmap.php: added two parameters
(flag metaconsole, id_server) into the functions
"networkmap_create_agent_node" and "networkmap_create_module_node".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_alert_macros.php,
include/help/es/help_alert_macros.php,
include/help/ja/help_alert_macros.php: Update macro help files. The
Japanese help file needs to be translated.
* 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/groups/configure_group.php,
godmode/groups/group_list.php: Added more information to agent
groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7084 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql: added flag field
"pandoras_children" into the table "tnetwork_map".
* extras/check_other_languages.sh, include/functions_agents.php,
operation/agentes/networkmap_list.php: cleaned source code style.
* include/functions_networkmap.php: a lot of fixes for the
metaconsole, and other changes now generate a graphviz code more
clean and human readble (good for maintenaince).
* include/ajax/networkmap.ajax.php: into the ajax call
"get_networkmap_summary" started to adapt to call from the
metaconsole (WIP).
* include/functions_ui.php: fixes for metaconsole links to images in
the functions "ui_print_message", "ui_print_group_icon" and
"ui_toggle". And added the parameter $return in the function
"ui_toggle" for to return the html code as string.
* operation/agentes/ver_agente.php: into the ajax call
"get_agent_status_tooltip" adapt to call from the metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7057 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: cleaned code style, to be acceptable by
Clustrix's SQL parser, for examples. Merged from branch 4.x.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7054 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Deleted index on utimestamp for tevento. This
will produce a performance penalty for no reason.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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: Added
owner and ack timestamp to event table and new last known status
in tagente_estado table
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7017 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
* 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
* 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
* index.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,
general/login_page.php, general/logon_failed.php,
godmode/users/configure_user.php, include/api.php,
include/auth/mysql.php, pandoradb.sql, pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: added the feature to set any user with
"not login" for only the user can work across the API.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.main.php,
godmode/reporting/reporting_builder.php,
include/functions_reports.php, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
operation/reporting/reporting_xml.php,
operation/reporting/reporting_viewer.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: now the reports
can set the group can edit or private edition.
* include/functions_users.php: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6889 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.oracle.sql
pandoradb.postgreSQL.sql
pandoradb.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: Changed
type 'subnet' and 'field1' to trecon_task table.
* godmode/servers/manage_recontask_form.php: Added help tip:
several networks to recon task.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6869 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/setup/setup.php: Changed to use DateTimeZone instead of
'ttimezone' table for timezone setting.
* include/function_config.php: Fixed that timezone is changed to
default (Europe/Berlin) when update button is clicked without any
changes in setup window.
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql, pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: Removed 'ttimezone'
table and its data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6817 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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/users/configure_user.php: Changed some last fields
of the wizard level, metaconsole access etc. And interface
strings for metaconsole access in user edition
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6746 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
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql: Set default value to id_alert_command
column in db to avoid comparison errors in server
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6283 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
* include/help/en/help_snmp_alert_configuration.php
include/help/es/help_snmp_alert_configuration.php
include/help/en/help_snmp_alert_filters.php
include/help/es/help_snmp_alert_filters.php
include/help/es/help_field_match_snmp.php
include/help/en/help_field_match_snmp.php: Added helps for snmp
alert editor.
* include/help/en/help_snmp_alert_custom.php
include/help/es/help_snmp_alert_custom.php: Modified helps due to
field renamed in thie view.
* 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
id_group_filter in tevent_filter table.
* operation/events/events_list.php
operation/events/events.php
godmode/events/event_edit_filter.php
godmode/events/event_filter.php: If update button have been pushed
toogle filter is not hide. And added group filter in live filter
editor and in filter editor.
* godmode/snmpconsole/snmp_alert.php: Changed position of fields and
added helps.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5526 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql,
extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: Fixed an error with
weight field of custom graphs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5502 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: change the
size of the field "post_process" in the tables "tagente_modulo" and
"tnetwork_component".
Fixes: #3483814
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5486 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php, godmode/alerts/alert_special_days.php,
godmode/alerts/configure_alert_special_days.php,
godmode/alerts/configure_alert_template.php,
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,
pandoradb.oracle.sql, pandoradb.postgreSQL.sql, pandoradb.sql,
include/functions_alerts.php: Added special days feature. It allows
to define special days (holidays and special working days) for
alert templates.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5421 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
* pandoradb.oracle.sql,
pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql,
pandoradb.sql: custom_oid now is text instead varchar(200).
This allows alerts with huge regexp inside :-)
* operation/snmpconsole/snmp_view.php: Custom info now is
shown in only one label (Custom Data). Minor changes on layout.
* godmode/snmpconsole/snmp_alert.php: Added help, resized controls
and some other minor adjustments.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4762 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
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added
another index on tevento.estado. Thanks Manuel! :-)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4688 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added a
few more indexes suggested by Manuel Arostegui. Thanks a lot!
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4682 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added an
index on tagente_modulo.nombre to improve alert listings. Thanks to
Manuel Arostegui.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4681 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added two indexes to the
database schema to improve queries on talert_template_modules and
tserver_export. Thanks to Manuel Arostegui.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4666 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'always' to the
possible values into talert_templates.type
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added to the database
schemma the disabled attribute to recon task table
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4520 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/styles/menu.css: Added new background image on css
tag entry.
* include/functions_tags.php: Added new function code for tag
functionality.
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added new tables "ttag",
"ttag_module", "ttag_policy_module" and "ttag_event".
* godmode/tag: Added new path.
* godmode/menu.php
godmode/tag/tag.php
godmode/tag/edit_tag.php: Tag editor for events correlation engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4383 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_v3.2_to_v4.0.sql: Moved some alter tables
from Enterprise side
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4352 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql: fixed the default value for
timestamp, there was a own mistake in the order of date, sorry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4321 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_db.php, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql,
general/logon_ok.php, godmode/admin_access_logs.php: Several fixes to
make things work in MySQL, PostgreSQL and Oracle.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4254 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql: added column "style" for to
add style (as json encode) the many styles for the contents.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4138 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: Truncated agent and module name
* include/functions_reporting.php: Added functionality to store info of
General, Top n and Exception reports
* include/pchart_graph.php: Added function graph_sla_horizontal to print
sla horizontal graph bar. (Not working properly yet)
* include/pandora_graph.php: Added prototipe for
function graph_sla_horizontal
* include/fgraph.php: Added function graph_sla_pie to print sla pie graph
* include/functions.php: Added options top n, exception and general for
the combo box to select report type.
* pandoradb.sql: added fome fields to treport_content table
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: added some fields to
treport_content table
* godmode/reporting/reporting_builder.list_items.php: Truncated agent
and module name
* godmode/reporting/reporting_builder.preview.php: Added a bottom scroll
bar to the report table
* godmode/reporting/reporting_builder.php: Added variables for the new
kinds of reports, top n, exception and general
* godmode/reporting/reporting_builder.item_editor.php: Added html
elements for the new kind of reports
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4111 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reportings.php: Added functionality to show only
wrong modules
* pandoradb.sql: Added column 'only_display_wrong" to treports_content
* operation/agentes/estado_agente.php: Truncated agent name to 25 chars
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added column
'only_display_wrong" to treports_content
* godmode/reporting/reporting_builder.php: Added functionality to show
only wrong modules
* godmode/reporting/reporting_builder.item_editor.php: Added functionality
to show only wrong modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3814 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js, pandoradb.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql,
godmode/modules/manage_network_components_form.php,
godmode/modules/manage_network_components_form_network.php,
godmode/modules/manage_network_components.php: added the "post process"
parameter to network component and use in network component editor and
module editor.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.2_to_v4.0.sql: Updated
year, just to know these files are updated from v3.2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3746 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
* pandoradb_migrate_v3.1_to_v3.2.sql,
pandoradb.sql: Some fields are now TEXT due the problem with new
HTML entities encoding.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3689 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: increment the
size of field "nombre" in table "tagente" for html entities.
Fixes: #3136610
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql: TEXT type for some
fields with small length now with the HTML encoding.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3433 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Alter some trecon_task info to avoid problems on new
custom script items (due the referencial integrity).
* pandoradb_data.sql: Octopods instead octopus.
* godmode/menu.php,
* godmode/servers/recon_script.php: Added new option to manage recon scripts
* godmode/servers/manage_recontask.php,
godmode/servers/manage_recontask_form.php: Changes to manage the new recon
tasks using custom-defined scripts to detect and monitor things (neeed some
Javascript improvements).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3418 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_events.php
pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql
operation/events/events_validate.php
operation/events/events_list.php
operation/events/events.php: Deleted several
columns from the events view and adding a
show/hide advanced fields feature.
Added a new state 'in process' to validation
and an input comment when a status is changed.
* include/fgraph.php: Fixed quotes
in constant definition
* include/functions_ui.php
include/functions_agents.php
include/functions_alerts.php
operation/agentes/alerts_status.php
operation/agentes/alerts_status.functions.php
images/bell_pause.png
godmode/alerts/alert_list.list.php
godmode/alerts/alert_list.php
godmode/massive/massive_operations.php
godmode/massive/massive_standby_alerts.php: Added
the feature of set and set off on standby an alert
in the alets management and view if an alert is in
standby in the rest of views.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3251 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a
new column to talert_template_modules to support standby alerts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3243 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
* pandoradb.sql
extra/pandoradb_migrate_v3.1_to_v3.2.sql: added a database field on
agente_modulo to unlink the modules from policies
* images/unlinkpolicy.png
images/linkpolicy.png: Added two icons to linked and unlinked policies
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3158 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_io.php: safe_input() modified to detect SQL injection
attacks using /**/ strings.
* index.php: Prevent HTTP response splitting attacks.
* pandora_console.spec: Updated some spec variables and description.
* pandoradb.sql,
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a new field in trecon_task
to store the snmp_community on detected hosts in a recon task.
* extras/pandora_diag.php: Fixed security problem in relative path.
* general/pandora_help.php,
general/footer.php: Fixed security problem in relative path/include.
* general/login_page.php: Fixed security problem in URL parsing.
* godmode/servers/manage_recontask_form.php,
manage_recontask.php: Implemented new feature to use a snmp comunity on all
network modules added to a new detected host.
* config_process.php: Updated build.
* functions.php: New version of safe_url_extraclean() function (security fix)
and modified also enterprise_include* functions to have a secure include.
* functions_ui.php: Secured function get_include_contents().
* operation/agentes/gis_view.php: Secured url extraction/parsing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3150 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_filemanager.php: added parameter $readOnly in the
function "file_explorer".
*pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: added into the
table "talert_template_modules" the column "id_policy_alerts".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3106 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Added a id_policy_module
field into agente_modulo table for future use
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3087 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_networkmap.php
include/help/en/help_network_map.php
include/help/es/help_network_map.php
pandoradb.sql
operation/agentes/networkmap.topology.php
operation/agentes/networkmap.groups.php
operation/agentes/ver_agente.php
operation/agentes/networkmap.php
extras/pandoradb_migrate_v3.1_to_v3.2.sql: Created network maps
storage on database, clean the network maps code and fixed some
little bugs of the same section
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: added new parameters in the function
"get_agentmodule_sla", the parameters days of week to search and range of
time. And use new parameteres in the call for SLA data in function
"render_report_html_item".
* pandoradb.sql, extras/pandoradb_migrate_v3.1_to_v3.2.sql: in table
"treport_content" added the fields for set days of week and range time
for SLA.
* operation/reporting/reporting_xml.php: use new parameters in the call for
SLA data.
* godmode/reporting/reporting_builder.php: added source code for save,
update new fields (days of week and time range).
* godmode/reporting/reporting_builder.item_editor.php: added source code to
show the fields (days of week and time range).
Pending task: #3033457
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3070 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: added in the table tgrupo the column 'propagrate' for to
use in the subgroups trees (new feature in comming for 3.2).
* extras/pandoradb_migrate_v3.1_to_v3.2.sql: added new migration SQL file to
migrate from 3.1 to 3.2.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: erase old file, only find into
repository the branch 3.1.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3005 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: fixed the syntax of sql for compatibility of mysql 5.0 that
this versión is used in Debian Lenny for example. Now run in 5.0 and next
versións.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.0_to_v3.1.sql
godmode/setup/gis_step_2.php
godmode/gis_maps/configure_gis_map.php: Added at the combos the
group All and asigned in creation layers -1 value to None value
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2633 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, extras/pandoradb_migrate_v3.0_to_v3.1.sql: renamed the
column "row_separator" to more exactly name "column_separator". Sorry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f