Commit graph

2975 commits

Author SHA1 Message Date
emanuele-f
f6949452c3 Add SSDP as an allowed protocol for Multimedia devices
Also fix old SSL protocol references. Closes #3760 .
2020-04-28 15:16:36 +02:00
emanuele-f
237bac3afe Shorten the broadcast domain alert message
Closes #3790
2020-04-28 15:02:57 +02:00
emanuele-f
e3115e14e8 Alternative message for speedtest execution alerts 2020-04-28 12:53:43 +02:00
gabryon99
ab0c7ae440 fix for multibar widget 2020-04-27 21:07:02 +02:00
Alfredo Cardigliano
963cff670f Cleanup severity for external alerts 2020-04-27 18:04:41 +02:00
emanuele-f
c92404757e Add interface score 2020-04-27 18:01:48 +02:00
gabryon99
22b716b4f1 widgets working progress 2020-04-27 18:00:39 +02:00
Simone Mainardi
83c4d36e34 Simplifies flow.triggerStatus using internal flow status reference 2020-04-27 17:48:56 +02:00
Simone Mainardi
290175b16f Refactors alrt builders into creators
Refactors builders into creators: calls
2020-04-27 15:53:56 +02:00
emanuele-f
00c5e9f909 Add ability to report resolved IP address for unreachable hosts 2020-04-27 15:46:03 +02:00
Simone Mainardi
efe4f9a8be Unifies alerts generation format with flow statuses 2020-04-27 14:37:04 +02:00
emanuele-f
2648ae372f Rename measure in metric for active monitoring ts
Closes #3837
2020-04-27 14:36:30 +02:00
Simone Mainardi
ab1690ad9e Implements builders for each flow status definition
[FlowsK] alert_blacklisted_country.lua

[FlowsK] alert_flow_blacklisted.lua

[FlowsK] alert_device_protocol_not_allowed.lua

[FlowsK] external_alert.lua

[FlowsK] alert_potentially_dangerous_protocol.lua

[FlowsK] tls_certificate_mismatch.lua

[FlowsK] tls_certificate_expired.lua

[FlowsK] tls_malicious_signature.lua

[FlowsK] elephant_flows.lua

[FlowsK] not_purged.lua

[FlowsK] web_mining.lua

[FlowsK] potentially_dangerous.lua

[FlowsK] alert_flow_blocked.lua
2020-04-27 12:43:37 +02:00
emanuele-f
7191f3e1a5 Add checks to avoid startup failures when plugins metadata does not exist 2020-04-27 12:25:48 +02:00
Luca Deri
c787a9d956 Timeseries datasource (work in progress) 2020-04-25 19:48:23 +02:00
emanuele-f
345b202975 Split 95th percentile by direction 2020-04-24 18:24:57 +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
9539af1905 Fix bad enterprise version reported 2020-04-24 12:40:32 +02:00
Simone Mainardi
bc154394e9 Cleanup unused code 2020-04-23 12:21:32 +02:00
emanuele-f
8d0e887878 Handle NaN in timeseries stats and total 2020-04-23 11:46:41 +02:00
emanuele-f
24583f8443 Handle NaN when downsampling
NaN values should be converted to 0 before calculating the sums. However, if all the values for the
current downsampled point are NaN, they still have to be reported as NaN.
2020-04-23 11:46:41 +02:00
Simone Mainardi
3aae0dd849 Removes unused require 2020-04-23 11:03:26 +02:00
Simone Mainardi
f6952358e7 Uniforms handling of alert ids
Implements #3823
2020-04-23 10:27:05 +02:00
gabryon99
df95482829 add animation and live update to table and pie widgets 2020-04-22 23:46:03 +02:00
Simone Mainardi
ae9b4b963e Standardizes export/dump nomenclature 2020-04-22 18:54:35 +02:00
Luca Deri
7be31e1919 Updated donut data model 2020-04-22 18:36:03 +02:00
Simone Mainardi
28480748aa Implements runtime flows dump toggle 2020-04-22 18:12:49 +02:00
gabryon99
747980cf45 migrating widgets to nvd3 2020-04-22 18:11:08 +02:00
Simone Mainardi
ac8bd534ea Implents PEN for alert keys
Implements #3823
2020-04-22 13:21:40 +02:00
emanuele-f
17099311de Remove unnecessary json decode 2020-04-22 11:53:38 +02:00
Simone Mainardi
78b334e4eb Refactors alerts and flow statuses in builtin and plugins
Implements #3811
Implements #3812

Refactors builtin alerts

Refactors builtin flow statuses
2020-04-21 22:27:49 +02:00
Luca Deri
1c76667b21 Widgets update 2020-04-21 19:17:00 +02:00
emanuele-f
57c7abccfb Remove unused function 2020-04-21 16:48:36 +02:00
Simone Mainardi
37200393a6 Fixes timezone computation on DST times
Addresses #3732
2020-04-21 13:47:23 +02:00
Simone Mainardi
d2aac8cced Reconciles times to always been adjusted to the client timezone
Fixes #3732
2020-04-20 16:58:01 +02:00
Simone Mainardi
9b061871fa Fixes server/client timezone offset computation 2020-04-20 16:58:01 +02:00
emanuele-f
a6bcf6e9e3 Fix redundant interface path in RRD schemas
Affected schemas:

  - flow_script:lua_duration
  - flow_script:pending_calls
  - flow_script:skipped_calls
  - flow_script:successful_calls
  - process:num_alerts
  - process:resident_memory
  - redis:keys
  - redis:memory
  - system:cpu_load
  - system:cpu_states
2020-04-20 16:20:35 +02:00
emanuele-f
0be2da4f57 Cleanup remaining references to RTT 2020-04-20 12:21:39 +02:00
gabryon99
4caea8fcb1 updates for widgets 2020-04-19 11:55:11 +02:00
Luca Deri
17bbfb7c78 Widget improvements 2020-04-18 21:26:35 +02:00
Simone Mainardi
a98fc1c5a6 Fixes alert endpoints caching causing toggles to be ignored 2020-04-18 16:58:33 +02:00
Simone Mainardi
6ea50fb004 Implements the Elasticsearch alerts endpoint
Implements #3105

Initial work to add elastisearch alerts

Initial implementation of ES alerts

Implements version check

Implements flow alerts format

Changes Elasticsearch index name

Comments the Elasticsearch alert endpoint
2020-04-18 16:35:14 +02:00
gabryon99
176e3d7c29 fix key rendering in widegts list and added get_widget inside widget_utils 2020-04-17 20:19:25 +02:00
emanuele-f
947fee33b2 Write 0 in timeseries for unreachable monitored hosts 2020-04-17 16:19:56 +02:00
emanuele-f
f94f784c0f Move active monitoring HTTP lint to the plugin directory 2020-04-17 15:07:01 +02:00
emanuele-f
0968c7b984 Rename active monitoring timeseries 2020-04-17 12:41:21 +02:00
emanuele-f
fdadaca950 Fix invalid initial RRD point added 2020-04-17 11:22:19 +02:00
Simone Mainardi
4824150278 Prevents certain data (e.g., passwords) to be sent via mail
Fixes #3782
2020-04-16 21:47:29 +02:00
emanuele-f
6f2f9b223f Fix drilldown interval 2020-04-16 15:59:22 +02:00
gabryon99
1e5376da95 reworked script editor page 2020-04-15 23:07:05 +02:00