Added ch flows export to file before ttl delete #9398 (#9427)

* Added ch flows export to file before ttl delete. Need to add pref for path getter

* Added clickhouse ttl export path pref

* Fixed naming in clickhouse flow archive

* Updated naming in clickhouse flow archive pref

* Removed clickhouse archive path pref

* Added IXP mode pref #9421

* Removed unused prefs ch flows archive
This commit is contained in:
GabrieleDeri 2025-07-28 11:06:05 +02:00 committed by GitHub
parent 0f0e949868
commit 935146cfac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 738 additions and 14 deletions

View file

@ -92,12 +92,6 @@ end
function getProbeName(exporter_ip, show_vlan, shorten_len)
local cached_device_name
local snmp_cached_dev
local probe_alias = getFlowDevAlias(exporter_ip, true)
-- In case an alias is set to the flow exporter, directly use the alias
if not isEmptyString(probe_alias) and probe_alias ~= exporter_ip then
return probe_alias
end
-- No alias set, let's try with the SNMP
if ntop.isPro() then