mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Shows remote hosts historical page when nIndex is enabled
This commit is contained in:
parent
b7b17d9d1c
commit
6274946e08
2 changed files with 5 additions and 2 deletions
|
|
@ -1535,7 +1535,10 @@ local function hostdetails_exists(host_info, hostdetails_params)
|
|||
local tags = table.merge(host_info, hostdetails_params)
|
||||
if not tags["ifid"] then tags["ifid"] = interface.getId() end
|
||||
|
||||
if not ts_utils.exists(hostdetails_params["ts_schema"], tags) then
|
||||
-- If nIndex support is enabled, then there's no need to check for existence of the
|
||||
-- schema: nIndex flows must be visible from the historical page even when there's no timeseries
|
||||
-- associated
|
||||
if not interfaceHasNindexSupport() and not ts_utils.exists(hostdetails_params["ts_schema"], tags) then
|
||||
-- If here, the requested schema, along with its hostdetails_params doesn't exist
|
||||
return false
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue