Commit Graph

111 Commits

Author SHA1 Message Date
enriquecd 064a9d58b9 Show all alerts when select all tags filter - #1676 2018-02-05 15:30:28 +01:00
fermin831 bff2213e45 Update fired alert when delete it 2017-11-07 14:47:34 +01:00
enriquecd 22af4e703a Alert in sound console with snmp alerts events - #38 2017-03-23 10:31:04 +01:00
Daniel Maya d39b108c1f Merge branch 'develop' into feature/alias_freandly_name
Conflicts:
	pandora_agents/unix/pandora_agent
	pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql
	pandora_console/extras/pandoradb_migrate_6.0_to_6.1.oracle.sql
	pandora_console/godmode/agentes/agent_manager.php
	pandora_console/godmode/agentes/modificar_agente.php
	pandora_console/godmode/agentes/planned_downtime.editor.php
	pandora_console/godmode/massive/massive_delete_modules.php
	pandora_console/godmode/massive/massive_edit_modules.php
	pandora_console/include/class/Tree.class.php
	pandora_console/include/functions_graph.php
	pandora_console/include/functions_treeview.php
	pandora_console/include/functions_ui.php
	pandora_console/operation/agentes/estado_agente.php
	pandora_console/operation/agentes/status_monitor.php
	pandora_console/pandoradb.sql
2017-02-16 16:05:21 +01:00
enriquecd 5d7d655833 Fix sound console for snmp traps alert, multiple selection and fix icons - #38 2017-02-02 17:46:59 +01:00
daniel 4afaf5190a fixed errors in reports alerts
(cherry picked from commit 85dddf0b56)
2017-01-03 19:33:11 +01:00
Arturo Gonzalez e9eb60a718 Changed events sound styles and added new filters. Ticket #109 Gitlab 2016-12-05 15:23:17 +01:00
Daniel Maya 2014f51410 sort by alias. 2016-09-27 10:31:42 +02:00
m-lopez-f e914b3c87c Feature to update action assignate a alert and module. Internal Ticket: #3994 2016-09-01 09:09:03 +02:00
Daniel Maya 2f5457d938 Fixed issue. Ticket #3844. 2016-06-28 16:10:09 +02:00
Daniel Maya ec073eb8b4 New filter actions. Ticket #3893. 2016-06-28 14:55:13 +02:00
m-lopez-f 053d0298a1 Fixed search in alert templates, when DB is Oracle. Tiquet: #3231 2016-01-20 12:47:26 +01:00
Arturo Gonzalez Diaz 7aed427a7a Fixed special days in oracle. Ticket#2904 2015-10-21 13:31:17 +02:00
Alejandro Gallardo Escobar 3e2391a7c3 Fixed the alert info retrieving for oracle databases 2015-06-16 17:54:20 +02:00
Alejandro Gallardo Escobar c95f70dde7 Error fixes related with the improved oracle compatibility 2015-05-04 18:27:23 +02:00
Vanessa Gil 3698e887c3 Added Stric ACL mode. 2015-01-15 18:08:58 +01:00
Alejandro Gallardo Escobar eac739d362 Revert "Strict ACLs"
This reverts commit 3d251fd035.
2015-01-15 15:11:26 +01:00
Vanessa Gil 3ffeb145a6 Strict ACLs 2015-01-08 18:11:26 +01:00
zarzuelo 75543f9149 2014-01-27 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Fixed the group of the 
	event generated when validate an alert manually



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9375 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-27 11:02:15 +00:00
zarzuelo a9a239b5b3 2014-01-24 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Fix forgotten cases on
	actions escalation



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9368 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-24 12:45:09 +00:00
zarzuelo 2b23793949 2014-01-24 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_list.list.php
	godmode/alerts/alert_view.php
	include/styles/pandora.css
	include/functions_alerts.php: Fix some bugs when 
	doesnt exist an action with min-infinite situation.
	Some visual fixes



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-24 10:17:23 +00:00
zarzuelo a5e9847b29 2014-01-23 Sergio Martin <sergio.martin@artica.es>
* godmode/alerts/alert_view.php
	include/styles/pandora.css
	include/functions_alerts.php: Fix escalation errors, added action
	threshold information, encapsulate code to avoid future headaches.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9362 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-23 19:49:16 +00:00
Ramon Novoa 176a3b3009 2014-01-16 Ramon Novoa <rnovoa@artica.es>
* godmode/alerts/alert_list.list.php,
	  include/functions.php,
	  include/functions_alerts.php: Changes to the alert view to make it more
	  compact.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9327 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2014-01-16 16:07:03 +00:00
mdtrooper 3516271674 2013-10-16 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/configurar_agente.php,
	include/functions_network_components.php,
	include/functions_alerts.php: fixed the name of items to duplicate,
	now they have a html entities for whitespaces.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8926 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-16 12:00:58 +00:00
zarzuelo fd540f5880 2013-10-10 Sergio Martin <sergio.martin@artica.es>
* include/functions_agents.php
	include/functions_alerts.php
	operation/agentes/status_monitor.php
	operation/agentes/status_events.php
	mobile/operation/modules.php: Fixed several calls
	to acl tags with same fixes of Juanma in previous commits



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8887 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-10 16:11:39 +00:00
zarzuelo 090b2e7fb3 2013-10-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php
	include/javascript/jquery.pandora.controls.js
	include/functions_treeview.php
	operation/tree.php
	operation/agentes/ver_agente.php
	godmode/groups/group_list.php
	godmode/massive/massive_add_alerts.php
	godmode/massive/massive_delete_modules.php
	godmode/massive/massive_delete_alerts.php
	godmode/massive/massive_edit_modules.php
	godmode/reporting/graph_builder.graph_editor.php: Add sorting
	in many agents list retrieved by ajax and tree view



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8868 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-08 09:48:26 +00:00
zarzuelo 1b53588375 2013-10-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Fixed group filter in
	alerts view for incident #218



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8850 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-10-04 08:24:42 +00:00
mdtrooper faa29e0c03 2013-08-08 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_agents.php, include/functions_alerts.php,
	operation/agentes/alerts_status.php: improved the function
	"get_group_alerts" to use in the places that there were a foreach
	loop with all agents for any group.
	
	Fixes: #2060




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8641 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-08-08 09:00:34 +00:00
mdtrooper d08ef0febc 2013-04-09 Miguel de Dios <miguel.dedios@artica.es>
* mobile/index.php, mobile/operation/groups.php,
	mobile/operation/agents.php, mobile/operation/alerts.php,
	mobile/operation/agent.php, mobile/operation/events.php,
	mobile/operation/modules.php, mobile/include/style/main.css: 
	
	* include/functions_alerts.php include/functions_groups.php: some
	changes for the mobile.
	
	* operation/agentes/ver_agente.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7945 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-04-09 09:29:03 +00:00
mdtrooper dba1396900 2013-03-20 Miguel de Dios <miguel.dedios@artica.es>
* mobile/index.php, mobile/operation/events.php,
	mobile/operation/alerts.php, include/functions_agents.php,
	include/functions_alerts.php,
	operation/agentes/alerts_status.functions.php: added first version
	of alert view.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7875 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-20 17:41:35 +00:00
Ramon Novoa f1c5e74d8e 2013-03-19 Ramon Novoa <rnovoa@artica.es>
* 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: Updated and fixed
	  some column types.

	* include/functions_alerts.php,
	  pandoradb.sql,
	  pandoradb.postgreSQL.sql,
	  pandoradb.oracle.sql: Added support for on-demand module status
	  calculations.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7866 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-19 17:24:40 +00:00
mdtrooper 6039638480 2013-03-11 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_tags.php: fixed the function
	"tags_get_acl_tags_module_condition" when the user profile is in
	the all group.
	
	* include/functions_reporting.php, include/functions_alerts.php,
	operation/agentes/estado_monitores.php: improve the code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7826 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-11 13:57:41 +00:00
