Commit graph

721 commits

Author SHA1 Message Date
Matteo Biscosi
70048a73c6 Fixes ts naming 2026-07-10 15:09:00 +00:00
Luca Deri
3c8cab6bd6 SNMP code cleanup 2026-07-10 15:37:40 +02:00
Matteo Biscosi
c03b56e56f Fixes ts direction and alerts page error
Some checks failed
Build / build (push) Has been cancelled
CIFuzz / Fuzzing (address) (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
CodeQL / Analyze-1 (push) Has been cancelled
2026-07-07 10:57:19 +00:00
Matteo Biscosi
e22fd0a5bf Fixes top timeseries merge 2026-07-07 09:17:34 +00:00
Matteo Biscosi
02969a68d7 Removed CVEs and fixes non working Active Scan page and updated documentation 2026-06-29 14:46:34 +00:00
GabrieleDeri
bbcd39238e
Fixes footer date and timeseries colors (#10513) 2026-06-29 15:50:31 +02:00
Luca Deri
2ce961fa17 Typo 2026-06-29 11:57:37 +02:00
Matteo Biscosi
880e4fb1c0 Added SNMP Polled devices timeseries 2026-06-29 07:44:39 +00:00
Luca Deri
a9f3863c76 Added new SNMP schema
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-06-28 13:19:23 +02:00
Matteo Biscosi
ff19a8a578 Fixes active monitoring parameter issue 2026-06-25 09:54:31 +00:00
Alfredo Cardigliano
8b009ac2f1 Move is<model> Lua functions to pro 2026-06-25 11:33:55 +02:00
Matteo Biscosi
694dc26d85 Fixes Top Interfaces timeseries not shown due to suffix issue (#10457) 2026-06-15 15:10:23 +00:00
Alfredo Cardigliano
c92e0cd8bb Implement grou by in observability dashboard
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-06-12 13:35:03 +02:00
Matteo Biscosi
d823c814e4 Possible fix for incorrect values formatted (#10453)
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-06-11 15:20:42 +00:00
GabrieleDeri
0bb58a66b3
View all ts consts slowness potential fix (#10422)
* Potential RRD list fix

* Update dist
2026-06-03 10:36:00 +02:00
GabrieleDeri
57d2226d90
Ported timeseries to new serving layer for frontend (#10415)
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
* Ported to new ts backend serving layer for frontend

* Update dist
2026-06-02 11:22:51 +02:00
Alfredo Cardigliano
5ca863e989 Move clickhousehr back to the folder containing all drivers
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-05-29 17:56:19 +02:00
Alfredo Cardigliano
20667aad97 Dinamically pass all flowfilters to the clickhousehr driver to support any filter supported by historical flows for aggregation 2026-05-29 17:49:28 +02:00
Alfredo Cardigliano
31bbd4e4eb Use logic from historical flows for building conditions in clickhousehr timeseries. Move clickhousehr.lua 2026-05-29 15:19:17 +02:00
Alfredo Cardigliano
28ae1e11e5 Add HR Chart page with ability to filter/aggregate data. Extend clickhouse HR driver to handle wildcard/aggregation. Extend range picker to show filters only, hide snapshots, etc. 2026-05-29 12:16:30 +02:00
Alfredo Cardigliano
a1f56b63c2 Add missing ts def for flow 2026-05-28 16:36:21 +02:00
Alfredo Cardigliano
2596f28c44 Add HR timeseries in historical flow details
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-05-27 10:30:06 +02:00
Alfredo Cardigliano
5ae7bd7cd3 Add HR charts for hosts
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-05-26 16:45:09 +02:00
Alfredo Cardigliano
c4bb58f054 Implement a Clickhouse High-Resolution driver for timeseries. Add a sample HR traffic chart on the interface. 2026-05-26 12:26:52 +02:00
Matteo Biscosi
5ff549341d Added internet exchange to traffic role timeseries
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-05-15 18:07:43 +00:00
Manuel Ceroni
cdb9867d98
Implemented interface roles ts (#10348)
Some checks are pending
Build / build (push) Waiting to run
CIFuzz / Fuzzing (address) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
CodeQL / Analyze-1 (push) Waiting to run
2026-05-13 12:40:21 +02:00
Copilot
bda3c861b9
Add comprehensive unit tests for Python SDK and additional Lua ts_common tests (#10227)
- Add python/tests/test_ntopng_sdk.py with 86 unit tests covering:
  - Ntopng: constructor (auth_token / user+pass), request/post_request wrappers,
    all getter methods, debug flag, URL building
  - Interface: all data, alert, flow, L7/L4 and host methods
  - Host: get_host_data, get_l7_stats, get_dscp_stats (both directions), VLAN handling
  - Historical: all alert family delegates, timeseries, flows, conversations
- Fix bug in historical.py get_host_top_protocols(): self.ifid (int) was
  concatenated with strings without str() conversion, causing TypeError at runtime
- Add scripts/lua/modules/timeseries/tests/ts_common_test.lua with 11 test cases:
  - upsampleSerie: no-op when target <= source length, empty serie
  - calculateMinMax: basic, single element, NaN-skipping
  - calculateStatistics: counter (total*step), gauge+keep_total, gauge no-total, NaN-skipping
  - ninetififthPercentile: single element, all-NaN
- Register ts_common_test in the Lua test runner (run.lua)

Agent-Logs-Url: https://github.com/ntop/ntopng/sessions/32da23c3-306c-4100-9bbe-64b91191653b

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: lucaderi <4493366+lucaderi@users.noreply.github.com>
2026-05-10 22:22:58 +02:00
Matteo Biscosi
0b0d971853 Added missing check on query total causing missing ts (#10228) 2026-05-04 10:24:42 +00:00
Matteo Biscosi
ab02b7ad71 Fixes host pools applications timeseries not correctly shown 2026-04-29 11:09:06 +00:00
Matteo Biscosi
9da3da9e47 Fixes issue when loading interface timeseries 2026-04-22 09:00:57 +00:00
Matteo Biscosi
873c879626 Fixes host pools timeseries not working 2026-04-13 14:29:36 +00:00
Alfredo Cardigliano
8bfd8a7653 Using standard literal format rather than map as the latter conficts with nullable due to LowCardinality 2026-04-09 10:24:51 +02:00
Luca
d8bf334ea7 Added missing return code in interface.execSQLQuery 2026-04-08 14:11:37 +02:00
Alfredo Cardigliano
bc5fc911cd Rework ntop.httpPost to accept optional parameters in a table. Also rework Utils::httpGetPostPutPatch to reduce the number of parameters. 2026-04-02 10:18:24 +02:00
Alfredo Cardigliano
258b10382e Change clickhouse map serialization to avoid parsing issues 2026-03-27 16:24:51 +01:00
Matteo Biscosi
314cd94672 Reworked timeseries handler 2026-03-24 16:41:04 +00:00
Alfredo Cardigliano
395c29ee23 Handle ts retention on CH by deleting partitions rather than usint TTL to handle changes to retention preferences 2026-03-16 19:32:31 +01:00
Alfredo Cardigliano
fc5c7a0dfd Implement queryLastValues for clickhouse ts 2026-03-16 10:34:15 +01:00
Alfredo Cardigliano
d57d85642c Fix labels and points with no data for clickhouse ts 2026-03-11 10:04:04 +01:00
Alfredo Cardigliano
352a21a70d Fix append on metrics like iface:ndpi to clickhouse ts 2026-03-11 09:25:14 +01:00
Alfredo Cardigliano
05aebd586d Fix line_protocol_parse 2026-03-11 09:16:30 +01:00
Matteo Biscosi
d91411db91 Fixes clickhouse timeseries incorrect naming 2026-03-10 11:44:26 +00:00
Alfredo Cardigliano
a53b3ba3d8 Rework CH ts batch queue. Implement CHTimeseriesExporter similar to RRD/Influx. Add periodic ts export per interface (it was global running on system) 2026-03-09 16:02:48 +01:00
Alfredo Cardigliano
84654a6ec5 Fix ch ts charts with 1s resolution 2026-03-06 17:33:14 +00:00
Alfredo Cardigliano
6da58b19f4 Optimize ts schema on CH 2026-03-06 11:13:52 +00:00
Alfredo Cardigliano
b8c65c4b86 Add checks on CH enabled/disabled when enabling TS 2026-03-05 15:43:46 +00:00
Alfredo Cardigliano
11bf3bae2f Initial implementation of ClickHouse timeseries (experimental) 2026-03-05 13:50:19 +00:00
Matteo Biscosi
fe259d97b8 Reduced workload on ASN timeseries 2026-03-02 18:17:41 +00:00
Matteo Biscosi
32cdde89f3 Fixes dygraph-legend index 2026-02-26 11:40:09 +00:00
Alfredo Cardigliano
9c89bd8401 Show empty ts for cpu pctg 2026-02-25 14:16:02 +00:00