Commit graph

101 commits

Author SHA1 Message Date
Simone Mainardi
ca48edd07e Removes slow rrd writes status which is no longer used 2020-03-06 18:35:17 +01:00
Simone Mainardi
cf90bb2bcf Allows drivers/rrd.lua to run longer than the deadline 2020-03-04 17:58:48 +01:00
Simone Mainardi
0d133d102e Fixes timeseries.lua not honoring ntop.isDeadlineApproaching() 2020-03-04 16:20:51 +01:00
Simone Mainardi
75acbbdb28 Fix to export system interface RRD points 2020-03-04 13:37:38 +01:00
Luca Deri
317e30a230 Reworked timeseries.lua behaviour to run more often with no deadline whatsoever 2020-03-04 12:37:08 +01:00
Simone Mainardi
e802bae121 Even more frequent deadline checks in timeseries.lua 2020-03-03 10:21:13 +01:00
Simone Mainardi
5ec60b8a91 More frequent deadline checks in timeseries.lua rrd export 2020-03-02 20:10:02 +01:00
Simone Mainardi
cc01dc2b2f Removes a debug trace 2020-03-02 19:40:42 +01:00
Simone Mainardi
cffe275832 Enforces deadline checks in rrd export timeseries.lua 2020-03-02 19:27:55 +01:00
Luca Deri
1074059c2d Typo
Reduced number of loops: scripts should not last forever
2020-03-02 17:35:30 +01:00
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