emanuele-f
227eef9d3e
Fix entity specific settings defaults not populated
2019-11-19 17:37:31 +01:00
Simone Mainardi
9d13065280
Reworks internals hash tables status page
2019-11-19 14:44:09 +01:00
emanuele-f
3ba5dcd003
Add string to number conversion in tolongint
2019-11-19 14:09:21 +01:00
emanuele-f
ac0c20441f
Add type check in tolongint
2019-11-19 11:17:41 +01:00
Luca Deri
885815b3aa
Merge branch 'dev' of https://github.com/ntop/ntopng into dev
2019-11-18 19:30:48 +01:00
Luca Deri
150e58582e
LLDP strings
2019-11-18 19:30:39 +01:00
emanuele-f
b2a6588ad5
Add check for big/small number in integer conversion
2019-11-18 17:43:04 +01:00
Simone Mainardi
2d33f550b2
Implements progress bars to express hash tables usage and entries by state
...
Implements #3042
2019-11-18 17:21:54 +01:00
Alfredo Cardigliano
390a3e4141
Links to the scripts list ( fix #3011 )
2019-11-15 18:46:57 +01:00
emanuele-f
fc962d73f3
Improve and clean up pending flow scripts call logic
...
Pending calls are now visualized into the FlowHash "Call Stats" chart
2019-11-15 18:10:16 +01:00
Simone Mainardi
21ab623677
Generalizes internals code to reuse it between interfaces and dashboard
2019-11-15 15:30:32 +01:00
Simone Mainardi
f03bbfeadc
Implements internals periodic activities dashboard
2019-11-15 14:45:02 +01:00
Alfredo Cardigliano
e38835a603
Rename SSL to TLS ( fix #3013 )
2019-11-15 12:40:01 +01:00
emanuele-f
84178c4fa1
Fix 5sec stats time alignment
2019-11-15 11:52:33 +01:00
emanuele-f
60fc7e0cfb
Improve flow.lua and add statistics
2019-11-15 10:51:19 +01:00
Alfredo Cardigliano
d2b7cea9c8
Keeping track of resident memory only ( fix #3040 )
2019-11-15 09:42:08 +01:00
emanuele-f
4628ad3bcd
Fix invalid upsampling due to missing points in composed charts
2019-11-14 20:03:43 +01:00
emanuele-f
bea63668b8
Separate old benchmark from user scripts
2019-11-14 20:03:43 +01:00
Simone Mainardi
dcc84d83d3
Implements internals_utils and add hash table filtering
2019-11-14 19:34:51 +01:00
emanuele-f
bde0a51f9c
Add periodic_update_seconds parameter
2019-11-14 16:10:45 +01:00
Simone Mainardi
fd33ad1429
Implements summary page across all ntopng interfaces
2019-11-14 15:38:51 +01:00
emanuele-f
c19bda5425
Move internal alerts queue from redis to C
2019-11-14 12:07:29 +01:00
emanuele-f
df0556cb87
Optimize flow alerts generation
...
This provides a ~10x speedup by performing the JSON serialization work in C
(and thus avoiding Lua->C overhead). This also implements two in-memory alerts
queues (one for sqlite and one for the notifications) in order to reduce Redis load.
Alerts queue are now global instead of per-interface as there is only 1 dequeing thread.
2019-11-14 11:54:13 +01:00
emanuele-f
99bcd4c701
Fix multiple issues in username validation
...
Fixes #3054
2019-11-13 12:08:35 +01:00
Simone Mainardi
47169b82be
Reworks counting of skipped flow lua calls
2019-11-11 18:22:37 +01:00
emanuele-f
739c87a52d
Initial flow user scripts optimization
2019-11-11 18:04:48 +01:00
emanuele-f
a57049f3dc
Fix invalid cli2srv.packets field
2019-11-11 15:51:32 +01:00
emanuele-f
d9fd30b9e6
Reduce redis load due to queue rating algorithmn
2019-11-11 10:49:08 +01:00
emanuele-f
4d45ffff08
Add missed calls stats
2019-11-08 17:13:24 +01:00
Luca
5f72aa0c2e
nDPI cleanup
2019-11-08 11:38:03 +00:00
emanuele-f
23e427e361
Reduce llen number of calls for alerts queue rating
2019-11-08 11:51:49 +01:00
emanuele-f
af1dc8a05e
Limit alerts insertions if the queues are full
2019-11-08 11:26:49 +01:00
emanuele-f
2708450e96
Add normalizeSeriesPoints
2019-11-07 17:15:16 +01:00
Alfredo Cardigliano
d54e34b102
Reworked flow fields parsing. Fixed SIP/RTP details ( Fix #3043 )
2019-11-07 12:51:13 +01:00
Luca
1fb32a0795
Unified nDPI struct across interfaces
2019-11-06 23:02:35 +00:00
emanuele-f
58d88d161e
Implement redis num calls charts
2019-11-06 18:12:17 +01:00
Alfredo Cardigliano
cb2f37529e
Reworked storeFlowAlert (using Lua table instead of many params now)
2019-11-06 10:02:15 +01:00
emanuele-f
8b6c3cb80f
Fix slack alert endpoint error
2019-11-05 16:39:28 +01:00
emanuele-f
4d322c3c09
Add missing max devices check
2019-11-05 16:00:26 +01:00
Alfredo Cardigliano
acdab024da
Enqueueing flow alerts to be stored/notified from Lua, removed DB select to notiy alert (using the alert object directly)
2019-11-05 15:53:10 +01:00
emanuele-f
17a22ef986
nil fix
2019-11-05 15:35:56 +01:00
emanuele-f
54140b6f1a
Migrate alertable disabled alerts preference to lua
...
This avoids performing multiple hget on redis, thus increasing performance
2019-11-05 14:59:38 +01:00
emanuele-f
a96a90b65f
Optimize disabled alerts bitmap redis access
2019-11-05 12:29:08 +01:00
Alfredo Cardigliano
280213e148
Enqueueing alerts as soon as they are detected, instead of using 2-steps ( #3038 )
2019-11-05 11:04:44 +01:00
Simone Mainardi
c4ad235bf8
Fixes empty callbacks lists with alerts disabled
...
Fixes #3037
2019-11-04 18:38:20 +01:00
emanuele-f
675adcf90e
Migrate hosts disabled flow status preference to lua
...
By loading all the preferences at once in flow.lua setup() the
redis load is reduced and design is simpler.
2019-11-04 16:50:26 +01:00
emanuele-f
191e530f6f
Clean category lists error status on startup and remove debug prints
2019-11-04 13:07:24 +01:00
Luca Deri
d61470c653
Workaround for #3033 but a proper fix is necessary
2019-11-02 20:22:35 +01:00
emanuele-f
9b5be79b1d
Remove redundant script key
...
The script file name is used as the key
2019-10-31 18:24:58 +01:00
emanuele-f
cfc1f0fe57
Fix ht:lua_calls chart
...
Fixes #3021
2019-10-31 18:06:02 +01:00