ntopng/scripts/lua/modules/timeseries/drivers
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
..
influxdb.lua Fix InfluxDB top timeseries crash when snmp_utils is unavailable (#10051) 2026-02-15 12:32:26 +01:00
rrd.lua Fixes incorrect name not resolved 2026-02-04 00:09:51 +01:00
sample.lua Handle end time on timeseries. (#7438) (#7466) 2023-05-29 15:20:11 +02:00