Commit graph

91 commits

Author SHA1 Message Date
emanuele-f
32bf3b1ac4 Avoid reporting the last point when the timeseries write has not completed yet
Fixes #3478
2020-03-02 12:11:52 +01:00
Simone Mainardi
0d9c9bada5 Minor return value fix 2020-03-01 19:22:07 +01:00
Luca Deri
612dc97fb8 Cleaned up the RRD driver 2020-03-01 18:23:46 +01:00
Simone Mainardi
4f30ce04a3 RRD queue fixes and debug info 2020-03-01 13:50:58 +01:00
Simone Mainardi
cce4dcf568 Implements in-mem RRD writes queue, avoids json enc/dec 2020-02-29 22:30:00 +01:00
Simone Mainardi
488165c592 Adds drops counter when the RRD export queue is full 2020-02-29 10:09:02 +01:00
Simone Mainardi
a288bbf40c Adds experimental RRD write queue 2020-02-28 19:47:44 +01:00
Luca Deri
8e1da33141 Implemented debug code for RRD 2020-02-28 17:20:30 +01:00
Simone Mainardi
918ab6283c Fixes RRD points always written as integers without decimals
Fixes #3465
2020-02-28 10:56:13 +01:00
Luca Deri
301991836d Added some debug code 2020-02-27 08:42:10 +01:00
emanuele-f
7b6ce10940 Improve empty RRD files detection for faster recovery 2020-02-26 19:09:08 +01:00
emanuele-f
a7d7d6e2ed Revert "Move host score to 5mins"
This reverts commit ab1aaeb38f.
2020-02-25 15:42:27 +01:00
emanuele-f
ab1aaeb38f Move host score to 5mins 2020-02-25 12:50:06 +01:00
Simone Mainardi
a2237266ee Adds total rrd writes and drops to periodic scripts timeseries 2020-02-24 12:54:43 +01:00
Simone Mainardi
a0612895fe Implements slow rrd checks and updates in C 2020-02-19 19:28:07 +01:00
Simone Mainardi
a7ea7f76ed Implements detection of slow timeseries append 2020-02-19 18:45:36 +01:00
Simone Mainardi
0e64fd94d6 Implements deadlines for periodic and user scripts 2020-02-18 18:44:41 +01:00
Simone Mainardi
00158e8bc2 Implements error handling in line protocol generation 2020-02-16 14:30:08 +01:00
Simone Mainardi
aa652145d0 Unifies flows, timeseries and top-talkers data retention
Implements #2897
2019-10-07 16:35:32 +02:00
emanuele-f
7bf8b8b1e5 Use insertion_step when creating RRD files 2019-09-05 10:59:10 +02:00
Simone Mainardi
2e67a69cb7 Implements redis health and keys used monitoring 2019-08-30 16:19:33 +02:00
emanuele-f
b365cd28df Prevent possible timestamp-based rrd_update errors from occurring 2019-08-02 11:52:40 +02:00
emanuele-f
9c39268441 Fix script failures when prometheus export is enabled 2019-07-25 17:27:51 +02:00
emanuele-f
0d04f24881 Remove unnecessary call 2019-07-15 22:33:12 +02:00
emanuele-f
c56b01b37e Improve timeseries comments and fix Prometheus settings 2019-07-02 15:05:55 +02:00
emanuele-f
840b423aff Fix RRD l4 protos collision in Windows due to case insensitive paths 2019-07-01 12:01:07 +02:00
emanuele-f
005d56e5dd Fix RRD collisions
Fixes #2690

Thank you @FrancescoStaccini for the hints
2019-07-01 11:29:43 +02:00
emanuele-f
aa17725323 Additional debug for RRD 2019-06-19 09:36:58 +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
c8da6bcf34 Fix evexporter_iface RRD collision and add test case 2019-05-30 15:30:23 +02:00
emanuele-f
e74f6ee3b7 Fix host timeseries first point problem.
An additional point is now stored on the ts database to address the issue.

Fixes #2184
2019-05-28 17:17:21 +02:00
emanuele-f
1be45be32e Fix for already mangled RRD with incompatible rrd_tune 2019-05-16 18:47:41 +02:00
emanuele-f
00afdaa79d Fix for old rrd_tune not supporting adding columns 2019-05-16 11:18:28 +02:00
emanuele-f
3e612869a5 Fix interface RRD overlap between mining category and application
Interface categories are now placed under the ndpi_categories rrd subfolder. Existing data is migrated.
2019-05-16 00:13:43 +02:00
emanuele-f
d3200464d7 Fix "evexporter_iface:traffic" RRD path collision 2019-05-14 20:38:44 +02:00
emanuele-f
f31451d0bb Add test to avoid RRD overlapping paths 2019-05-14 20:38:44 +02:00
emanuele-f
c58d302ad6 Fix possible nil num_ds 2019-05-12 16:36:23 +02:00
emanuele-f
9c8c05b6bb Reduce RRD message verbosity 2019-05-10 16:55:15 +02:00
emanuele-f
590d3ff12b Use rrd_tune to fix RRD when a new timeseries metric is added 2019-05-07 14:54:44 +02:00
emanuele-f
16d0af12cd Add missing RRD error checks 2019-05-07 12:54:47 +02:00
emanuele-f
4b2a95ecb4 Add redis flag to debug RRD operations 2019-03-27 15:28:25 +01:00
emanuele-f
dee4685141 Implement batched listSeries to reduce the number of HTTP requests 2019-03-27 10:49:51 +01:00
Simone Mainardi
71158cb056 Handles deletion of host pools both with InfluxDB and RRDs 2019-03-12 13:16:27 +01:00
emanuele-f
8977ac81f6 Add ntopng process memory chart 2019-03-05 13:59:38 +01:00
Simone Mainardi
0516e485d1 Fixes category/application name clashes in RRDs 2019-03-04 16:03:12 +01:00
emanuele-f
229c3b13c9 Implement initial InfluxDB rollup support
Currently disabled, enable with
  redis-cli set ntopng.prefs.beta_rollup 1
2019-01-31 12:02:40 +01:00
emanuele-f
5a1aa773c2 Fix missing L7 charts after string.split migration
Fix #2311
2019-01-14 19:19:58 +01:00
emanuele-f
fccb39f676 Add check for possibly nil value 2019-01-11 10:41:44 +01:00
emanuele-f
40d8c36656 Fix split call in second.lua (without lua_utils) 2019-01-10 19:20:08 +01:00
emanuele-f
45769a1fbe Fix RRD default name for non wildcard tags 2019-01-04 12:45:55 +01:00