* godmode/modules/manage_nc_groups.php: fixed the javascript to promt to
confirm the delete. And fixed the link to delete that in some browsers
crash.
Fixes: #3402336
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4877 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/SNMPServer.pm: Kill snmptrapd if it's already running
when the SNMP Console starts and launch it again. Fixes bug #3402392.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_groups.php: fixed when the group haven't a icon.
* operation/menu.php: applied the safe_out before the print a piece the
name of map in submenu.
* operation/gis_maps/render_view.php: fixed the name of agents with white
spaces.
Fixes: #3398436
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4874 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/plugins/grep_log,
shellscript/linux/plugins/grep_log: Restored previous code because
it needs to start searching on the last position known. First time
plugin starts, seek to the final position to avoid fire old events
detected in the log. Plugin only gives new events once starts to work
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4873 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/jquery.pandora.controls.js: Filter keycount variable
in pandoraSelectGroupAgent javascript function.
* godmode/massive/massive_add_action_alerts.php: Added 'Any' label to
agents combo in this view and correct a typo.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4870 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/ver_agente.php: fixed the massive deletion alerts with
modules with white spaces.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4869 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: changed function strstr() for
substr() in agents_get_modules function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added delete_pending
cleaning in the modules table to avoid possible past modules with
wrong name
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4867 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Improve the delete modules
function to do the same actions of the console
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template
function in order to not retrieve delete modules.
Fixes: #3401666
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager/lib/libupdate_manager_client.php,
extensions/update_manager/main.php: fixed when the file is corrupted or
empty.
Fixes: #3400237
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4861 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php: fixed in function "string2image" when generate a
image in other location, now have one more parameter, $homeurl, by default
empty string.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4860 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* unix/plugins/grep_log
shellscript/linux/plugins/grep_log: Changed parse_log
function in order to retrieve token correctly.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4859 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: Now action state is showed
when update user action is performed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4853 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_fsgraph.php,
include/graphs/fgraph.php: added the parameter $reduce_data_columns by
default false for to use in vertical columns graph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_enable_disable_alerts.php,
godmode/massive/massive_standby_alerts.php: Added group recursion
feature, it allows to search agents in child groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4847 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_regexp.cc,
modules/pandora_module_regexp.h,
modules/pandora_module_factory.cc: Check file size to detect if the
file was truncated. Added a new configuration token to avoid seeking
to the eof.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4844 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fixed a bug setting graphic
* resolution
to 1 that displays some errors with event graphs.
Fixes: #3398524
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4843 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_factory.cc: Fixed a bug collecting some module
parameters like min_warning, max_warning, min_ff_event, etc.
Fixes: 3396949
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4840 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/db/mysql.php: Fixed the Rollback function in
mysql engine to reset auto mode after rollback action
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4839 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/reporting/map_builder.php: wrote the source code for copy the
relationships between a copy of items in a visual console.
Fixes: #3400124
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4836 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_add_alerts.php: Added group recursion
feature, it allows to search agents in child groups.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/NmapParser.pm: Updated package name to integrate
Nmap::Parser into Pandora FMS.
* lib/PandoraFMS/ReconServer.pm: Removed recursive calls. Now parent
hosts are detected with a single call to nmap via Nmap::Parser.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extensions/update_manager.php: check if the field "update_server_path" in
the table is the last path for Pandora v4 and update.
* extensions/update_manager/main.php: rewrite the text to message for show
only Pandora FMS instead the Pandora FMS vX.
*extensions/update_manager/sql/update_manager.sql,
extensions/update_manager/sql/update_manager.postgreSQL.sql,
extensions/update_manager/sql/update_manager.oracle.sql: update the
"update_server_path" to Pandora v4.
Fixes: #3394754
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4827 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* ggodmode/modules/manage_network_templates.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_nc_groups.php: added checkboxes in the elements in
the list and main checkbox to select all checkboxes, for to multiple delete.
Fixes: #3390017
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f