* util/gpx2pandora_agent_data.pl: Added support to process
gpx files with tracks, plus the RTE format.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2628 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: fixed the lost type in the edit
item.
* godmode/reporting/reporting_builder.item_editor.php: fixed the position of
hidden input for id item, after it was out form.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2626 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Fixed call to group stats and now
process all groups (included disabled) and group 1, because
with 3.1 group id 1 is not "all" anymore.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2625 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.item_editor.php: fixed a mistake
copy&paste, now you can edit correctly the items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2624 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/pChart/pChart.class:
* include/pChart/pData.class
* include/fgraph.php: Fixed bug with eventgraph in graph_event_module().
* include/functions.php: return_graphtype() uses now the log4x id 24 in
ttipo_modulo, fixing the problem in graph visualizer. Anyway, log4x graphs
doesn't work on php >= 5.3.x :((
* operation/agentes/estado_monitores.php: Fixed id (24) for link in log4x.
* operation/agentes/stat_win.php: Included missing functions_reporting.php
include, it was missing.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2621 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: in function
"get_agents_detailed_event_reporting" fixed param for $id_agents to array
type, fixed the loop to save events and fixed in the loop to make the table.
Added the function "get_module_detailed_event_reporting" for events of any
module. In function "render_report_html_item" remove trace function, added
the render option "event_report_module" for render list of events of any
module.
* include/functions_db.php: added function "get_module_events".
* operation/gis_maps/ajax.php: cleaned source code.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2619 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php
operation/gis_maps/ajax.php
godmode/agentes/planned_downtime.php
godmode/agentes/manage_config_remote.php: Fixed many all group
control from 1 to 0 value. Remove deprecated functions
list_group() and list_group2() from functions_db.php
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2618 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: added render html for "text" and "sql"
item.
* include/ajax/reporting.ajax.php: added request for the custom SQL.
* include/functions_db.php: in function "get_db_value_filter" fixed the
field when the field is escape string.
* godmode/reporting/reporting_builder.item_editor.php: added the preview of
custom SQL.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2617 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/servers/manage_recontask_form.php: Avoided
that the All group appears on the combobox for
bug # 2992906
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2616 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: Changed
the database values of group from 1 to 0 and
remove the group with Id=1
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2615 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: cleaned source code of
"render_report_html_item" function for new types of report items.
* include/functions.php: cleaned source code of "get_report_types" function
and added new types of report items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2614 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/datos_agente.php: Fixed the data table
render for log4x data.
* operation/agentes/estado_monitores.php: Graph icon should be
shown when using Log4x data, it has graphics (need to implement in
Flash in the future).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2611 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: The id_group filter in
agent_module_autocomplete is no longer needed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2609 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: in the function
"agent_changed_by_multiple_agents"fixed the id of "All" group, now it's the
0.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2608 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/config_process.php: Fixed a doble include in the
functions_enterprise.php file (breaks the tab "inventory" in the
agent view).
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2606 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Removed a Log4x trace. Log4x feature
has been tested at this level, and works fine.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2605 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* bin/pandora_agent.conf: Updated sample conf with some examples of
inventory usage, and agent plugins (commented).
* bin/util/df.vbs, bin/util/ps.vbs: Added flush in the end of each module
* bin/util/logevent_log4x.vbs: New agent plugin to parse eventlog and
generate a Log4x format.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2604 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* modules/pandora_module_inventory.cc: Fixed a couple of XML tags.
* installer/pandora.mpi: Added the vbs scripts to the installer.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2603 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: Changed the
All group on combos from 1 to 0 and fix the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2601 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/reporting/reporting_builder.php: re-added the list of reports,
re-added the delete reports. And fixed the notice PHP message and the
action edit in the main tab.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2600 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb.sql
extras/pandoradb_migrate_v3.0_to_v3.1.sql: Dropped the
foreign key between treport and tgrupo
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2599 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/visual_console/index.php
godmode/reporting/map_builder.php: Fixed the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2597 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_compounds.php
godmode/alerts/alert_list.php
godmode/alerts/alert_templates.php
godmode/alerts/configure_alert_action.php
godmode/alerts/alert_actions.php: Changed the
All group on combos from 1 to 0 and fix the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2596 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/reporting.ajax.php: added ajax respond to delete_sla_item and
add_sla actions.
* include/functions.php: added in the function "get_report_types" new types
of items/contents for reporting.
* pandoradb.sql: added columns custom_logo, header, first_page, footer,
custom_font into the table treport. And in the table treport_content have
new columns text, external_source, treport_custom_sql_id, header_definition,
row_separator, line_separator. Added new table treport_custom_sql.
* extras/pandoradb_migrate_v3.0_to_v3.1.sql: added changes for DB that it
same to pandoradb.sql.
* images/sort_none.png, images/sort_down.png, images/sort_up.png: added the
images for order list items for reports.
* godmode/reporting/reporting_builder.list_items.php,
godmode/reporting/reporting_builder.main.php,
godmode/reporting/reporting_builder.php,
godmode/reporting/reporting_builder.item_editor.php: made new forms to
manage the reporting, now Pandora have tabs and list of items. In the list
of items, you can order manually or automatically the items.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2595 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: added function
"agent_changed_by_multiple_agents" for query ajax with one or more agent
select.
* operation/agentes/ver_agente.php: added ajax response to
"get_agent_modules_json_for_multiple_agents".
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2594 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/users/user_edit.php
godmode/users/configure_user.php: Changed the
All group on combos from 1 to 0 and fix the
group all on tables
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2591 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_agents.php
include/functions_db.php: Change the way of validate
the All group. Now the group All has id_group = 0
and is not on the database
* extensions/module_groups.php: Remove the All
group row from the table. Inprove the table style
* operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
operation/agentes/estado_agente.php
operation/agentes/exportdata.php
operation/agentes/networkmap.php
godmode/agentes/modificar_agente.php
godmode/agentes/planned_downtime.php: Changed the
All group on combos from 1 to 0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2588 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/groups/group_list.php: Added validation
when remove a group. Now, if the group is not empty
shows a message and dont allow to remove it
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2587 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: erased trace line in the source of function
"agent_changed", and force to select by default the none option.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2586 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: changed function "agent_changed" for take
the translate any or none texts from ajax or global var.
* operation/agentes/ver_agente.php: added to package data the translate
text for any.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2585 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_reporting.php: Added function render_report_html_item()
to render a given report element in HTML format. Fixed a small problem in
SUM report type (int truncate invalidate most of SUM reports when not using
a _inc data type).
* include/functions.php: Updated all "is_module_xxx" from using ereg
(deprecated) to use preg_match.
* include/functions_db.php: Moved reporting functions
get_agentmodule_data_average(); get_agentmodule_data_max(),
get_agentmodule_data_min() and get_agentmodule_data_sum() from here
to functions_reporting.php.
* godmode/groups/group_list.php: Removing a group put all agents assigned
to that group in other available group (choosen in realtime).
* AUTHORS: Authors file update, was very outdated!.
* operation/agentes/estado_generalagente.php: Fixed bug #2990430.
* operation/reporting/reporting_viewer.php: Some changes for better
structuration of the HTML reporting viewer. Removed big chunk of code
and put in function_reporting/render_report_html_item() function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2583 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: small improve, added new parameter into
the function "agent_module_autocomplete", the parameter is "noneValue" for
add a option for none module in the select of modules
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2582 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php: Fixed the delete the actual
user feature hidding the red cross in this user and with
internal control
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2580 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f