Commit graph

180 commits

Author SHA1 Message Date
MatteoBiscosi
f185cc8425 Fixes non working rrd charts 2022-09-01 10:58:20 +02:00
Luca Deri
8fc4dee548 Fixes RRD driver implementation by exporting series names 2022-07-06 00:17:31 +02:00
Luca Deri
3265c8bbc8 Fixes #6762 2022-07-05 17:54:22 +02:00
Luca Deri
b0d19a1961 Fixed RRD tineseries support removing series search by (hardcoded) name 2022-07-01 15:12:12 +02:00
Luca Deri
b988905133 Fixed RRD schema naming 2022-06-29 18:48:27 +02:00
Luca Deri
7e4f362cbc SNMP schema updates 2022-06-29 11:14:22 +02:00
MatteoBiscosi
6c9f571196 Separated the two data retentions 2022-03-31 16:39:58 +02:00
Simone Mainardi
8cb3007026 Logs schema name upon RRD update errors
Addresses #6094
2021-11-24 15:46:18 +01:00
Simone Mainardi
27951ae8a1 Fixes invalid traffic totals when reading large timespans
Addresses #5683
2021-07-20 11:14:38 +02:00
Simone Mainardi
b108cfbd30 Fixes for tests alert_web_mining and invalid_dns_query 2021-07-20 09:58:02 +02:00
MatteoBiscosi
6c9b183819 Fixed chart label wrongly formatted (#5552) 2021-06-25 10:57:01 +02:00
Simone Mainardi
29f69056f0 Prevents RRD schema changes and overwrites
Possibly addresses #5507
2021-06-24 11:59:19 +02:00
Simone Mainardi
537bc5210a Adds Layer-7 Applications to Exporters (backend)
Addresses #4976
2021-02-04 11:01:22 +01:00
Alfredo Cardigliano
c6cf8e418e Add timeseries for host and interface DSCP classes 2020-07-21 10:08:08 +02:00
Simone Mainardi
a3d7365888 Implements netsnmp charts for cpu states and memory 2020-06-09 22:56:21 +02:00
Luca Deri
da44b8fb65 Added missing parameter 2020-05-29 12:46:03 +02:00
emanuele-f
610e632234 Add comments/remove table.clone when not needed 2020-05-21 11:10:47 +02:00
emanuele-f
4dc368011b Remove unused local function 2020-05-18 19:27:21 +02:00
Luca Deri
b0c23144ee Fixed labels and inconcistencies on active monitoring
Added ability for RRD to handle RRDs with 4 measurements. rrd driver might need further work
2020-05-04 19:13:03 +02:00
emanuele-f
345b202975 Split 95th percentile by direction 2020-04-24 18:24:57 +02:00
emanuele-f
8d0e887878 Handle NaN in timeseries stats and total 2020-04-23 11:46:41 +02:00
emanuele-f
24583f8443 Handle NaN when downsampling
NaN values should be converted to 0 before calculating the sums. However, if all the values for the
current downsampled point are NaN, they still have to be reported as NaN.
2020-04-23 11:46:41 +02:00
emanuele-f
a6bcf6e9e3 Fix redundant interface path in RRD schemas
Affected schemas:

  - flow_script:lua_duration
  - flow_script:pending_calls
  - flow_script:skipped_calls
  - flow_script:successful_calls
  - process:num_alerts
  - process:resident_memory
  - redis:keys
  - redis:memory
  - system:cpu_load
  - system:cpu_states
2020-04-20 16:20:35 +02:00
emanuele-f
fdadaca950 Fix invalid initial RRD point added 2020-04-17 11:22:19 +02:00
emanuele-f
64ceaa5b89 Fix discarded first RRD point in gauges
The point was discarded because of a bad RRD start time during the RRD creation.
The start time is now computed as "insertion_timestamp - heartbeat".

Fixes #3751
2020-04-15 12:55:31 +02:00
emanuele-f
62d1ad69db Implement algorithmn to delete generic schema prefixes with RRD 2020-04-14 13:19:52 +02:00
Simone Mainardi
3e14bc30f8 Refactors RTT to Active Monitoring
Addresses #3741

Refactors RTT: rtt_utils to active_monitoring_utils

Refactors RTT: rtt_host to am_host schema name

Refactors RTT: import_active_monitoring_config.lua

Refactors RTT: active_monitoring_stats.lua

Refactors RTT: active_monitoring_stats i18n

Refactors RTT: get_active_monitoring_config.lua

Refactors RTT: get_active_monitoring_hosts

Refactors RTT: edit_active_monitoring_host

Refactors RTT: active_monitoring.lua

Refactors RTT: active_monitor

Refactors RTT: active_monitoring_utils.js

Refactors RTT: get_active_monitoring_hosts.lua fixes

Refactors RTT: last_rtt

Refactors RTT: rtt_host to am_host
2020-04-13 21:34:10 +02:00
emanuele-f
75e7858cbc Fix RTT alerts not released when RTT host is deleted
Fixes #3608
2020-03-23 12:31:44 +01:00
emanuele-f
65905dc9fb Delete RTT ts when host is deleted
Fixes #3566
2020-03-19 19:13:29 +01:00
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