Matteo Biscosi
dbfdec34fe
Implements Local Host behaviour analysis and it's alert
...
Alert in case the host has an unexpected behaviour
2021-02-25 12:04:05 +01:00
Matteo Biscosi
ef3eb09d3b
Removed rrd fname from OSes schema
2021-02-25 10:55:22 +01:00
Simone Mainardi
981f7a0572
Removes experimental code for timeseries delta
2021-02-23 19:09:07 +01:00
Matteo Biscosi
f75331d2b5
Implements OS distribution
...
Implements #2874
2021-02-21 17:19:15 +01:00
Simone Mainardi
31a52787ee
Localization for Layer-7 Applications to Exporters
...
Implements #4976
2021-02-04 13:07:37 +01:00
Simone Mainardi
537bc5210a
Adds Layer-7 Applications to Exporters (backend)
...
Addresses #4976
2021-02-04 11:01:22 +01:00
Matteo Biscosi
52a396ec88
Implemented ASN traffic rcvd/sent graph
...
Implements #1786
2021-01-21 11:44:06 +01:00
Luca Deri
a1178a0791
Updated (C)
2021-01-02 12:08:23 +01:00
Matteo Biscosi
101c53336e
Migrates alerts to an object-oriented implementation
2020-12-23 11:46:26 +01:00
DasSkelett
14d89c3fdb
Fix nil check in isCompatibleVersion() ( #4841 )
...
While playing around with the timeseries feature I got the following exception when trying to use Telegraf's `inputs.influxdb_listener` as proxy to a Prometheus database.
```
...opng/scripts/lua/modules/timeseries/drivers/influxdb.lua:1643: attempt to index a nil value (local 'current')
```
`current` is likely supposed to be checked for nil earlier together with `required`, but instead of `current` the line is checking `version`, which isn't used anymore afterwards though.
So this commit changes the check from `version == nil` to `current == nil`.
Since then I've discovered that proxying Prometheus via Telegraf's `influxdb_listener` doesn't work anyways since ntopng also tries to read from it, but that's a different story.
2020-12-16 17:52:28 +01:00
Simone Mainardi
b3dc39c641
Refactors alert_severities into an independend Lua module
2020-11-30 15:28:17 +01:00
Luca Deri
58eb081b3a
Fixes #4611
2020-10-21 16:14:55 +02:00
Simone Mainardi
a0056ef2b7
Unifies alerted and misbehaving flows on hosts
...
Fixes #4596
2020-10-19 10:19:22 +02:00
gabryon99
ee80638073
fixed invalid graph unity ( #4525 )
2020-10-07 17:10:37 +02:00
Alfredo Cardigliano
c6cf8e418e
Add timeseries for host and interface DSCP classes
2020-07-21 10:08:08 +02:00
Alfredo Cardigliano
a03c2158d8
Remove useless chart with duplicated info
2020-07-01 11:54:25 +02:00
Simone Mainardi
b8eabac4ba
Adds timeseries of database dumped/dropped flows
2020-06-25 15:11:46 +02:00
gabryon99
77d5fd9706
fixed regex for influxdb version
2020-06-23 09:44:52 +02:00
gabryon99
efe75bd55a
add snmp3 username
2020-06-23 09:00:55 +02:00
Simone Mainardi
a3d7365888
Implements netsnmp charts for cpu states and memory
2020-06-09 22:56:21 +02:00
Simone Mainardi
2010890af9
Migrates other lua to REST API v1
2020-06-01 11:03:12 +02:00
emanuele-f
3fe13a245b
Remove unused references related to the timeseries ring
2020-05-29 14:54:21 +02:00
Luca Deri
da44b8fb65
Added missing parameter
2020-05-29 12:46:03 +02:00
emanuele-f
610e632234
Add comments/remove table.clone when not needed
2020-05-21 11:10:47 +02:00
emanuele-f
340462ad73
Cleanup of the timeseries ring and NetworkInterfaceTsPoint
2020-05-20 15:18:03 +02:00
Simone Mainardi
c41309f21e
Fixes InfluxDB version check when headers are manipulated by HAProxy
...
Fixes #3964
2020-05-20 13:02:28 +02:00
emanuele-f
4dc368011b
Remove unused local function
2020-05-18 19:27:21 +02:00
Simone Mainardi
0f2ce04912
Fixes InfluxDB retention policies not updated upon retention changes
...
Fixes #3922
2020-05-13 14:25:46 +02:00
Luca Deri
b0c23144ee
Fixed labels and inconcistencies on active monitoring
...
Added ability for RRD to handle RRDs with 4 measurements. rrd driver might need further work
2020-05-04 19:13:03 +02:00
emanuele-f
9381dd6fc0
Show upload speed and latency in speedtest active monitoring
2020-04-29 16:51:11 +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
emanuele-f
2648ae372f
Rename measure in metric for active monitoring ts
...
Closes #3837
2020-04-27 14:36:30 +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
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
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
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
emanuele-f
64ceaa5b89
Fix discarded first RRD point in gauges
...
The point was discarded because of a bad RRD start time during the RRD creation.
The start time is now computed as "insertion_timestamp - heartbeat".
Fixes #3751
2020-04-15 12:55:31 +02:00
emanuele-f
035ddf48e7
Add possibly changed schema to fix cq influxdb errors
2020-04-14 15:55:26 +02:00
emanuele-f
62d1ad69db
Implement algorithmn to delete generic schema prefixes with RRD
2020-04-14 13:19:52 +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
75e7858cbc
Fix RTT alerts not released when RTT host is deleted
...
Fixes #3608
2020-03-23 12:31:44 +01:00
emanuele-f
f5ea87910a
Fix bad RTT timeseries metric and avoid HTTP 100
...
Should address #3603
2020-03-23 11:58:30 +01:00
emanuele-f
65905dc9fb
Delete RTT ts when host is deleted
...
Fixes #3566
2020-03-19 19:13:29 +01:00
emanuele-f
9f01dd4afe
Rework RTT to use two separate parameters for the key
2020-03-19 18:13:34 +01:00
Luca Deri
1d2f44fc39
Moved Prometheus to attic
2020-03-19 12:58:48 +01:00