* operation/agentes/estado_agente.php: Replaced a call to the old
get_db_all_rows_sql with db_get_all_rows_sql.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4325 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/fgraph.php: Added 'period' parameter to slicesbar_graph
function
* include/graphs/functions_pchart.php: Added 'period' variable and fixed
pch_slicebar_graph function
* include/functions_graph.php: Added 'date' to function graph_sla_slicebar
* include/functions_reporting.php: Fixed get_agentmodule_sla_array
function, and get_agentmodule_sla, updated some deprecated
printTrucateText calls, and the decimal data for displaying the SLA number
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4322 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql: fixed the default value for
timestamp, there was a own mistake in the order of date, sorry.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4321 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: changed in the function
"grafico_modulo_sparse2" the order to include the javascripts for flash.
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php,
godmode/reporting/visual_console_builder.editor.js: some fixes in the show
new graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4320 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_fsgraph.php: fixed the call to
"clean_flash_string", renamed to "clean_flash_string2".
* include/functions_reporting.php: disabled the include old fsgraph.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4319 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.postgreSQL.sql: fixed the type of cell "id_agente_modulo" in the
table "tagente_datos_string".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm
lib/PandoraFMS/Core.pm
util/pandora_manage.pl: Moved some functions from CLI to common
files
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4317 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/ReconServer.pm: Ported changes from 3.2 on
Recon. Full topology recursive discovery and resolution, os_type
conditional.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4316 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.list.php: Fixed filter parameters are not
taken over with offset selection.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4310 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_visual_map.php,
include/ajax/visual_console_builder.ajax.php: fixed the include the new
graph engine in the ajax calls.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4309 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php
godmode/agentes/module_manager_editor.php: Added the feature of
edit the modules from the agent config or create a module from
a local component or manually
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4307 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql, pandoradb.postgreSQL.sql,
extras/pandoradb_migrate_v3.2_to_v4.0.sql: changed the default value for
zero/null date "0000-00-00 00:00:00" to "01-01-1970 00:00:00".
* include/functions_graph.php,include/db/postgresql.php,
include/functions_modules.php, include/functions_agents.php,
operation/agentes/alerts_status.php,
operation/agentes/estado_generalagente.php,
operation/agentes/estado_agente.php, operation/agentes/exportdata.php,
operation/agentes/ver_agente.php, operation/servers/view_server.php,
operation/gis_maps/ajax.php, godmode/db/db_sanity.php,
godmode/agentes/agent_template.php,
godmode/agentes/module_manager_editor_network.php,
godmode/agentes/configurar_agente.php, godmode/servers/plugin.php,
godmode/snmpconsole/snmp_alert.php: small fixeds for the support the
PostgreSQL engine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4306 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* win32/modules/pandora_module_exec.cc,
win32/pandora_windows_service.cc: Fixed get module output part of over 4096 byte.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4305 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.pl: changed the source code to generate local conf
for each agent. And in next executions you can change in remote conf in
Pandora Console Enteprise as real agent.
* util/pandora_xml_stress.README: added confs for the generate local conf.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4300 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_manage.pl: Added option to disable all the
alerts of one policy.
Updated apply_policy option to use disabled flag
on the creation and update
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4298 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/DB.pm, lib/PandoraFMS/DataServer.pm: Check that a group
exists before auto-creating an agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4297 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_xml_stress.pl: added the generate scatter and curve data
and change the method to create fake modules.
* util/pandora_xml_stress.README: change the description of fake modules.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4291 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: back to previous version of Juan Manuel, because
he update old version of trunk.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4290 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/admin_access_logs.php: Fixed filter parameters are not
taken over with offset selection. (Fixed degraded.)
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4287 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_gd.php: Fontsize was not being passed
as parameter in drawRating(), now is passed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4284 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* conf/pandora_server.conf: Added the dbengine configuration token.
* lib/PandoraFMS/DataServer.pm: Read aditional module parameters from
the XML data file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4283 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/setup/setup_visuals.php
godmode/users/configure_user.php: Fixed some mistakes of my last
commit.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4282 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/functions_pchart.php
include/graphs/functions_gd.php
include/graphs/fgraph.php: Merged sancho works from
integria passing fonts and sizes in integria. Little
fixes
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4280 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: added parameter to choose if show all xaxis
marks or not.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4278 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
pandoradb.data.oracle.sql: added the default value for flash_chart for
admin user. The value is "use the global conf".
* include/db/mysql.php: cleaned source code style.
* godmode/users/configure_user.php: fixed when update or create the user
in Pandora Console without Enterprise version installed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4275 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php,
include/graphs/functions_pchart.php: some fixes, and set font size equal
for all text in graphs. And starte the change to vertical bar the graph
for string module.
* include/functions_reporting.php: added to take the font and size.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4273 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm,
lib/PandoraFMS/DataServer.pm: Module status can be set from the XML
data file.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4271 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/fonts/unicode.ttf: renamed form code.ttf.
* include/fonts/smallfont.ttf: added new smaller font.
* include/functions_config.php, godmode/setup/setup_visuals.php: now you
can set the size of font for the graphs.
* include/functions_graph.php, include/graphs/functions_pchart.php,
include/graphs/fgraph.php: changed source code to set the size of font
in the graphs.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4270 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f