ntopng/scripts/lua/modules/timeseries
Bakhtiyar Neyman e50134fd07
Fix InfluxDB top timeseries crash when snmp_utils is unavailable (#10051)
* Fix InfluxDB top timeseries crash when snmp_utils is unavailable

Guard SNMP device lookup behind options.tags.device check in
timeseries_top, matching the RRD driver's existing behavior.
Previously, snmp_utils was required unconditionally for all top
queries, causing a fatal Lua error for non-device schemas like
iface:ndpi where no device tag is present.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Guard against ntop being Pro edition.

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 12:32:26 +01:00
..
custom Reverted changes to custom timeseries 2024-07-18 17:21:57 +02:00
drivers Fix InfluxDB top timeseries crash when snmp_utils is unavailable (#10051) 2026-02-15 12:32:26 +01:00
schemas (C) update 2026-01-19 16:23:53 +01:00
tests Removed unused test files 2025-04-29 11:02:36 +02:00
ts_common.lua (C) update 2026-01-19 16:23:53 +01:00
ts_data.lua Fixes top timeseries not working with as dashboard 2026-02-03 23:25:24 +01:00
ts_schema.lua
ts_utils.lua (C) update 2026-01-19 16:23:53 +01:00
ts_utils_core.lua (C) update 2026-01-19 16:23:53 +01:00