Commit graph

3792 commits

Author SHA1 Message Date
emanuele-f
af1dc8a05e Limit alerts insertions if the queues are full 2019-11-08 11:26:49 +01:00
Luca
3a0e4b13f7 Redis stats improvements 2019-11-08 09:52:11 +00: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
emanuele-f
74ce0562d7 Rework datatableRefreshRows for easier and more robust usage 2019-11-07 11:19:40 +01:00
Luca
1fb32a0795 Unified nDPI struct across interfaces 2019-11-06 23:02:35 +00:00
emanuele-f
74a0ce0da9 Implement redis stats datatable with trend arrows 2019-11-06 19:25:19 +01: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
Luca
aad44a5bca Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2019-11-04 17:58:26 +01:00
Luca
71532321b5 Implemented redis stats 2019-11-04 17:58:12 +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
Simone Mainardi
9f0cf29d55 Fixes CPU load chart axes and units
Implements #3023
2019-11-04 15:50:29 +01:00
emanuele-f
191e530f6f Clean category lists error status on startup and remove debug prints 2019-11-04 13:07:24 +01:00
Simone Mainardi
24c1c1bd73 Fixes elephant and long-lived flow alerts configuration
Fixes #3028

Issue was due to commit b3a8c6d49a which removed preferences defaults
2019-11-04 11:49:07 +01:00
Luca Deri
d61470c653 Workaround for #3033 but a proper fix is necessary 2019-11-02 20:22:35 +01:00
Simone Mainardi
c171574957 Reads CPU load from /proc/loadavg 2019-11-01 18:35:57 +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
emanuele-f
33949d31fd Rework benchmark stats and charts 2019-10-31 17:48:53 +01:00
Alfredo Cardigliano
d10dfc7762 Deferred flow alerts insertion through a redis queue. Removed alerts DB select when printing flow details. 2019-10-31 12:53:23 +01:00
emanuele-f
e978a83151 Improve user scripts charts
Fixes #3020
2019-10-31 13:30:24 +01:00
Simone Mainardi
64b3892909 Counts user scripts execution time using clock ticks 2019-10-30 17:52:59 +01:00
Simone Mainardi
18a1d5ea8d Minor fix 2019-10-30 16:43:36 +01:00
Simone Mainardi
e10dfb1b24 Fixes for the CZ translation 2019-10-30 16:41:19 +01:00
emanuele-f
34c196d99e User scripts stats improvements 2019-10-30 10:53:54 +01:00
emanuele-f
29e5b10e6f Fix network interface alias not used in alerts configuration 2019-10-29 16:47:22 +01:00
emanuele-f
63660b59f4 Add stacked top user scripts chart 2019-10-29 16:36:00 +01:00
emanuele-f
13a7b8ba67 Add total row in flow user scripts benchmarks 2019-10-29 15:38:22 +01:00
emanuele-f
1de959ed88 Missing reload fix 2019-10-29 12:07:27 +01:00
emanuele-f
378a1e2cd8 Optimize nDPI categories reload to avoid packet drops 2019-10-29 12:07:27 +01:00
Simone Mainardi
cce73c2f44 Implements lua interpreters telemetry 2019-10-28 23:47:03 +01:00
emanuele-f
51f7a0a03f Hide periodic scripts stats on community due to custom charts 2019-10-28 17:47:18 +01:00
emanuele-f
9039b6aec0 Improve periodic script chart 2019-10-28 17:43:44 +01:00
Simone Mainardi
dc748b1b6d Implements stats for periodic scripts duration 2019-10-28 17:10:03 +01:00
Alfredo Cardigliano
fa57c701bb Displaying file id to retrieve files stored by Suricata 2019-10-28 12:24:15 +01:00
emanuele-f
943012e8c3 Avoid un-necessary hourly reload of category lists when nothing changed 2019-10-28 12:22:57 +01:00
emanuele-f
930fdc9bd1 Fix flows script table 2019-10-25 18:41:37 +02:00
emanuele-f
e238605f86 Fix latest run label 2019-10-25 17:51:29 +02:00
Alfredo Cardigliano
c7120e23f3 Hide periodic user scripts in pcap dump mode (unless --original-speed is specified) 2019-10-25 16:45:23 +02:00
emanuele-f
8a2d3dafff Fix interface paused icon 2019-10-25 16:44:20 +02:00
Alfredo Cardigliano
0d0394e862 Internals labels 2019-10-25 14:40:25 +02:00