Commit graph

5894 commits

Author SHA1 Message Date
Alfredo Cardigliano
da2b6e152c Fix undefined dirs in alert_slow_periodic_activity.lua 2020-12-18 10:02:23 +01:00
Simone Mainardi
1a71ba4f5f Removes remote assistance
Fixes #4785
2020-12-17 19:41:37 +01:00
gabryon99
8981c32893 improvements on service map 2020-12-17 13:12:24 +01:00
gabryon99
ddbf1bb01f add rtt_threshold and bandwidth_threshold to infrastructure instances 2020-12-17 12:57:38 +01:00
Simone Mainardi
24cf807e7b Implements batched flows iterator in callback_utils 2020-12-17 12:01:19 +01:00
gabryon99
fcbc7d18dc fixed url typo 2020-12-17 11:38:45 +01:00
gabryon99
5fa6e69038 improvement on service_map page
The graph page has been set as the first page wehn a user navigates to
the service map page. When a user double clicks a node then the map will
be filtered with only the edges linked to the node. The flush data and
download buttons have been restored.
2020-12-17 11:37:51 +01:00
Alfredo Cardigliano
e581f2caf5 Fix nindex data visualization in Pro version 2020-12-17 11:19:02 +01:00
gabryon99
65a5d4658c add new service map page under host menu 2020-12-16 21:05:58 +01:00
gabryon99
f3080206a7 migrated old service map to attic folder 2020-12-16 21:05:58 +01:00
gabryon99
37c2811a46 improvement ons pie charts under application tab (interface) 2020-12-16 21:05:58 +01:00
gabryon99
bf92e7906c add shortcut entries inside the sidebar 2020-12-16 21:05:58 +01:00
matteo
2a452c0225 Removed useless print 2020-12-16 18:59:46 +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
Luca Deri
4431059835 Added symbolic host label to service map 2020-12-16 17:50:53 +01:00
matteo
e6ec7c1612 Added service status to service map 2020-12-16 17:23:59 +01:00
matteo
e9fb6a3b3a merged and resolved the conflict 2020-12-16 16:51:51 +01:00
Simone Mainardi
d66368be24 Implements behavioural analysis learning period preference 2020-12-16 16:50:19 +01:00
Luca Deri
4ffff0859a Implemented interface.getAddressInfo() API call to return information about IP addresses in a reliable way frm the ntopng engine 2020-12-15 20:43:20 +01:00
Simone Mainardi
58b982d3fb Prevents alert flow info from being shown in the flow alert page 2020-12-15 17:31:52 +01:00
Simone Mainardi
3b202121f6 Reworks notifications to avoid JSON-decode to read severity 2020-12-15 16:52:39 +01:00
Luca Deri
426d626331 Added missing spaces 2020-12-15 16:23:47 +01:00
Luca Deri
a67ab0ff09 Optimized IEC 104 charts with bi-directional arrows 2020-12-15 16:23:47 +01:00
matteo
d0857cd7f8 Fixed flow direction on service map graph 2020-12-15 15:53:08 +01:00
Luca Deri
5df403e969 Fixes #4751 2020-12-15 15:36:25 +01:00
matteo
0a0309fb32 Added bidirectional flows to service map graph 2020-12-15 15:29:19 +01:00
matteo
7f2171eb96 Changed multicast/broadcast addresses colors in service map 2020-12-15 13:22:44 +01:00
Luca Deri
4e6bbd430d Added click event in service map 2020-12-15 12:03:54 +01:00
matteo
237006563b Added Service Map graph 2020-12-15 11:44:40 +01:00
Simone Mainardi
33342abc54 Additional work towards new unified alerts/flow status API 2020-12-14 19:01:33 +01:00
Luca
48641b2e81 Recipient budget is no longer staticly assigned but a portion of the total budget
equally shared among the configured recipients with a cap of 1000
2020-12-14 14:40:47 +01:00
Luca
e1158fb855 Removed Logstats implementation that was suboptinal
Replaced sys syslog that is more generic and that can also be used with Logstash
Fixes #4796
2020-12-14 13:52:12 +01:00
Luca Deri
cf01160db4 Test files for upload/download bandwidth test 2020-12-11 18:00:35 +01:00
MatteoBiscosi
de340b66ef Fixed #2789 implement remote DNS resolution failure alert 2020-12-11 09:54:02 +01:00
MatteoBiscosi
fdc2ff603d Fixed maximum hosts/flows wizard 2020-12-10 12:43:46 +01:00
Simone Mainardi
d13997e120 Migrates the UI to use rest/v1/get/timeseries/ts.lua 2020-12-09 18:25:15 +01:00
matteo
a8cd70e0e5 Fixed #4730 Reset list of learnt MAC addresses 2020-12-09 17:18:35 +01:00
Matteo Biscosi
2dfa67e914
Added POST regarding too_many_hosts/flows alert 2020-12-09 13:10:39 +01:00
Matteo Biscosi
efe16f5521
Removed tprint and modified too_many_hosts title 2020-12-09 12:23:48 +01:00
matteo
6b71eeefe7 Changed too_many_flows/hosts POST url 2020-12-09 11:56:16 +01:00
matteo
20a8bb115a Fixed #2959 handle new -X/-x settings when the respective messages appear 2020-12-09 11:51:34 +01:00
Simone Mainardi
0897c9b28d Implements toast capability to open modals and generate AJAX 2020-12-07 18:30:35 +01:00
Alfredo Cardigliano
3a5fa4564a Check passphrase length in the UI form. Add ieee80211n/ieee80211ac. 2020-12-07 16:32:08 +01:00
Alfredo Cardigliano
1513d799a4 Add country code to wpa supplicant to avoid soft lock, fix wired dev 2020-12-07 11:12:01 +01:00
Alfredo Cardigliano
20d1bb3455 Add flag to enable wifi changes on reboot, parametric interface names 2020-12-06 23:12:22 +01:00
Simone Mainardi
c7c3a1af17 Minor fix 2020-12-04 17:45:04 +01:00
Simone Mainardi
8d6dafc897 Unifies new alerts and flow alerts API 2020-12-04 17:03:23 +01:00
Alfredo Cardigliano
d5602040d7 Do not add a loopback conf twice 2020-12-04 08:17:29 +00:00
Alfredo Cardigliano
dcf554a668 Enable IP config in iot bridge mode 2020-12-04 08:10:37 +00:00
Alfredo Cardigliano
fdd4305e5a Add support for static bridge IP and recovery alias 2020-12-03 22:30:06 +00:00