Commit graph

3846 commits

Author SHA1 Message Date
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
69fa394bb6 Fix disabled SNMP timeseries toggle 2019-11-22 10:40:34 +01:00
Simone Mainardi
5b81a3ab9e Implements low goodput calculation in lua 2019-11-21 16:37:33 +01:00
Alfredo Cardigliano
7731ef443e ZMQ enccryption key notes 2019-11-21 16:03:57 +01:00
Alfredo Cardigliano
e585ad9f1b Autogenerate persistent ZMQ CURVE key pairs. Display the public key in the interface details. New --zmq-encryption option to enable encryption (disabled by default for the time being) 2019-11-21 13:01:48 +01:00
emanuele-f
6932a155fe Add home menu entry to the alerts/status definitions page 2019-11-21 12:04:41 +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
4401168b79 Expresses packet drops with a progress bar 2019-11-19 15:25:52 +01:00
Simone Mainardi
9f30d858b3 Adds interface hyperlinks to internals interface stats page 2019-11-19 15:18:27 +01:00
Simone Mainardi
c7130cf7bc Shows interface labels in the system interfaces stats page 2019-11-19 14:48:27 +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
Alfredo Cardigliano
b40c53f9d0 Fix category page update (fix #2822) 2019-11-15 17:18:50 +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
214103689c Removes a debug print 2019-11-14 19:35:37 +01:00
Simone Mainardi
dcc84d83d3 Implements internals_utils and add hash table filtering 2019-11-14 19:34:51 +01:00
Simone Mainardi
c482124632 Implements internals hash tables summary page for all interfaces 2019-11-14 17:01:48 +01:00
emanuele-f
bde0a51f9c Add periodic_update_seconds parameter 2019-11-14 16:10:45 +01:00
Simone Mainardi
8fa525eddc Hides interfaces status report when only one interface is monitored 2019-11-14 15:47:44 +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