Agent data is always searched by agent id and utimestamp. A composite
index makes queries on tagente_datos a lot faster. pandora_db.pl can
still use the existing index on utimestamp. Ref pandora_enterprise#1485.
(Fixed ff_threshold evaluation.)
Because of column type difference bettween 'tagente_estado.status_changes'
and 'tagente_modulo.min_ff_event', it didn't work correctly with over 127.
* pandoradb.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Modified the decimal precision of the column "post_process"
for the table 'tagente_modulo' (Ticket #1124).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10388 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
pandoradb.sql: Fixed bug introduced in commit 9604
altering tagente_modulo.post_process double precission
making conversion from bytes to megabytes impossible
(0,00000095367432). Pending to fix also the interface for
module creation/edition which also fails. This is critical
for SP1 release :(
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10384 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php,
godmode/modules/manage_network_components_form.php
godmode/modules/manage_network_components_form_common.php,
pandoradb.sql, pandoradb.oracle.sql, pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql: Improved
'FF threshold' to be able to define each state changing for
network components.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10003 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor.php,
godmode/agentes/module_manager_editor_common.php,
pandoradb.sql, pandoradb.oracle.sql, pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql: Improved
'FF threshold' to be able to define each state changing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9973 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql,
pandoradb.oracle.sql,
pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Added the column "name"to the table "treport_content".
* godmode/reporting/reporting_builder.item_editor.php,
godmode/reporting/reporting_builder.php: Now is posible
to add a name to the report items.
* godmode/reporting/reporting_builder.list_items.php: Now
the list shows the name of the item or the description if
the name is empty.
* operation/reporting/reporting_xml.php,
include/functions_reporting.php: Now the XML and common
reports show the item name if exists.
* extensions/files_repo/files_repo_list.php: Improved
the description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9751 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql,
pandoradb.data.oracle.sql,
pandoradb.data.postgreSQL.sql: Deleted an old link
and updated the link to the Pandora FMS documentation.
* pandoradb.sql,
pandoradb.postgreSQL.sql,
pandoradb.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Added the column "l2_network" to the table "tnetwork_map".
* godmode/agentes/module_manager_editor_common.php:
Added a help tip to a column of relations.
* include/functions_modules.php: Improved the function
"modules_relation_exists".
* operation/agentes/networkmap.topology.php,
include/functions_networkmap.php,
operation/agentes/networkmap.php: Added a new option
to show the relations between the agents interfaces.
* operation/agentes/estado_monitores.php: Added a tooltip
to show the relations of a monitor in the monitor list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.data.oracle.sql,
pandoradb.data.postgreSQL.sql,
pandoradb.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.mysql.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.oracle.sql,
extras/pandoradb_migrate_5.0.x_to_5.1.postgreSQL.sql:
Added the table "tmodule_relationship".
* operation/agentes/estado_generalagente.php: Added a
new table to show the network interfaces of the agent.
Minor fixes.
* include/styles/pandora.css: Added properties for the
class transparent'.
* include/ajax/module.php: Fixed an error and added code
to retrieve a module autocomplete input or add, remove
or update a module relation via ajax.
* include/functions_modules.php: Added the functions
"modules_get_relations", "modules_relation_exists",
"modules_add_relation", "modules_delete_relation" and
"modules_change_relation_lock".
* godmode/agentes/module_manager_editor_common.php:
Added a table and control to show, add or delete
relations with other modules. Added the javascript
functions "change_modules_autocomplete_input",
"add_new_relation", "change_lock_relation" and
"delete_relation".
* godmode/agentes/module_manager_editor.php: Added a
line to show the module relations table and control.
* godmode/agentes/module_manager_editor_network.php:
Minor fix.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9610 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:
Changed data type in field 'name' of 'tnetwork_component' table
to TEXT/CLOB.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql,
godmode/agentes/module_manager_editor.php,
godmode/agentes/module_manager_editor_common.php,
godmode/agentes/configurar_agente.php,
godmode/massive/massive_edit_modules.php,
godmode/modules/manage_network_components_form_common.php,
godmode/modules/manage_network_components.php,
include/functions_events.php, include/functions.php,
include/javascript/pandora_modules.js,
include/functions_network_components.php,
include/functions_modules.php, include/constants.php, pandoradb.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: first version of
disabled unknown events for modules, now it is implemented in
modules, massive operations and components, but it is necesary in
local component, policy, api, cli, pandora server and recond task.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8701 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/snmpconsole/snmp_alert.php,
pandoradb.sql,
pandoradb.postgreSQL.sql,
pandoradb.oracle.sql,
operation/snmpconsole/snmp_view.php: Added support to filter 10
binding vars. Added binding var automatic translation and other
small improvements.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: Updated data types to allow 64bit integers to be
stored in tagente_datos and tagente_datos_inc.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8209 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: (workaround to avoid mysql's warning
'Specified key was too long; max key length is 767 bytes'
(warning code=1071).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8187 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/tag/edit_tag.php: change the input text for textarea for
large list of emails.
Fixes: #3611473
* pandoradb.sql: cleaned source code style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/pandora.css
include/functions_ui.php
include/functions_db.php
index.php
images/splash_bg.png
images/pandora_login.png
images/login_background.jpg
images/pandora_tinylogo.png
images/input_user.png
images/input_lock.png
images/pandora_login_enterprise.png
general/error_emptyconfig.php
general/error_perms.php
general/error_authconfig.php
general/login_page.php
general/error_noconfig.php
general/logoff.php
general/error_install.php
general/error_dbconfig.php
general/error_screen.php: Change the login appearence
unifyng code of login, logout and error screens
* 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
operation/users/user_edit.php: Added new options in user
configuration to metaconsole agents editor and more meta
options. Avoid to show useless options when metaconsole
is enabled
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8024 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/group_list.php, include/functions_groups.php:
optimize the access to the groups in systems with a huge groups.
* include/functions_snmp_browser.php, include/functions_users.php:
clean source code style.
* pandoradb.sql: added key for the parent group.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7963 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: Updated and fixed
some column types.
* include/functions_alerts.php,
pandoradb.sql,
pandoradb.postgreSQL.sql,
pandoradb.oracle.sql: Added support for on-demand module status
calculations.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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,
godmode/agentes/planned_downtime.editor.php, pandoradb.sql,
pandoradb.postgreSQL.sql: added id_user to planned_downtime table
for to know who create or updte any downtime.
Fixes: #3607172
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7810 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Fix little
bug of agents statistics
* include/help/en/help_field_match_snmp.php
include/help/en/help_snmp_alert_field1.php
include/help/es/help_field_match_snmp.php
include/help/es/help_snmp_alert_field1.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/alerts/configure_alert_action.php
godmode/alerts/alert_commands.php
godmode/snmpconsole/snmp_alert.php: Adapt snmp alert
editor to new alerts macro system. Now there are 10 fields
and are dinamically charged from javascript. Bug 3605775
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7783 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php
pandoradb.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: set the
counts columns of agent table as "signed" to avoid overflow
and add check to tactical statistics to avoid show negative
numbers
* godmode/agentes/module_manager_editor_plugin.php: Increase
the size of text inputs in plugin modules for bug 3606401
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql: tserver table type is now InnoDB after modifying
some indexes which was causing locks and corruption.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
pandoradb.sql: Removed some indexes that caused deadlocks on high
load scenarios.
* godmode/setup/setup_general.php,
include/functions_config.php: Added support for event storm
protection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7557 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.postgreSQL.sql, pandoradb.oracle.sql, pandoradb.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql: changed in the
table "tlayout_data" the field "label" to text without limits.
* godmode/extensions.php, include/functions_tags.php,
include/functions_ui.php, include/functions_agents.php,
include/functions_config.php: cleaned source code style.
* godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.editor.php,
include/styles/pandora.css, include/styles/pandora_legacy.css,
include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
include/functions_visual_map_editor.php: added the formatted label
into the item label with the help of tiny_mce.
* include/javascript/tiny_mce/*: update the last version of
tiny_mce.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
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: Updated
the user, module and components tables to have nowizard value
by default (to normal console) and basic in default elements
creation (to metaconsole)
* godmode/users/configure_user.php: Updated the metaconsole
access control in user form to be showed only in metaconsole
and with only basic/advanced options for the new meta concept
* include/config_process.php: Store the metaconsole access
of the current user in $config
* operation/tree.php: Fixed pandora instances links from
tree in metaconsole mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7521 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql
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:
Add profile tags to the database structure
* include/ajax/events.php
include/functions.php
include/functions_events.php
include/functions_reporting.php
include/functions_treeview.php
include/functions_profile.php
include/constants.php
include/functions_tags.php
operation/tree.php
operation/users/user_edit.php
operation/events/events_list.php
pandoradb.data.postgreSQL.sql
pandoradb.data.oracle.sql
godmode/users/configure_user.php: Add new acl control with
tags in events and tree views. Fix a lot of little bugs like ACLs
in tree view (tags mode), add the tags mode on tree view of the normal
console, pass the ACL flag to some forgotten functions, etc.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7383 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, pandoradb.sql,
pandoradb.postgreSQL.sql, pandoradb.oracle.sql: in the table
"tlayout_data" added the column "id_metaconsole" for to show
visualmaps in the metaconsole.
* operation/visual_console/render_view.php,
include/functions_visual_map.php, operation/agentes/ver_agente.php,
godmode/reporting/visual_console_builder.wizard.php,
godmode/reporting/visual_console_builder.php,
godmode/reporting/visual_console_builder.data.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/reporting/visual_console_builder.elements.php,
godmode/reporting/visual_console_builder.editor.php,
godmode/reporting/map_builder.php,
include/ajax/visual_console_builder.ajax.php,
include/ajax/agent.php, include/functions_visual_map_editor.php,
* operation/agentes/datos_agente.php,
include/functions_netflow.php: cleaned source code style.
* include/functions_ui.php: in function
"ui_require_javascript_file_enterprise" fixed when need a
enterprise javascript instead metaconsole enterprise path.
* include/javascript/pandora.js: fixed the function
"agent_changed_by_multiple_agents" that needs in the metaconsole.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7258 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f