mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Extend traffic recording page with smart recording settings
This commit is contained in:
parent
e4148cbf1d
commit
a83c3bd61a
4 changed files with 84 additions and 5 deletions
|
|
@ -311,6 +311,11 @@ function recording_utils.getPcapPath(ifid)
|
|||
return storage_path.."/"..ifid.."/pcap"
|
||||
end
|
||||
|
||||
function recording_utils.getSmartPcapPath(ifid)
|
||||
local storage_path = dirs.pcapdir
|
||||
return storage_path.."/"..ifid.."/smart-pcap"
|
||||
end
|
||||
|
||||
local function getPcapExtractionPath(ifid)
|
||||
local storage_path = dirs.pcapdir
|
||||
return storage_path.."/"..ifid.."/extr_pcap"
|
||||
|
|
@ -321,6 +326,11 @@ local function getTimelinePath(ifid)
|
|||
return storage_path.."/"..ifid.."/timeline"
|
||||
end
|
||||
|
||||
local function getSmartTimelinePath(ifid)
|
||||
local storage_path = dirs.pcapdir
|
||||
return storage_path.."/"..ifid.."/smart-timeline"
|
||||
end
|
||||
|
||||
local function getPcapFileDir(job_id, ifid)
|
||||
local dir_path = getPcapExtractionPath(ifid)
|
||||
return dir_path.."/"..job_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue