Commit graph

735 commits

Author SHA1 Message Date
Alfredo Cardigliano
97046a8a97 Add rest/v1/get/alert/severity/counters.lua REST API 2020-05-27 11:05:59 +02:00
Alfredo Cardigliano
9814c91bfb Add filters to rest/v1/get/alert/type/counters.lua REST API 2020-05-27 10:53:07 +02:00
Alfredo Cardigliano
7c977a3ebc Add rest/v1/get/alert/type/counters.lua API REST (implement #3948) 2020-05-27 10:47:33 +02:00
Simone Mainardi
49e49e0ed6 Unifies host_details.lua generation
Addresses #3977
2020-05-26 12:50:47 +02:00
Alfredo Cardigliano
21fe9aa490 Add v1/get/alert/ts.lua REST API (implement #3943 2020-05-26 12:28:33 +02:00
Alfredo Cardigliano
09ea665c9b Improve v1/get/alert/data.lua endpoint 2020-05-26 11:11:20 +02:00
emanuele-f
eea288dee9 Add on-off switch template
Addresses #3513
2020-05-21 17:22:00 +02:00
emanuele-f
610e632234 Add comments/remove table.clone when not needed 2020-05-21 11:10:47 +02:00
Simone Mainardi
18bf6fa3d5 Fixes alerted active monitoring hosts not reported as alerted
Fixes #3904
2020-05-08 17:47:33 +02:00
Simone Mainardi
290175b16f Refactors alrt builders into creators
Refactors builders into creators: calls
2020-04-27 15:53:56 +02:00
Simone Mainardi
2739aac076 Implements alert builders for each alert definition
[AlertsK] Implements alert consts builder

[AlertsK] alert_threshold_cross.lua

[AlertsK] too_many_drops.lua

[AlertsK] alert_test_failed.lua

[AlertsK] alert_flows_flood.lua alert_tcp_syn_flood.lua lert_tcp_syn_scan.lua

[AlertsK] alert_snmp_topology_changed.lua

[AlertsK] snmp_device_reset.lua

[AlertsK] alert_slow_periodic_activity.lua

[AlertsK] alert_port_status_change.lua

[AlertsK] alert_port_status_change.lua

[AlertsK] alert_port_load_threshold_exceeded.lua

[AlertsK] alert_port_errors.lua

[AlertsK] alert_port_duplexstatus_change.lua

[AlertsK] alert_periodic_activity_not_executed.lua

[AlertsK] alert_misbehaving_flows_ratio.lua

[AlertsK] alert_influxdb_error.lua

[AlertsK] alert_influxdb_dropped_points.lua

[AlertsK] alert_dropped_alerts.lua

[AlertsK] alert_am_threshold_cross.lua

[AlertsK] alert_broadcast_domain_too_large.lua

[AlertsK] alert_device_connection.lua

[AlertsK] alert_device_connection.lua

[AlertsK] alert_host_pool_connection.lua alert_host_pool_disconnection.lua

[AlertsK] alert_ghost_network.lua

[AlertsK] alert_ip_outsite_dhcp_range.lua

[AlertsK] alert_list_download_failed.lua

[AlertsK] alert_login_failed.lua

[AlertsK] alert_mac_ip_association_change.lua

[AlertsK] alert_slow_purge.lua

[AlertsK] alert_request_reply_ratio.lua

[AlertsK] alert_quota_exceeded.lua

[AlertsK] alert_process_notification.lua

[AlertsK] alert_nfq_flushed.lua

[AlertsK] alert_misconfigured_app.lua alert_new_device.lua

[AlertsK] alert_influxdb_export_failure.lua

[AlertsK] alert_unresponsive_device.lua

[AlertsK] alert_user_activity.lua

[AlertsK] alert_user_script_calls_drops.lua

[AlertsK] minor fix
2020-04-24 15:35:44 +02:00
emanuele-f
0be2da4f57 Cleanup remaining references to RTT 2020-04-20 12:21:39 +02:00
emanuele-f
b6d10f2d2a Rework formatAlertMessage json decoding 2020-04-15 15:49:27 +02:00
Simone Mainardi
0a9a7015e0 Unifies status_id and status_key 2020-04-15 14:29:03 +02:00
Simone Mainardi
1eb02b2c2b Unifies alert_id and alert_key 2020-04-15 14:29:03 +02:00
Simone Mainardi
577a82d2eb Changes active_monitoring_utils require
Fixes #3758
2020-04-14 22:14:13 +02:00
Simone Mainardi
3e14bc30f8 Refactors RTT to Active Monitoring
Addresses #3741

Refactors RTT: rtt_utils to active_monitoring_utils

Refactors RTT: rtt_host to am_host schema name

Refactors RTT: import_active_monitoring_config.lua

Refactors RTT: active_monitoring_stats.lua

Refactors RTT: active_monitoring_stats i18n

Refactors RTT: get_active_monitoring_config.lua

Refactors RTT: get_active_monitoring_hosts

Refactors RTT: edit_active_monitoring_host

Refactors RTT: active_monitoring.lua

Refactors RTT: active_monitor

Refactors RTT: active_monitoring_utils.js

Refactors RTT: get_active_monitoring_hosts.lua fixes

Refactors RTT: last_rtt

Refactors RTT: rtt_host to am_host
2020-04-13 21:34:10 +02:00
emanuele-f
05a4e3cf84 Change RTT to Active Monitoring 2020-04-10 18:21:41 +02:00
Simone Mainardi
e487427aab Refactors alert_utils and enterprise_alert_utils
Addresses #3720

Alerts Refactor: alert_utils as module

Alerts Refactor: notify_ntopng_start and notify_ntopng_stop

Alerts Refactor: processAlertNotifications

Alerts Refactor: checkStoreAlertsFromC

Alerts Refactor: formatAlertNotification

Alerts Refactor: notification_timestamp_rev

Alerts Refactor: formatAlertMessage

Alerts Refactor: getConfigsetAlertLink

Alerts Refactor: alertNotificationActionToLabel

Alerts Refactor: flushAlertsData

Alerts Refactor: disableAlertsGeneration

Alerts Refactor: newAlertsWorkingStatus and other

Alerts Refactor: drawAlerts

Alerts Refactor: drawAlertTables

Alerts Refactor: printAlertTables

Alerts Refactor: checkDeleteStoredAlerts

Alerts Refactor: getUnpagedAlertOptions

Alerts Refactor: getTabParameters

Alerts Refactor: getAlerts

Alerts Refactor: getNumAlerts

Alerts Refactor: performAlertsQuery

Alerts Refactor: sec2granularity

Alerts Refactor: granularity2id

Alerts Refactor: granularity2sec

Alerts Refactor: alertEngineLabel

Alerts Refactor: alertEngine

Alerts Refactor: alertEngineRaw

Alerts Refactor: alertTypeDescription

Alerts Refactor: alertType

Alerts Refactor: alertTypeLabel

Alerts Refactor: alertTypeRaw

Alerts Refactor: alertSeverity

Alerts Refactor: alertSeverityLabel

Alerts Refactor: alertSeverityRaw

Alerts Refactor: get_make_room_keys

Alerts Refactor: enterprise_alert_utils
2020-04-10 14:03:20 +02:00
gabryon99
792a542c41 added print_page_title on each page 2020-04-06 10:35:57 +02:00
Alfredo Cardigliano
2425134f05 Replace isEnterprise with isEnterpriseM 2020-04-02 12:36:34 +00:00
emanuele-f
66cbf2c436 Rmove hardcoded blacklisted status ID
Fixes #3613
2020-03-23 12:51:01 +01:00
emanuele-f
9f01dd4afe Rework RTT to use two separate parameters for the key 2020-03-19 18:13:34 +01:00
gabryon99
caab0e3bc8 fixed rtt_utils.js 2020-03-18 23:01:04 +01:00
Simone Mainardi
e1c437ff51 Fixes active entry in dropdown menus not highlighted
Fixes #3546
2020-03-18 15:07:54 +01:00
emanuele-f
1ec35cadbf Fix invalid engaged/dropped alerts ts on system interface
Fixes #3556
2020-03-17 12:25:36 +01:00
emanuele-f
a86b215485 Improve RTT alert information
Closes #3555
2020-03-16 12:21:07 +01:00
emanuele-f
a6dab125d5 Improve dropped alerts information
- Add informative label
- Add dropped alerts timeseries and chart
- Generate a system alert whenever alerts are dropped on a network interface
- Add a periodic activity warning when some alerts are dropped on that activity

Closes #3025
2020-02-26 16:05:19 +01:00
Simone Mainardi
4bc746993a Fixes delete alert buttons 2020-02-25 19:29:01 +01:00
Simone Mainardi
4ed8cfecc3 Implements merge of multiple identical alerts
Implements #3430
2020-02-25 18:14:28 +01:00
Simone Mainardi
bd46b7268e Implements system alerts for not executed activities 2020-02-21 14:00:06 +01:00
emanuele-f
96299661b3 Implement periodic activities status monitor 2020-02-20 16:59:11 +01:00
emanuele-f
d1140ec9fd Avoid timeseries read operations to display the chart icon
Now the icon is displayed whenever the timeseries are enabled for the given context
2020-02-19 13:27:20 +01:00
Simone Mainardi
0e64fd94d6 Implements deadlines for periodic and user scripts 2020-02-18 18:44:41 +01:00
gabryon99
bec4c8184d add switches instead checkboxes 2020-02-12 22:38:27 +01:00
emanuele-f
3b3b8a1705 Fix explore button missing and add explore for host score 2020-02-10 18:52:14 +01:00
emanuele-f
9d59aa67be Add flow alerts score column 2020-02-10 11:51:00 +01:00
emanuele-f
b4fe14e38c Set the raw ip field also for non-flow alerts 2020-02-06 14:27:34 +01:00
emanuele-f
70b13aeb99 Split query filter and aggregation 2020-02-05 23:10:37 +01:00
Alfredo Cardigliano
6704ae5040 Fix 'Flush Alerts Data' to avoid breaking user scripts IDs 2020-01-30 11:46:43 +01:00
emanuele-f
4b5c7ee75a Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2020-01-30 09:04:44 +01:00
Alfredo Cardigliano
273e8879d8 Fix Flush Alerts Data 2020-01-29 18:27:00 +01:00
Luca
9a3083939f Fixed alert page 2020-01-29 16:09:09 +01:00
emanuele-f
9833a87cbc Implement alert on InfluxDB error messages 2020-01-28 15:09:24 +01:00
emanuele-f
6fa5f071e8 Add user script edit config icon into the flow details 2020-01-27 10:47:31 +01:00
Gabriele Pappalardo
a2f4a1a065 elephant flows (#3269)
* elephant flows
* fix for apply button after changes
* fix for refresh icons on index.lua page, scrollable dropdowns enabled
2020-01-21 16:32:14 +00:00
emanuele-f
aca088ea13 Add hyperlink to jump to the alert configuration
Closes #2936
2020-01-17 19:11:15 +01:00
Simone Mainardi
2b30fe80b2 Fixes unhandled VLAN in alerts explorer and dashboard
Fixes #3203
2020-01-10 18:56:36 +01:00
emanuele-f
5b05b06c96 Use extended icon classes.
Also fixes mining alert icon
2020-01-10 17:02:11 +01:00
Alfredo Cardigliano
b04ec43d99 Add revision to ntopng version in system alerts 2020-01-09 10:19:49 +01:00