Commit graph

2189 commits

Author SHA1 Message Date
emanuele-f
005d56e5dd Fix RRD collisions
Fixes #2690

Thank you @FrancescoStaccini for the hints
2019-07-01 11:29:43 +02:00
Luca Deri
4166f442ab Prometheus support (work in progress) 2019-06-30 23:25:24 +02:00
Simone Mainardi
0ed48a245b Adds better description of InfluxDB monitored metrics 2019-06-30 12:56:04 +02:00
Simone Mainardi
80fb89b093 Uses a hash to keep InfluxDB counters (easier to delete in bulk) 2019-06-28 19:05:53 +02:00
Simone Mainardi
6ff75df695 Fixes InfluxDB alerts not set on the system interface 2019-06-28 18:51:12 +02:00
Simone Mainardi
9a5297f0d5 Prevents InfluxDB dropped points alerts from being triggered too often 2019-06-28 18:36:42 +02:00
emanuele-f
14d5675212 Little fix 2019-06-28 18:34:08 +02:00
emanuele-f
937d94dd0e Fix RTT alerts location 2019-06-28 18:27:54 +02:00
Simone Mainardi
b34332ec60 Raises influxdb max export queue len to 200 2019-06-28 18:23:36 +02:00
Simone Mainardi
1019f024e4 Adds influxdb dropped points alert 2019-06-28 18:21:25 +02:00
emanuele-f
bc40e7da8d Alerts api documentation 2019-06-28 17:44:15 +02:00
emanuele-f
2df194a282 Implement alert release 2019-06-28 15:06:39 +02:00
emanuele-f
e78039c2f2 Basic alerts api documentation 2019-06-28 12:17:03 +02:00
emanuele-f
a9d3c78587 Alerts changes
NOTE: database schema changed. Existing alerts will be lost.

- Unified engaged and closed tables
- Simplified hosts engaged alert counters handling: periodically set by lua
- Removed alert engine and replaced with alert periodicity
- Now engage is implicitly derived from the alert end timestamp and periodicity
- New alerts_api.lua to easily emit alerts
- Removed past alerts counter aggregation by hash
- Alert notifications for non-flow alerts are now removed from C and triggered by lua
2019-06-28 10:47:17 +02:00
Simone Mainardi
ae4770fe7d Improves visualization of containers/pods in flows 2019-06-27 17:00:17 +02:00
emanuele-f
f9f341b2ca Add preference to enable l7 total flow timeseries 2019-06-27 10:01:12 +02:00
emanuele-f
b03e4b29cf Combined SYN and SYN+ACK chart 2019-06-27 10:00:14 +02:00
emanuele-f
c506ef6aeb Implement L7 num flows charts 2019-06-27 10:00:14 +02:00
Alfredo Cardigliano
9372eb8962 Separate bar with the pcap storage utilization (it a separate volume has been configured) 2019-06-26 18:31:46 +02:00
Alfredo Cardigliano
b29894d9bb Improved storage utilization bar 2019-06-26 17:57:49 +02:00
Simone Mainardi
2200453862 Adds badge upon influxdb export errors 2019-06-26 16:29:08 +02:00
emanuele-f
15bf893cc3 Fix missing interface selection 2019-06-26 12:30:18 +02:00
Luca Deri
40ca547758 Merge branch 'dev' of https://github.com/ntop/ntopng into dev 2019-06-25 19:57:18 +02:00
Luca Deri
ec4d55ff04 Added hosts explored on the main menu 2019-06-25 19:56:56 +02:00
Simone Mainardi
775b6f8842 Adds InfluxDB total exports 2019-06-25 18:23:58 +02:00
Simone Mainardi
221b224abb Simplifies handling of Influxdb export stats using Lua 2019-06-25 17:22:41 +02:00
Simone Mainardi
b4f7788dea Implements batched lua flows iterator 2019-06-25 12:52:38 +02:00
Simone Mainardi
9863cfd0ba Reworks InfluxDB export to better handle retries 2019-06-24 17:48:53 +02:00
emanuele-f
f9dd5e5e34 Implement retried/failed exports influxdb counters
Also add support for inline chart custom labels
2019-06-21 17:11:11 +02:00
emanuele-f
96e371a079 Make graphs menu explicit in system scripts and add support for custom graphs 2019-06-21 13:51:27 +02:00
emanuele-f
8a239f97f4 Trace periodic activities duration and generate an alert for long lasting ones 2019-06-21 11:41:38 +02:00
emanuele-f
eec3c19485 Ensure that lua_utils is properly loaded while running system scripts tasks
Fixes #2665
2019-06-21 10:01:40 +02:00
emanuele-f
aa739268f7 Fix UDP unicast serialization and add check on tolongint of NaN 2019-06-20 14:56:36 +02:00
emanuele-f
b42f795e44 Fix ts file incorrectly deleted after a failed export 2019-06-20 12:07:16 +02:00
emanuele-f
a2f4dc0c24 Add alert generated when InfluxDB export queue is too long 2019-06-19 15:33:56 +02:00
emanuele-f
3898e21558 Improve InfluxDB export logic
Retry multiple times before discarding a file. Also more log messages are now produced.
2019-06-19 14:50:31 +02:00
emanuele-f
956a3713dc InfluxDB export deadline 2019-06-19 11:42:14 +02:00
emanuele-f
89b9aebfd7 Delete ts export queue on startup and add missing error 2019-06-19 11:21:27 +02:00
emanuele-f
aa17725323 Additional debug for RRD 2019-06-19 09:36:58 +02:00
emanuele-f
7c5983d0a5 Fix active entry not displayed 2019-06-18 17:18:56 +02:00
emanuele-f
e43bb6680e Add support for other aggregation functions
monitored host RTT now uses MAX as aggregation function
2019-06-18 16:50:50 +02:00
emanuele-f
dba42d5842 Fix for 0 as last point while using aggregated data 2019-06-18 15:37:24 +02:00
emanuele-f
82305dd24a Fix InfluxDB incorrect timestamp while performing queries 2019-06-18 14:57:09 +02:00
Simone Mainardi
5fa59b21d9 Implements alerts for hosts unreachable and rtt too high 2019-06-14 00:22:52 +02:00
emanuele-f
4d9739c906 Fix scripts path 2019-06-13 16:04:05 +02:00
emanuele-f
812522a937 Make system menu entries dynamic 2019-06-12 14:11:57 +02:00
emanuele-f
976de25de6 Add last RTT, IP and update time for RTT monitored hosts 2019-06-12 12:08:22 +02:00
Alfredo Cardigliano
f67791c34f Locale and lint update 2019-06-11 17:54:45 +02:00
emanuele-f
6aa72b53f7 Implemement RTT monitoring configuration page 2019-06-11 17:30:46 +02:00
Simone Mainardi
a543ec8e73 Refactors logic to engage alerts to simplify it 2019-06-11 16:03:54 +02:00