Downtime editor.
Some of the ACL checks added are:
-Permission check on downtime before adding an agent
-Permission check on agent before adding an agent
-Permission check on downtime before deleting an agent
-Permission check on agent before deleting an agent
-Permission check on downtime before creating or updating the downtime
-Removed the ACL check for every result item (it is done before, into the query)
-Permission check on the query for the agents added to the downtime
Downtime editor ajax.
Some of the ACL checks added are:
-Permission check on downtime before retrieving the modules
-Permission check on agent before retrieving the modules
-Permission check on downtime before deleting the modules
-Permission check on agent before deleting the modules
-Permission check on downtime before adding the modules
-Permission check on agent before adding the modules
Some of the ACL checks added are:
-Permission check before stopping.
-Running check before deleting.
-Permission check before deleting.
-Permission check before adding specific table columns.
Add clippy in:
Interval agent if this interval is < 300
Network maps>topology group
Create a new data server module in field 'Data Configuration'
In servers list, in column T/Q, when Q>200
* pandora_console/godmode/setup/setup_general.php,
pandora_console/include/functions_config.php: Added a config token
to allow the creation of scheduled downtimes in the past.
* pandora_console/godmode/agentes/planned_downtime.editor.php: Now
is possible to create a scheduled downtime with a past date
if the config token is activated.
* pandora_console/godmode/agentes/planned_downtime.editor.php: Fixed an error
which made impossible the creation of new periodic downtimes.
* pandora_console/godmode/agentes/planned_downtime.export_csv.php: Added file.
Exports the planned downtimes list to a CSV file.
* pandora_console/godmode/agentes/planned_downtime.list.php: Added a new form
to filter the list. Added pagination. Changed the items order. Error fixes.
* godmode/agentes/agent_wizard.snmp_explorer.php,
godmode/agentes/module_manager_editor_plugin.php: some fixes for
the snmp version 3.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10348 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: fixed to show the QR code image
in the creation of a new agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10345 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php,
operation/reporting/reporting_viewer.php,
operation/agentes/status_monitor.php,
include/functions_netflow.php,
include/functions_graph.php: Improvements to avoid
php notices and warnings.
* godmode/setup/setup_visuals.php,
include/functions_config.php: Added a new option
to choose a custom line thickness for the line between
the items relations of the visual maps.
* include/functions_visual_map.php,
include/javascript/pandora_visual_console.js: Added
support to the custom line thickness and fixed some
problems with the line connections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10221 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php,
include/javascript/pandora_modules.js: Fixed an error
that created duplicated macro fields when selecting
a local component module #927.
* include/graphs/flot/pandora.flot.js: Now the spacing
of the vertical data description is automatic.
* include/styles/pandora_black.css: Visual changes.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10182 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php,
godmode/setup/setup_visuals.php, include/functions_config.php,
include/config_process.php, include/functions_ui.php,
include/javascript/qrcode.js, include/javascript/pandora.js,
operation/visual_console/public_console.php, images/qrcode_icon.jpg,
general/header.php: added the feature to show the QR code of the
pages for to make for example sticker for the fisical machines or
other things.
Incident: #818
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10047 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_wizard.snmp_explorer.php: Fix wrong
parameters like unit setted in SNMP Wizard for ticket #796
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10019 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Comment module
in configuration file when this module is disabled.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@10007 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
* pandora_console/include/styles/pandora.css: Changed
the name of the class "transparent" for "alpha50".
* pandora_console/godmode/agentes/module_manager_editor_common.php:
Changed the class "transparent" of the elements for the
class "alpha50".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9962 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_wizard.snmp_interfaces_explorer.php:
(Re)added ifXTable support to the SNMP interface wizard.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9893 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_wizard.snmp_explorer.php:
In 'Other SNMP data', check if the targer supports
these items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9891 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.editor.php,
godmode/alerts/configure_alert_template.php,
godmode/reporting/reporting_builder.item_editor.php,
operation/netflow/nf_live_view.php: Changed the maximum
character length of the time inputs from 7 to 8.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9878 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/planned_downtime.list.php: Fixed unexpected agent
deletion that is not associated with the planned downtime which is
deleted.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9849 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php
godmode/agentes/planned_downtime.editor.php
operation/menu.php: Changed 'Scheduled downtime'
from Administration to Operation.
Added help in scheduled downtime form.
Changed 'Update manager' from Operation->Extensions
to Administration->Setup.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_conf_gis.php,
operation/agentes/gis_view.php: changed the style to message of
error to set the standar style of new Pandora.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9681 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
* godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor_plugin.php,
include/ajax/module.php, include/javascript/pandora_modules.js:
fixed the save module plugin server from the component.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9612 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
* godmode/agentes/module_manager_editor_plugin.php,
include/javascript/pandora_modules.js: fixed the automagic deletion
of macros when load a component.
Incident: #654
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/fields_manager.php: added the id column in the
list of fields because it is needed in some api calls.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9451 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: added lost id
of module, because the user needs for example the api calls.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9448 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php
godmode/agentes/module_manager_editor_common.php: Help tip added
near interval info of the data policy modules interval on module
list and form. This tip war about that this interal only will be
updated on policy application. Incident #379
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9377 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Change
interval message for policy data modules to improve usability
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9078 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor_common.php: Fix module interval
updation in software modules. The interval of this kind of modules
only can be updated by server when agent reports
Interval #379
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9076 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php: Store the
interval factor in modules edition when is policy form and other
improvements. Incident #303
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8955 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php,
include/functions_network_components.php,
include/functions_alerts.php: fixed the name of items to duplicate,
now they have a html entities for whitespaces.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/events/events.php
godmode/events/events.php: Fix some sec parameters to
higlight correct menu sections when events sections are
active
* godmode/agentes/agent_wizard.snmp_explorer.php: Change error
message to help user to understand result of snmp walk
* godmode/agentes/module_manager_editor_network.php: Increase
the modal window of snmp walk
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8818 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components_form_common.php,
godmode/modules/manage_network_components_form.php: fixed the
javascript to configure the form of snmp.
* godmode/agentes/module_manager_editor.php,
godmode/agentes/configurar_agente.php,
godmode/agentes/module_manager_editor_common.php: fixed the
"module_macros" when it is fail when is not set for example.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8806 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php
godmode/agentes/module_manager.php: Fixing translation
of adopted modules and reestructure translations calls
to do the translations more efecctively for bug #2375
* general/login_help_dialog.php: Fix size
of the login help dialog
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8788 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php
godmode/agentes/configurar_agente.php: Change old counts
of status by new way setting flags to be updated by
server
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_plugin.php,
include/javascript/pandora_modules.js: fixed the double apply
entities in the plugin components.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8745 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php,
include/functions_agents.php: fixed the delete agent when sometimes
have remote config but not the enterprise.
MERGED FROM THE BRANCH PANDORA_4
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: set the first default server
when create a new agent.
MERGED FROM THE BRANCH 4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php,
include/javascript/pandora_modules.js: implemented the disabled
unknown events for local modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8704 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