* include/functions_graph.php, include/functions_reports.php,
include/functions_groups.php, include/functions_incidents.php: fixed
the source code style.
* include/javascript/d3.v3.js: uploaded custom d3 version from
https://github.com/mdtrooper/d3 . We need to pull request to
the main branch...I love git.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8555 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_ui.php
include/functions_treeview.php: Fixed bad link on
agent info of the right side in treeview on metaconsole.
And added access to node check to this link.
For bug #2312
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8554 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/help/en/help_module_interval_factor.php
include/help/es/help_module_interval_factor.php
godmode/agentes/module_manager_editor_common.php: Change the
input field of module interval on data modules form by
a non editable info and improve the help explaining deeply the
way of change the interval and how to do it. For bug #2308
* images/cancel.png
godmode/massive/massive_operations.php: Add missed icon
and change another one
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8551 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_agents.php: Add check to avoid SQL
errors when retrieve alerts and the user profiles
are not properly configurated for bug #2349
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8545 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/reporting/reporting_viewer.php
images/report_list.png
godmode/events/event_edit_filter.php
godmode/reporting/reporting_builder.php: Fix the manage
tabs wich appeared in the view report section even when
the user hasnt RW permissions for bug #2347
Added some new buttons and icon to make more usable the
reports section
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8544 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_users.php
include/functions_groups.php
operation/events/events_list.php: Fixed the visibility
of the users in the events view filter. Now the user
can only filter by the users of the groups where the
user belongs
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8539 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/menu.php
operation/events/events_rss.php
operation/events/export_csv.php
operation/events/events_list.php
operation/events/events.php
operation/events/events.build_query.php
general/shortcut_bar.php: Fixed group filter
for bug #2346 and clean a lot of events code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8538 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* operation/agentes/status_monitor.php
operation/agentes/alerts_status.php
godmode/alerts/configure_alert_template.php: Clean
useless ACL checks. Change header string by the same
string but translated. Added to the alert templates
wizard level combo the option No Wizard to avoid
confussing
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8534 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_snmp_browser.php: Use version 2c by default. Some
OIDs may not be available for version 1 queries.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/massive/massive_delete_alerts.php: Fixed an
ajax call to retrieve the agents associated to an alert
template in massive alerts deletion for bug #2282
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8530 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/agent_wizard.snmp_explorer.php
godmode/agentes/configurar_agente.php: Add missing
javascript to show snmp v3 options and other little
fixes and improvements
* godmode/reporting/reporting_builder.list_items.php
godmode/reporting/reporting_builder.item_editor.php
godmode/netflow/nf_edit_form.php
godmode/netflow/nf_item_list.php: Deleted homedir from sec2
in url links due old system of reuse code from metaconsole
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8529 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions.php,
include/javascript/jquery.pandora.controls.js: improved the
functions to pass the php vars to js, now it supports json.
* include/javascript/d3.v3.js: added this library for to make
beautiful things.
* include/functions_ui.php, include/graphs/fgraph.php,
include/javascript/pandora_events.js, include/javascript/pandora.js,
include/functions_treeview.php,
include/include_graph_dependencies.php,
include/functions_categories.php, include/db/postgresql.php,
include/db/oracle.php, include/db/mysql.php: cleaned source code
style.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8528 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/flot/pandora.flot.js,
include/functions_networkmap.php, include/constants.php,
include/ajax/agent.php, include/ajax/events.php: improve the
source code and remove the magic number and they changed for
constants.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8527 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/plugin/snmp_remote.pl: Add SNMP remote plugin to the
default plugins on Pandora FMS server
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8524 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/agentes/configurar_agente.php: fixed overwrite the fields
custom_string_* and custom_integer_* of module when update and
these fields haven't a new value.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8517 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/graphs/pChart/pPie.class.php: Fix the colors of the
legend when we want to have legend of data that not appears
in the pie. Merge from 4.1
* operation/users/user_edit.php: Fix repeated select control
for main page in workspace section
* godmode/servers/modificar_server.php: Fix crash in
servers view
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8516 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Change Data by Avg on graphs legends
Ramon changed it few weeks ago, but I broke his job. Sorry
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8514 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* mobile/operation/agents.php, mobile/operation/agent.php,
include/functions_graph.php: fixed the show static graphs in
mobile.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8513 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql,
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql,
godmode/snmpconsole/snmp_alert.php,
pandoradb.sql,
pandoradb.postgreSQL.sql,
pandoradb.oracle.sql,
operation/snmpconsole/snmp_view.php: Added support to filter 10
binding vars. Added binding var automatic translation and other
small improvements.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8511 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* pandora_agent: Changed the regexp used to retrieve ip addresses to
avoid locale related problems.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8507 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* util/pandora_db.pl: Ignore reports if the metaconsole is enabled, since
agents are never local.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8504 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_graph.php: Fix the alerts status pie graph
to make it more usefull
* godmode/agentes/agent_wizard.snmp_interfaces_explorer.php: Comment
code
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8500 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/javascript/pandora_modules.js
include/functions_wmi.php
extensions/snmp_explorer.php
godmode/agentes/agent_wizard.wmi_explorer.php
godmode/agentes/agent_wizard.snmp_interfaces_explorer.php
godmode/agentes/agent_wizard.php
godmode/agentes/configurar_agente.php: Replace the SNMP explorer by
the Agent wizard with two initial sections. SNMP interfaces explorer
and WMI explorer
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8495 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* include/functions_events.php: erased lost debug trace.
* mobile/operation/events.php: some fixes in the pagination, and
now the events from the system show the name "system".
MERGED FROM BRANCH 4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8487 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Added macros _snmp_oid_ and _snmp_value_ to
SNMP alerts. Changed the behaviour of _snmp_fx_ to act as filters
and not as user defined macros.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8485 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* lib/PandoraFMS/Core.pm: Exported subst_alert_macros. Added support
for an arbitrarily large number of _snmp_fx_ macros.
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8481 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
* godmode/alerts/alert_list.builder.php: Small changes. Make
alert action list sorted (in the same order of extra action
list that appears at the defined alert list)
Merged from branch 4.0
git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8479 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f