* lib/PandoraFMS/PluginServer.pm: Clean the blank spaces
from the start and end of the return of the plugin to make
easier the configuration of numeric modules and not confuse
with snapshot mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7666 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/modificar_server.php: fixed the column of server
now it is not link and show the version.
* include/functions_servers.php: fixed the sec parameter for the
link to edit recon server.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7664 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php
include/graphs/functions_utils.php: Added a function to calculate
the complementary color of a RGB hex code to assign automatically
the overlapped graphs colors for bug 3604462
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7663 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php,
godmode/reporting/visual_console_builder.editor.js,
godmode/massive/massive_delete_alerts.php: improved the source
style.
* include/functions_ui.php: fixed the sort of included of jquery
base files.
Fixes: #3604768
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7661 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
lib/PandoraFMS/ReconServer.pm
util/pandora_manage.pl: Encapsulate the code of create
a module from a network component. Unify calls of CLI
and Recon Server to dont break module counts
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7660 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor.php: Delete default
value of the ip address on the module edition form
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7659 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/snmpconsole/snmp_browser.php: Changed the size of some
text inputs to make them look good in Firefox.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7657 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_netflow.php,
include/functions_config.php: Added the deletion of old netflow and
log data.
* include/functions_snmp_browser.php: Added to repository. SNMP browser
specific functions.
* operation/menu.php,
operation/snmpconsole/snmp_browser.php: Added search capabilities to
the SNMP browser and other small improvements.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7656 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: added constant dir for the mibs of snmp.
* include/functions_filemanager.php: cleaned source code style.
* operation/snmpconsole/snmp_mib_uploader.php: fixed to avoid go
upper directory to the mibs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7654 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
bin/pandora_server
util/pandora_db.pl: Adapt status counts querys to use only
not disabled modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7652 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Fixed the macros of the
default plugin MySQL
* include/functions_groups.php
include/functions_api.php
include/functions_ui.php
include/functions_agents.php
include/functions_modules.php
include/constants.php
operation/agentes/estado_ultimopaquete.php
godmode/db/db_sanity.php
godmode/agentes/agent_template.php
godmode/agentes/configurar_agente.php
godmode/servers/plugin.php: Create a function to disable
modules fixing the status counts and replace the old way of
do it in all the console. Fixin a lot of old way of create
and delete modules too to use the centralized function and
dont break counts. BUG 3604463
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7651 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/constants.php: added constant for module type of
"MODULE_SNMP" and sorted the list of types of modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7650 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager_editor_common.php,
include/functions_profile.php, operation/events/events_list.php:
changed in jQuery the deprecated function evalJSON for parseJSON.
Fixes: #3604536
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7649 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/NmapParser.pm: Merged with version 1.3 of Nmap::Parser.
* util/pandora_db.pl: Added the deletion of old netflow and log data.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7646 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm
lib/PandoraFMS/DataServer.pm: Fixed a problem with the status
field of the modules (forced status) in the dataserver creation
of the module because using create_module_from_hash.
Order some code of the same part of the Dataserver
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7644 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: fixed the lost initial value for
the "homeurl_static" in $config when the pandora is for upgrade from
version 4.
Fixes: #3604288
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7642 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: fixed a important
bug when try to upgrade a Pandora4 (SVN version or updated version)
to Pandora5 or have user defined groups in the table
"tnetwork_component_group" that throw error when try to upgrade and
stop the upgrading.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_flot.php
include/graphs/flot/pandora.flot.js
operation/agentes/stat_win.php: Improve the legend of the
interactive graphs for bug 3573814
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7640 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/dialog.css
general/login_help_dialog.php: Fix an ugly bar of the
modal windows and enlarge 20px the height of the
Welcome modal window to avoid scroll bar in most
browsers
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7639 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_config.php: Fixed the update of the
inventory changes black list on setup for bug 3604298
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7636 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: review of all file and removed
some bad parameters (netflow daemon and other values).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7635 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_warning_status.php
include/help/en/help_critical_status.php
include/help/es/help_warning_status.php
include/help/es/help_critical_status.php: Improved the
really poor help of warning and critical status for
bug 3600787
* godmode/agentes/module_manager_editor_common.php: Added
checks to hide de useless status threshold. Now
the min and max thresholds are shown only in numeric modules
and the string field only in string ones
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7634 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Review of default configuration
values and some new description / comments.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7632 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_modules.php
operation/agentes/estado_ultimopaquete.php
operation/agentes/estado_monitores.php: Protect the data
of the string modules from the numeric format
in the visualization for bug 3600790
Added snapshot feature to the data view of the modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7631 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Changed the call of
an Enterprise function to use HOOK to avoid errors in
Open version
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7630 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/load_updatemanager.php
extensions/update_manager/settings.php
extensions/update_manager/main.php: removed binary system in
update manager. Removed two fields in setup and reformatted
popup window on update info. This goes in 4.0.3 SP1.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7629 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/plugin_registration.php: Added a extra Parameter in the
conversion of plugins version 1 to 2
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7627 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
* pandora_agent: Fixed bug that data transfer would fail
when secondary_transfer_mode is different from transfer_mode.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7623 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/load_updatemanager.php: Removed the keygen
from update manager since it was not working well.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7622 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_network_components.php
godmode/modules/manage_network_components_form.php: Fix the default
interval when create network component. Fix the clone network components
fields to update all of them for bug 3595231
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
general/header.php: Move some javascript and css inclusions
from header file to ui_process_page_head function to still
having this files when in full screen mode
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7620 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_servers.php, extensions/plugin_registration.php:
cleaned source code.
* godmode/reporting/reporting_builder.item_editor.php: fixed the
usability for the SQL items in the reports.
Fixes: #3573455
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/menu.php, godmode/alerts/configure_alert_template.php,
godmode/alerts/alert_actions.php,
godmode/agentes/agent_template.php,
godmode/massive/massive_delete_agents.php: cleaned source code.
* include/functions_html.php: added the weeks in the input for
times.
* operation/agentes/stat_win.php: fixed the malformated table when
show extended options in the time widget.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/gis_maps/index.php
godmode/gis_maps/index.php: Fixed ACL access of
not admin users to the maps of group All on GIS
* godmode/users/configure_user.php: Change a string to
crearify the tags ACLs assignation
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f