zarzuelo 00038f7ebd 2013-03-06 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Change the update counts 
	of fired alerts when validate to do it only when the validation
	is of a unvalidated alert. This change is to avoid broke 
	counts



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7791 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-06 11:49:18 +00:00
zarzuelo 87c7345eb4 2013-03-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php
	include/functions_modules.php
	include/functions_reporting.php
	include/functions_servers.php: Fix counts when validate or
	delete alerts and fix some little bugs of previous commits



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7775 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 18:16:00 +00:00
zarzuelo 5b575988a3 2013-03-04 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Update the fired
	counts on validate alerts function

	* include/functions_events.php
	include/functions_reporting.php
	include/javascript/jquery.pandora.js
	include/functions_treeview.php
	operation/tree.php
	operation/agentes/estado_generalagente.php
	operation/agentes/estado_agente.php
	operation/search_agents.php: Improve and unify code
	of the status counts in agents list, agent detail, 
	tree view and search views

	* ajax.php: Load the user language in the
	ajax entry point. Until now the language was the
	general!



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7769 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-03-04 12:51:22 +00:00
mdtrooper eb145f1d29 2013-02-25 Miguel de Dios <miguel.dedios@artica.es>
* include/functions_api.php, operation/agentes/alerts_status.php:
	improved the style code.
	
	* include/functions_alerts.php: in function "get_group_alerts" fixed
	the get all alerts, sometimes set empty the return array.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7712 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-02-25 13:21:24 +00:00
mdtrooper 6af7ae4956 2013-01-29 Miguel de Dios <miguel.dedios@artica.es>
* godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/reporting_builder.php,
	godmode/agentes/configurar_agente.php, godmode/menu.php,
	include/functions_ui.php, include/functions_agents.php,
	include/functions_alerts.php, include/functions_menu.php,
	include/functions_networkmap.php,
	include/help/en/help_alert_type.php,
	include/help/es/help_alert_type.php,
	include/functions_reporting.php,
	operation/agentes/alerts_status.functions.php,
	operation/agentes/alerts_status.php: erased the ocurrences about
	the deprecated alert compounds.
	
	Fixes: #3602487




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7543 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-29 14:42:55 +00:00
mdtrooper d99abb39bb 2013-01-03 Miguel de Dios <miguel.dedios@artica.es>
* extensions/resource_registration.php,
	extensions/resource_exportation.php,
	operation/events/event_statistics.php,
	operation/events/events_list.php,
	operation/reporting/reporting_viewer.php,
	godmode/reporting/reporting_builder.php,
	godmode/reporting/reporting_builder.item_editor.php,
	include/functions_alerts.php, include/functions_reports.php,
	include/functions_events.php, include/graphs/fgraph.php,
	include/functions_graph.php, include/styles/pandora.css,
	include/functions_reporting.php, include/functions_agents.php: a lot
	of changes and fixes from the branch for the reports.
	
	MERGED FROM PANDORA_4.0




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7351 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2013-01-03 18:52:21 +00:00
vgilc c915c3c644 2012-09-10 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.sql
	  pandoradb.postgreSQL.sql
	  pandoradb.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
	  extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql
	  godmode/agentes/configurar_agente.php
	  godmode/agentes/module_manager_editor.php
	  godmode/agentes/module_manager_editor_common.php
	  godmode/modules/manage_network_components.php
	  godmode/modules/manage_network_components_form.php
	  godmode/modules/manage_network_components_form_common.php
	  include/functions_alerts.php
	  include/functions_events.php
	  operation/events/events_list.php: Added several fields to modules
	and events.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6948 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-09-10 16:00:14 +00:00
mdtrooper 3646e7b843 2012-08-02 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb_data.sql, pandoradb.data.postgreSQL.sql,
	pandoradb.data.oracle.sql, include/functions_config.php: fixed the
	"list_ACL_IPs_for_API" update.
	
	* operation/events/events_marquee.php, godmode/setup/setup.php,
	godmode/reporting/graph_builder.php,
	godmode/reporting/map_builder.php, godmode/reporting/graphs.php,
	godmode/reporting/visual_console_builder.wizard.php,
	godmode/reporting/visual_console_builder.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/alerts/alert_list.php,
	godmode/alerts/configure_alert_template.php,
	godmode/alerts/alert_templates.php,
	godmode/alerts/configure_alert_action.php,
	godmode/alerts/configure_alert_command.php,
	godmode/alerts/alert_actions.php,
	godmode/alerts/alert_list.builder.php,
	godmode/alerts/configure_alert_special_days.php,
	include/functions_api.php, include/functions_ui.php,
	include/functions_netflow.php, include/functions_alerts.php,
	include/functions_menu.php, include/functions_messages.php: cleaned
	source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6846 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-08-03 12:48:09 +00:00
