Commit graph

2838 commits

Author SHA1 Message Date
Simone Mainardi
9cb2a3a89b Adds missing tcp_flow_state_utils.lua 2019-02-09 12:29:51 +01:00
emanuele-f
4525350096 Change default lists update time 2019-02-08 19:16:38 +01:00
emanuele-f
7e0117fd12 Initial work for category lists customization 2019-02-08 19:14:57 +01:00
Simone Mainardi
3dd9f11628 Implements flow TCP states filters 2019-02-08 15:57:03 +01:00
emanuele-f
33a26d4ff5 Fix totals in aggregated timeseries 2019-02-08 13:33:14 +01:00
emanuele-f
139c7d4bae nEdge port forwarding validation and localization 2019-02-07 17:30:31 +01:00
Simone Mainardi
7b893dd609 Updates Sonicwall signature ids 2019-02-07 16:32:28 +01:00
Simone Mainardi
7a1b2dc887 Parses nProbe options topic and handles custom applications 2019-02-07 16:11:11 +01:00
emanuele-f
d28bd1e4e9 Simplify CQ handling by storing data as derivatives
This requires less complexity than integral handling as it can now be handled similarly as gauge metrics
2019-02-07 12:11:44 +01:00
emanuele-f
b82aea611e Properly handle CQ aggregated types for counters 2019-02-06 19:17:41 +01:00
Luca Deri
937ee52de7 Disabled some debug messages in tracings
Added ability to avoid parsing JSON payload when specifying ignore_post_payload_parse = something. This is useful in case of a HTTP post where you do not want to parse it.

Example:
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local json = require "dkjson"

-- Use ignore_post_payload_parse BEFORE calling 'require "lua_utils"'
ignore_post_payload_parse = 1
require "lua_utils"

sendHTTPContentTypeHeader('application/json')
local info, pos, err = json.decode(_POST["payload"], 1, nil)
2019-02-06 15:28:18 +01:00
Simone Mainardi
500964c457 Improves anomaly index on active flows 2019-02-06 11:31:56 +01:00
emanuele-f
ce96249702 Fix CQ error 2019-02-05 20:43:30 +01:00
emanuele-f
fde0717ac9 Fix influxdb continuos queries 2019-02-05 16:24:11 +01:00
emanuele-f
ce9bc948e0 Fix missing l4 protocols charts links 2019-02-04 17:24:24 +01:00
emanuele-f
4d0f153b06 Avoid different number of points for past queries 2019-02-04 16:51:38 +01:00
Simone Mainardi
15200f7afc Implements inactive hosts engaged alerts 2019-02-04 15:02:59 +01:00
Luca Deri
db5053899d Added filter for mostly idle hosts 2019-02-04 13:42:50 +01:00
emanuele-f
4f60243338 Implement timeseries data read from aggregated retention policies
Aggregation selector can be shown by setting "ntopng.prefs.influxdb.debug_aggregation" = "1"
2019-02-04 13:26:22 +01:00
emanuele-f
8e471d92fb Add first aggregation time for aggregated influxdb data 2019-02-04 13:26:22 +01:00
Luca Deri
0108eaf473 Added debug code for evaluating anomalies 2019-02-04 13:15:35 +01:00
Luca
1638a36ec7 Initial experiments on counters monitoring 2019-02-03 15:32:32 +01:00
emanuele-f
10468d83bf Fix 1d aggregation 2019-02-01 17:58:17 +01:00
emanuele-f
dbeabadbe6 Add checks for possibly nil host 2019-02-01 17:14:20 +01:00
emanuele-f
ad3f221828 Suggest InfluxDB when monitoring many hosts
The check is based on the number of local hosts and timeseries enabled

Closes #2350
2019-02-01 15:07:12 +01:00
Simone Mainardi
708fb332b4 Adds inactive hosts alerts (WIP) 2019-01-31 19:10:21 +01:00
emanuele-f
e46d4ef5df Fix continuos queries creation 2019-01-31 19:09:00 +01:00
emanuele-f
fb3a0b8659 Get timeseries data with timestamps 2019-01-31 16:31:37 +01:00
emanuele-f
3cc2e8f1fe Add missing require 2019-01-31 14:55:59 +01:00
emanuele-f
f2e610d1ea Fix missing host name during first resolution 2019-01-31 13:30:41 +01:00
emanuele-f
229c3b13c9 Implement initial InfluxDB rollup support
Currently disabled, enable with
  redis-cli set ntopng.prefs.beta_rollup 1
2019-01-31 12:02:40 +01:00
Simone Mainardi
badb07561d Minor names repr fix 2019-01-30 14:40:14 +01:00
Simone Mainardi
0ee599d052 Adds MDNS/MDNS TXT/resolved names to the host details page 2019-01-30 14:36:33 +01:00
Alfredo Cardigliano
3381ddbcf5 REST endpoints update
get_alerts_data.lua -> rest/get/alert/data.lua, host_get_json.lua -> rest/get/host/data.lua, get_interface_data.lua -> rest/get/interface/data.lua, live_traffic_extraction.lua -> rest/get/pcap/live_extraction.lua
2019-01-30 14:18:45 +01:00
Simone Mainardi
183dfa41f9 Handles IPv6 NDP to detect broadcast domain 2019-01-30 11:49:47 +01:00
Luca Deri
36b34389ac Initial work towards REST-ful code rework 2019-01-30 10:54:09 +01:00
Luca Deri
299ad0b5e2 Added JSON decoding for REST support 2019-01-30 09:55:04 +01:00
Simone Mainardi
7fb3d17b6d Docs update with external traffic recording providers 2019-01-29 17:19:09 +01:00
Simone Mainardi
b6e1949ae9 Notifies the user when an external n2disk is available to bind to ntopng 2019-01-29 16:38:52 +01:00
emanuele-f
6113c692af Unify Protocol/Application labels
L4 information is now referred to as "Protocol"
L7 information is now referred to as "Application"

Closes #2316
2019-01-28 16:59:27 +01:00
Simone Mainardi
d187b82560 Properly handles Host os without shadows 2019-01-25 14:28:15 +01:00
Simone Mainardi
50e32be5a7 Properly handles Host ssdp and mdns without shadows 2019-01-25 12:39:43 +01:00
Simone Mainardi
bd7501f89a Fixes broken sort by seen since 2019-01-24 17:03:46 +01:00
Simone Mainardi
b58b30bea0 Use jdkson to produce JSON in get_hosts_data.lua 2019-01-24 16:22:11 +01:00
Simone Mainardi
5317d23fc2 Disables ZMQ flow collection drop alerts (waiting to make them engaged)
Revert "Implements ZMQ flow collection drops alerts"

This reverts commit d21e8d6f3e.
2019-01-24 15:02:22 +01:00
Simone Mainardi
932d400a30 Use jdkson to produce JSON in get_host_data.lua
Implements #2331
2019-01-24 14:59:54 +01:00
Simone Mainardi
d21e8d6f3e Implements ZMQ flow collection drops alerts 2019-01-23 19:42:18 +01:00
Simone Mainardi
07eaeb2bcd Fixes received ZMQ flows wrongly stored as gauge 2019-01-23 17:35:13 +01:00
Simone Mainardi
aac5c792b7 Fixes timeseries 'missing metric' errors 2019-01-23 17:30:46 +01:00
Simone Mainardi
fa3d346f58 Adds historical charts of flow collection drops 2019-01-23 16:16:55 +01:00