* include/fgraph.php: Added support for mixing flash/image charts.
* include/functions_fsgraph.php: Use user defined colors in module
charts.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1780 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_server.spec: Rewriten to fit 3.0 requirements.
Succesfully built packages for: CentOS5, Fedora 11, RHEL5.Still
needs some tests in SuSe.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1777 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* reporting/pChart/pData.class: fix lost var ($url) in
function grafico_eventos_grupo and at constants.
* reporting/fgraph.php: fix, it's assumed that the arrays was numerical
indexes.
Fixes: #2805807
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1774 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_console.spec: RPM spec file for 3.0 version.
Packages built succesfully for: Centos5, Fedora 11,
RHEL5, SLE9, SLE10, SLE11, OpenSuse 10.3, OpenSuse 11,
OpenSuse 11, OpenSuse Factory. We still need to check
the exactly names in Suse distros for dependencies.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: optimice the search agent in DB, quit option
to search for description.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1772 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_generalagente.php,
godmode/setup/setup.php: Added support for new option for have enabled or
disabled the agent access data/graphs.
* include/functions_db.php: Modified the agent_delete function to don't delete
all data, just delete agent and mark modules for deletion. This increase a lot
the massive agent deletion. This fixes bug #2809015.
* include/config_process.php: Updated version/build.
* include/functions_config.php: Added autoupdate to config check for
non-existant values. Added new agentaccess config token.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1767 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/pandoraFMS/DataServer.pm, Config.pm: Fixes bug #2811605. This
add a new config token to define max files queued to avoid problems
reading incoming dir with huge number of files.
* lib/PandoraFMS/Core.pm: Adds new feature to have optional agent
access graph & data. Included to improve the performance in huge systems
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1766 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/estado_monitores.php: add organization list of monitors, add
row in table with title the monitor group.
* include/styles/pandora.css: add new class for cell used monitor group title
in the list of monitors in estado_monitores.php
Fixes: #2805001
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1764 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/modificar_agente.php: add another "create agent" before
the list for more usability
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1758 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* Fix the error introduced by Miguel de Dios in 2009-06-18, The error
was add repeated rows with language_code in DB.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1754 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* linux/pandora_agent_installer: Changed the uninstall options
cause if you had the agent in the same machine as the server and the
agent is deleted, it would delete /etc/pandora/ (which includes
pandora_server.conf) instead of just pandora_agent.conf.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1750 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Return false if no data were found
on get_agentmodule_sla(). Fixes#2777541
* operation/reporting/reporting_viewer.php: Style correction.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1748 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/networkmap.php: Avoids a warning when no nodes
were found on generate_dot(). Shows a message when no nodes were
found. Fixes#2786516.
* operation/menu.php: Changed label of network maps.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1746 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_manager.php: Fixed string filter when
searching agents. Avoids a PHP notice when none found
* godmode/agentes/configurar_agente.php: Solved a mess with variable
names.
* godmode/agentes/module_manager_editor_prediction.php: Improved
the prediction module selection, adding a filter for agents and
module. Fixes#2707907
* include/javascript/jquery.pandora.controls.js: Returns
whenever callbackBefore returns false.
* include/javascript/pandora_modules.js: Check for module selection
when creating a prediction one.
* include/styles/pandora.css: Added style to prediction module
selection.
* godmode/alerts/alert_list.php: callbackBefore on pandora.controls
elements must return true now.
* godmode/agentes/module_manager_editor_common.php: Added moduletype
hidden input to be used in javascript.
* godmode/agentes/module_manager_editor.php: Use pandora.controls and
added a string for javascript.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@1744 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* 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