* 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
* godmode/agentes/module_manager_editor_prediction.php: Make the services
part (Enterprise) work nicely.
* godmode/agentes/configurar_agente.php: Added enterprise hook for the
services parameters.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2576 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora.js: Added function agent_module_autocomplete
to use with a text box, a hidden field and a selector to select an agent
and a module from the agent.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2575 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/module_manager.php,
godmode/modules/manage_network_components.php,
godmode/modules/manage_network_templates_form.php: Changed the substr()
to mb_strimwidth(). Strings should be truncated with displayed length,
not number of characters.
* godmode/include/functions.php: Added wrapper mb_strimwidth().
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2574 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/users/user.php: Modified the users that
are showed in the View users section. Now, the users
of the logged user group are listed.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2573 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/ajax/agent.php: Modified to return the agent name at the i
begining of the serialized result.
* godmode/agentes/configurar_agente.php: Added help links and TODO tag
to remember to change the tabs to use the print_page_header function.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2571 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/configure_user.php: fixed bug 2987162.
Validation of create a user with User ID null
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2570 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_html.php: added check new attribute "styleTable" to
object table, this is for pass the style table.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2568 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandoradb_data.sql: Changed the id of the log4x module type. There
were conflicts with Enterprise module types.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2567 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fixed bug in the function
"format_array_to_update_sql" when the field yet escaped.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2565 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/users/user_list.php: fixed bug 2987177. Wrong index
was associated with the delete icon in the users list.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2564 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_db.php: fixed bug in the function "get_db_value_filter"
when the field's name is a reserve word of mysql crash.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2563 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f