mdtrooper 6f74e8f984 2012-07-30 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_plugin.php,
	godmode/agentes/module_manager_editor_network.php,
	godmode/agentes/module_manager_editor_wmi.php,
	godmode/alerts/alert_list.php, godmode/menu.php,
	godmode/snmpconsole/snmp_filters.php, godmode/tag/edit_tag.php,
	include/functions_alerts.php, include/functions_html.php,
	pandoradb.sql, index.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6828 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-30 08:45:40 +00:00
mdtrooper 9cde128f7c 2012-07-24 Miguel de Dios <miguel.dedios@artica.es>
* godmode/servers/manage_recontask_form.php,
	godmode/alerts/configure_alert_compound.php,
	godmode/modules/manage_network_components.php,
	include/functions_ui.php, include/functions_incidents.php,
	include/functions_agents.php, include/functions_alerts.php,
	include/functions_messages.php, include/db/mysql.php,
	include/functions_reporting.php, include/functions_filemanager.php,
	include/auth/ldap.php, operation/events/events.php,
	operation/incidents/incident_detail.php, operation/tree.php,
	operation/agentes/estado_agente.php, operation/agentes/sla_view.php,
	operation/users/user_edit.php: cleaned source code style.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6798 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-07-24 08:54:40 +00:00
zarzuelo ad1202bbf9 2012-04-20 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Setted last_reference database
	field to actual utimestamp when create an alert to avoid
	unecessary charge on server 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6067 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-04-20 11:38:04 +00:00
zarzuelo 0228582a75 012-03-21 Sergio Martin <sergio.martin@artica.es>
* include/functions_html.php
	include/javascript/pandora.js
	include/functions.php
	include/functions_alerts.php
	godmode/alerts/configure_alert_template.php
	godmode/alerts/alert_list.builder.php: Improved the
	periods control and added it to the alerts action threshold 
	and alert template threshold



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5805 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-03-21 10:58:52 +00:00
jsatoh 7238782cda 2012-01-25 Junichi Satoh <junichi@rworks.jp>
* godmode/menu.php, godmode/alerts/alert_special_days.php,
	godmode/alerts/configure_alert_special_days.php,
	godmode/alerts/configure_alert_template.php,
	extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql,
	extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql,
	extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql,
	pandoradb.oracle.sql, pandoradb.postgreSQL.sql, pandoradb.sql,
	include/functions_alerts.php: Added special days feature. It allows
	to define special days (holidays and special working days) for 
	alert templates.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5421 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-25 06:13:43 +00:00
juanmanuelr 7b7c651fe6 2012-01-19 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_api.php
	 include/functions_agents.php
	 include/functions_alerts.php: New functionality for the Api.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5393 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2012-01-19 17:45:59 +00:00
juanmanuelr dc2c9f71bb 2011-09-02 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: fixed alerts_get_alert_agent_module_actions()
        function to avoid PHP warnings on alert compound display.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4890 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-09-02 09:42:20 +00:00
juanmanuelr 1a8a2f9324 2011-08-31 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_alerts.php: Fixed alerts_get_agents_with_alert_template
        function in order to not retrieve delete modules.

        Fixes: #3401666




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-08-31 15:22:44 +00:00
zarzuelo bcfaf49723 2011-07-08 Sergio Martin <sergio.martin@artica.es>
* include/functions_alerts.php: Add always condition to templates



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4533 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-07-08 09:39:52 +00:00
juanmanuelr 7e1795ca4a 2011-06-06 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* include/functions_modules.php: Some mofications over update_tag
	function.
	* include/functions_alerts.php: Added new function 
	alerts_get_alerts_module_name() to retrieve alerts of a module
	in html select tag format.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4405 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
2011-06-06 12:04:14 +00:00