Commit graph

4724 commits

Author SHA1 Message Date
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
emanuele-f
ebe2e78b7e Split RX/TX in other charts 2020-04-24 17:41:52 +02:00
emanuele-f
c1a1ff54da Split SNMP and AS traffic directions in charts 2020-04-24 17:33:38 +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
emanuele-f
f10716fd17 Chart host unreachable data points as red lines
Needed for #3777
2020-04-21 15:49:25 +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
gabryon99
67dd888e13 fixed plus buttons across tables
fix #3778
2020-04-20 15:41:21 +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
6f3a9ee3e5 added js plugin widgets for testing purposes 2020-04-17 20:20:24 +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
35be58ede9 Fix speed test alerts not generated 2020-04-17 12:22:45 +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
Simone Mainardi
9b5013cf4d Reconciles flows page description
Fixes #3781
2020-04-16 21:27:05 +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
Luca Deri
3f1fabc73f Added label 1.x to InfluxDB in preferences (until #3764 is fixed) 2020-04-15 21:36:32 +02:00
emanuele-f
c6b43f1af3 Pass client timezone as a cookie to properly format time 2020-04-15 17:44:08 +02:00
Simone Mainardi
4d61e7b23d Implements utils to properly handle fingerprint data across pages
Fixes #3762
Fixes #3761
2020-04-15 17:11:56 +02:00
emanuele-f
b6d10f2d2a Rework formatAlertMessage json decoding 2020-04-15 15:49:27 +02:00
Simone Mainardi
4c36e7bab4 Implements a template to show alert and status ids 2020-04-15 15:13:53 +02:00
Simone Mainardi
0a9a7015e0 Unifies status_id and status_key 2020-04-15 14:29:03 +02:00