Commit graph

2429 commits

Author SHA1 Message Date
Simone Mainardi
d7d26faad1 Initial migration to bootstrap4 2019-12-05 09:27:46 +01:00
emanuele-f
679f0638f6 Additional checks for bad domain/ip addresses 2019-12-04 17:40:18 +01:00
Luca
464f2845f7 Third party lua template engine 2019-12-02 18:50:33 +01:00
Alfredo Cardigliano
6359bc9ab0 Fix displayed RTP MOS with TLV (this also fixes other fields formatting with JSON) 2019-12-02 12:09:37 +01:00
emanuele-f
d86d58a80d Make InfluxDB query timeout configurable 2019-11-29 12:10:59 +01:00
Luca
6ae67a84b6 Revert "Moved menu items"
This reverts commit 2135ddf089.

Revert "Add sidebar"

This reverts commit f24801570e.
2019-11-29 10:37:16 +01:00
emanuele-f
0d48bff069 Implement more flexible user_scripts api
NOTE: The existing alerts configuration of the users will be discarded.

Some code has been added to make the current gui on/off toggle work.
It is marked with the following comment:

-- TODO remove after implementing the new gui
2019-11-28 11:06:14 +01:00
Alfredo Cardigliano
f24801570e Add sidebar 2019-11-28 10:36:49 +01:00
Simone Mainardi
0f507dba1c Fixes alerts API error
Fixes #3002
2019-11-26 18:07:01 +01:00
emanuele-f
2a04c8fe35 Log influxdb queries in redis 2019-11-26 13:54:52 +01:00
Simone Mainardi
49ddb55620 Adds interface TCP keepalive packets 2019-11-25 16:02:04 +01:00
Simone Mainardi
993fcc2fc3 Fixes interfaces TCP timeseries
Fixes #3077
2019-11-25 15:53:30 +01:00
emanuele-f
478c97b743 Inhibit some influxdb queries when the database does not respond
This reduces the gui loading time when such event occurs
2019-11-25 15:39:21 +01:00
emanuele-f
20ef1a4ebc Fix ts_utils.listSeries in redis.lua being performed on every page load
This was caused by probe.getTimeseriesMenu being called at every page load by the timeseries
code to load the schemas. probe.loadSchemas is now called instead.
2019-11-25 15:39:21 +01:00
Simone Mainardi
7a6bb13e29 Shows periodic activities time utilization as progress bar
Implements #3078
2019-11-22 19:21:20 +01:00
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