Commit graph

117 commits

Author SHA1 Message Date
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
emanuele-f
66f2555d94 Fix tracker error aborting data delete on nEdge 2019-01-02 16:33:31 +01:00
emanuele-f
11a99722e0 Implement network data delete
IPv4 network masks /24 to /32 are now supported.

Fix #2257
2019-01-02 13:09:48 +01:00
emanuele-f
657084e7d0 Properly handle L4 protocols charts 2018-12-20 12:16:46 +01:00
emanuele-f
57f8f6f54e RRD error handling 2018-12-18 18:53:19 +01:00
emanuele-f
fd2b5c385b Add support for SNMP timeseries delete 2018-12-10 18:03:05 +01:00
emanuele-f
95713ddfc6 Add driver:deleteOldData and delete old RRDs 2018-12-10 17:42:39 +01:00
emanuele-f
ef0f401e51 Implement queryTotal for RRD and make it standard 2018-10-17 12:54:14 +02:00
Simone Mainardi
f1d578dd9d Fixes ICMP protocol shown twice in charts 2018-10-17 11:35:57 +02:00
emanuele-f
97a280e14f Add partial sums in timeseries topk 2018-09-25 11:56:13 +02:00
emanuele-f
134bc7e373 Fix RRD total with sampled series 2018-09-24 18:26:30 +02:00
emanuele-f
b604288c9b Avoid returning topk items with zero bytes 2018-09-24 16:40:07 +02:00
emanuele-f
e64c2c8fd7 Fix RRD totals 2018-09-24 16:25:21 +02:00
Simone Mainardi
bf43aceb9c Refactors data delete_data_utils for the use with nEdge 2018-09-20 10:47:41 +02:00
Simone Mainardi
409c8f50ab Checks return value upon RRD directory deletion 2018-09-20 08:54:08 +02:00
emanuele-f
ffe2c629bc Implement timeseries cleanup
Closes #1940
2018-09-11 17:16:56 +02:00
emanuele-f
42dcd75485 Fix invalid mac addresses graphs path 2018-09-11 12:30:05 +02:00
emanuele-f
91ae4c5172 Implement experimental hourly deltas writes
redis-cli set "ntopng.prefs.enable_ts_deltas_writes" "1"
2018-09-07 17:12:18 +02:00
emanuele-f
0004e08191 Add experimental support for 5sec granularity for host timeseries
To enable it (only on *InfluxDB* right now):

- uncomment HOST_NUM_TIMESERIES_POINTS in ntop_defines.h
- run `redis-cli set ntopng.prefs.30_sec_dump 1` and restart ntopng
2018-08-23 18:10:46 +02:00
emanuele-f
354dd697c0 Add max value checks for traffic and packets metrics 2018-08-20 16:19:01 +02:00
emanuele-f
102da47f26 Add initial point to the graph to match the selected time frame 2018-08-16 17:55:31 +02:00
emanuele-f
6ba093872f Fix multiple alignment issues with timeseries 2018-08-16 17:06:38 +02:00
emanuele-f
cacbdaa9e7 Fix compatibility with ntopng 3.4 RRD format 2018-08-13 18:41:45 +02:00
emanuele-f
20e8b4aaca Implement getLatestTimestamp API 2018-08-10 18:54:30 +02:00
emanuele-f
b2107b6f36 Move influxdb data export into driver api 2018-08-10 18:54:30 +02:00