Commit graph

1691 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
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
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
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
emanuele-f
10468d83bf Fix 1d aggregation 2019-02-01 17:58:17 +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
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
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
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
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
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
Emanuele Faranda
1bf7da7ef7 Implements Mac stats/data reset and reset at midnight (#2326)
* Host data/stats delete improvements

* Rework mac counters and implemtent mac stats/data reset

* Implement stats reset at midnight

* Add missing files
2019-01-21 17:27:12 +01:00
Simone Mainardi
2755b18dee Adds REST API tests 2019-01-18 19:54:21 +01:00
emanuele-f
2dbf1e9cb8 Rework host counters and implemtent host stats/data reset 2019-01-18 19:31:16 +01:00
Simone Mainardi
831e5d91e6 Implements Lua unit tests 2019-01-18 18:03:36 +01:00
Simone Mainardi
66783c91d5 Adds flow alert for flows that don't get purged 2019-01-17 17:04:47 +01:00
Simone Mainardi
2fc083b50b Adds testing facility for periodic checks 2019-01-17 16:13:39 +01:00
emanuele-f
d20760327f Add printNotes and fix table.merge on positional tables 2019-01-16 18:45:06 +01:00
emanuele-f
5719205606 Rework the nIndex preferences
Now preferences in common between nIndex and MySQL are always shown

Fixes #2317
2019-01-16 17:02:18 +01:00
Simone Mainardi
11f4b2fe67 Handles custom n2disk instances within ntopng 2019-01-16 16:59:36 +01:00
emanuele-f
5a1aa773c2 Fix missing L7 charts after string.split migration
Fix #2311
2019-01-14 19:19:58 +01:00
emanuele-f
635d4d6337 Fix network discovery using HTTP authentication
Fixes #2303
2019-01-11 14:58:21 +01:00
Alfredo Cardigliano
bb6937ca66 Interface Status Change Alerts and Interface Discards/Errors Alerts preferences 2019-01-11 12:53:19 +01:00
Alfredo Cardigliano
66e497ec01 new alert type alert_port_errors 2019-01-11 11:41:09 +01:00
emanuele-f
fccb39f676 Add check for possibly nil value 2019-01-11 10:41:44 +01:00
emanuele-f
40d8c36656 Fix split call in second.lua (without lua_utils) 2019-01-10 19:20:08 +01:00
emanuele-f
467cbf9904 Implement ingress/egress traffic charts
Closes #1452
2019-01-10 16:12:50 +01:00
emanuele-f
08a8c67966 Implement interface in/out stats read from proc 2019-01-10 12:35:07 +01:00
Alfredo Cardigliano
00e528e3d7 new get_alerts_data.lua endpoint with non-formatted data, UI now uses get_alerts_table_data.lua 2019-01-10 10:20:27 +01:00