Commit graph

2814 commits

Author SHA1 Message Date
Alfredo Cardigliano
b84ca05217 Fix validation of list of networks with vlan (fix #3068) 2019-11-22 19:11:06 +01:00
emanuele-f
3cfee777c5 Generalize SNMP absolute/last poll stats 2019-11-22 19:04:30 +01:00
Simone Mainardi
188ec66c25 Implements scriptable SNMP devices alerts 2019-11-22 18:00:31 +01:00
Alfredo Cardigliano
88a2c9c36f Email Notification improvements: add smtps support, add username/password configuration 2019-11-22 11:34:22 +01:00
emanuele-f
c8a13abcf7 RRD path fix 2019-11-21 11:46:06 +01:00
emanuele-f
1fd65ac44c Flow user scripts enhancements
- Add title label in hash table utilization gauges
- List Hash Tables charts and Periodic Activities charts in a single page
- Replace Periodic Activities max duration column with time utilization percentage
- Add api to add a straight line in the charts
- Show max duration time as a straight line in Periodic Activities charts
- Move dropped flow calls charts to the Peridic Activities page
- Fix expert view number of calls 0
- Fix interface/host/network trigger alert label
- Move chart icon to separate column in redis and influxdb pages
- Fix interface menu selection in Hash Tables and Periodic Activities
- Highlight issues with a warning triangle in Hash Tables and Periodic Activities
- Fix some page navigation issues with extra_params
- Fix wrong schema graph options passed to nv_graph_utils
2019-11-20 20:09:45 +01:00
Simone Mainardi
a893e0a2c0 Implements IP addresses retrieval by Mac address 2019-11-20 18:44:01 +01:00
Simone Mainardi
4cde74af2b Allows system probes timeseries to be enabled/disabled
Fixes #3069
2019-11-20 16:05:14 +01:00
Simone Mainardi
d3995e36a2 Fixes accesses to possibly nil discovered data 2019-11-19 18:12:56 +01:00
Simone Mainardi
b7f383e656 Fixes discovery JSON decode failures and handles too many devices
Fixes #3063
2019-11-19 17:46:27 +01:00
emanuele-f
2df9b34201 Add flow user scripts drops alert 2019-11-19 17:37:58 +01:00
emanuele-f
b2d804c123 Fix bugs in existing alert detection with default values
Using alerts with default values caused the already_triggered function to miss the existing alert, which
was automatically released. Moreover, the alerts_api.releaseEntityAlerts passed a nil cur_alerts,
breaking releaseEntityAlerts.
2019-11-19 17:37:31 +01:00
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