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
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