* godmode/reporting/reporting_builder.php: Fixed a couple of typo
errors when adding a SLA report.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1743 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Added autocomplete support
to parent selection, which is no a dropdown anymore. Partial fix for
#2707924.
* godmode/agentes/configurar_agente.php: Parent data is now the
agent name, not the agent id.
* include/javascript/jquery.ajaxqueue.js,
include/javascript/jquery.autocomplete.js,
include/javascript/jquery.bgiframe.js: Added to repository.
Autocompleter jQuery plugin.
* include/styles/pandora.css: Added autocomplete styles.
* include/functions_db.php: Added more support for search
parameter to get_group_agents() so you can pass a filter array now.
* operation/agentes/estado_agente.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1741 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/styles/help.css, include/styles/pandora_minimal.css,
include/styles/ie.css, include/styles/menu.css,
include/styles/install.css, include/styles/pandora_red.css,
include/styles/pandora_black.css, include/styles/pandora_width.css:
Removed an extra close comment character that causes broken CSS.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1740 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.pl: Let the user specify the maximum number
of threads.
* util/pandora_xml_stress.README: Updated the documentation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1739 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Replaced SQL with pandora
database functions. Do not order period values. Some style to delete
icons.
* include/functions_reports.php: Tiny fix on update_report() when
checking if report exists. Fixes#2791058.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1730 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/file_manager.php: Many fixes to the interface. Removed
the dropdown menu when uploading a file, it now uploads it to the
current dir, which is more natural. Do not show "No files found"
anymore, because user may want to create subdirs. Fixes image for
previous dir and show it again.
* include/javascript/jquery.ui.datepicker.js: Changed default date
format.
* include/functions_filemanager.php: Changed
get_file_manager_available_directories() to add subdirs too.
Changed is_file_manager_writable_dir() to check if parent dir is
writable.
* operation/agentes/estado_agente.php: Use array filters instead
of SQL code chunks.
* operation/reporting/reporting_viewer.php: Fixed link to timeentry
jQuery file.
* images/status_sets/color_text/*, images/status_sets/default/*,
images/pixel_yellow.png, images/pixel_gray.png,
images/pixel_fucsia.png, images/pixel_red.png,
images/pixel_black.png: Use Tango palette. Softer and cleaners
colors.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1729 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.pl,
util/pandora_xml_stress.README: Added to repository. XML stress tool
and README.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1728 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Created a new function to retrieve XML
tag values ('suppressempty' not needed anymore).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1727 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandora_diag.php: Diagnostic tool. This reports some
details of database usage, configuration and version who can
Pandora FMS dev. team some hints about possible problems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1726 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_diagnostic.sh: Command line diagnostic tool for
gather information in order to diagnose problems in system running
Pandora FMS. This returns a txt file with a lot of system information.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1725 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/massive_edit_modules.php: Renamed ff_event field
to min_ff_event to match tagente_modulo field name. Better code for
process_manage_edit(). Fixes#2785011.
* include/functions_modules.php: Fixed an error on
update_agente_module() when no name was given, also added extra
check for empty values.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1724 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_menu.php: Added menu_icon class.
* include/styles/menu.css: Split background style for menu icons.
Recovered menu colors.
* include/styles/pandora.css: Added body.pure element.
* include/styles/pandora_blackmetal.css,
include/styles/pandora_black.css: Improve to reuse pandora.css
* include/functions_ui.php: Use pure class on body element
on process_page_body(). Better comment when creating the css array on
process_page_head().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1723 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_logevent.cc: Fixed the calculation of the
newest event offset. Removed module output when no log events are
found.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1721 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: Return -1 on get_agent_status() on case
the agent last contact has exceed the agent interval.
* include/functions_visual_map.php: Call get_agent_status() when
an element is to monitor a whole agent. Fixes#2761712
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1720 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* install.php: Use server address if the db host is not localhost.
Fixes#2796790.
* include/functions_agents.php: Fixed an array cast on
get_agent_alerts_compound().
* include/functions_events.php: Critical and warning colors where
swapped on print_events_table().
* include/functions_reporting.php: Fixed alerts count on
get_group_stats() and count combined alerts too. Fixes#2791577
* operation/agentes/tactical.php: Style corrections.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1719 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DataServer.pm: Fixed timestamps for data lists. Made
XML::Simple return an empty string instead of an empty hash when an
empty value is found in an XML data file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Should fix bug #2785154. Wasn't
clear on how to duplicate but from what I understand this should fix it.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1714 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Style correction.
* operation/snmpconsole/snmp_view.php: Fixed creation link when
the agent is not found by address. Fixes#2777409
* godmode/agentes/agent_manager.php: Use address as name on creation
when it's given.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1713 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: Use pandora functions to
create and update modules. Some fixes when these operations could
not be done so the editor appears again. Fixes#2762316
* godmode/agentes/module_manager_editor.php: Some patches to work
better with configurar_agente.php
* include/functions_modules.php: Avoid setting an empty name on
update_agent_module()
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1711 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/fgraph.php: Do not short agent name on
graphic_combined_module(). It was causing collisions. Fixes#2785193.
* reporting/pchart_graph.php: Use AddSerie on combined_graph().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1710 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: return_status_agent() renamed to
get_agent_status(). Improved get_agentmodule_status() documentation
and code.
* include/functions_visual_map.php: Styles correction. Use a switch
instead of many ifs. Fixed get_layout_status() so the bad values have
preference. Fixes#2787197.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1708 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* windows/pandora_wmi.cc, windows/pandora_wmi.h: Added functions for the
new modules. Removed old logevent functions.
* pandora_windows_service.h, pandora_windows_service.cc: Added support
for data file buffering and startup delay.
* modules/pandora_module_logevent.cc, modules/pandora_module_logevent.h:
Rewritten to retrieve event log data using the PDH interface instead
of WMI (was too slow).
* modules/pandora_module_tcpcheck.cc, modules/pandora_module_tcpcheck.h,
modules/pandora_module_regexp.cc, modules/pandora_module_regexp.h,
modules/pandora_module_perfcounter.cc,
modules/pandora_module_perfcounter.h,
modules/pandora_module_freedisk_percent.cc,
modules/pandora_module_freedisk_percent.h,
modules/pandora_module_freememory_percent.cc,
modules/pandora_module_freememory_percent.h: Added to repository.
New modules, see http://openideas.info/wiki/.
* modules/pandora_module.h, modules/pandora_module.cc,
modules/pandora_module_factory.cc, modules/pandora_module_list.cc:
Added support for the new modules.
* bin/pandora_agent.conf: Included configuration examples for the new
modules.
* PandoraAgent.dev: Updated to compile the new modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1707 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/modules/manage_network_components.php: Fixed a typo on
onsubmit paramter that was avoiding asking for confirmation.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1706 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js: Set values of plugin
component when one of this kind is selected.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1703 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v2.x_to_v3.0.sql,
pandoradb.sql: Added id_plugin. Database breakage requested and
approved.
* godmode/modules/manage_network_components_form_common.php,
godmode/modules/manage_network_components_form_plugin.php: Added
to repository. New editor for network components.
* godmode/modules/manage_network_components_form_network.php,
godmode/modules/manage_network_components_form_wmi.php,
godmode/modules/manage_network_components.php: Adapted to changes
in component editors and missing fields. Added option to create
plugin components.
* godmode/modules/manage_network_components_form.php: Make the
different network component editors to reutilize the code and
have a common UI.
* godmode/agentes/module_manager_editor.php: Style correction.
* include/styles/pandora.css: Style for network component editor.
* include/functions_ui.php: Security fix in get_url_refresh() to
avoid showing login info.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1702 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_network_components.php: Added to repository.
Functions relative to network components moved here. Added
create_network_component(), update_network_component() and
delete_network_component().
* include/functions_db.php: Removed
gve_network_component_group_name(), duplicated in
functions_network_components.php.
* include/functions_modules.php: Moved functions relative to
network components to functions_network_components.php.
* godmode/modules/manage_nc_groups_form.php,
godmode/modules/manage_network_templates_form.php,
godmode/modules/manage_nc_groups.php: Use
get_network_component_group_name() instead of deprecated
give_network_component_group_name().
* godmode/modules/manage_network_components.php: Rewritten
to use pandora functions. Added pagination and better filtering
and UI.
* godmode/modules/manage_network_components_form_network.php,
godmode/modules/manage_network_components_form_wmi.php,
godmode/modules/manage_network_components_form.php: Some
changes to adapt from manage_network_components file. Use
pandora functions.
* godmode/agentes/module_manager_editor_common.php,
godmode/agentes/module_manager_editor.php: Include new
functions_network_components.php file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1701 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_incidents.php: Removed upgrade_inc13to21. An old
function that shouldn't be there anymore.
* include/functions_agents.php: Fixed documentation. Fixed some bugs in
get_agents () when empty values were passed.
* include/functions_ui.php: Added $config['ignore_callback']. Useful if
you decide to flush the buffers (eg. to offer a download)
* include/functions_db.php: Cleaned up get_db_all_rows_filter and added
some documentation and todo's. Added get_agentmodule_data to get all
datapoints of a module. Cleaned up get_agentmodule_data_average
* include/functions_html.php: Some situations generated a warning when alt
wasn't specified (can't add keys on non-arrays)
* include/exportdata.php: Rewritten. Added filters for group. Works using
functions and export into HTML, CSV and Excel with the option for
expansion (specify the delimiter values)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1697 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php: Many fixes in the code for
pagination. Fixes#2762175
* images/networkmap/4.png, images/networkmap/firewall.png,
images/networkmap/7.png, images/networkmap/9.png,
images/networkmap/printer.png: Updated with tango icons.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1696 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_alerts.php: Added get_agents_with_alert_template().
Added extra filter to delete_alert_agent_module().
* godmode/agentes/massive_delete_alerts.php: Completely changed the way it
works. Fixes#2707976.
* images/mod_keepalive.png: Replaced with tango icon.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1694 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f