mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added charts in Inactive hosts page and syncro with filters. Added delete since (#7577)
This commit is contained in:
parent
ae9748b5a7
commit
7863162d86
10 changed files with 233 additions and 22 deletions
|
|
@ -32,7 +32,8 @@ if isEmptyString(ifid) or isEmptyString(serial_key) then
|
|||
end
|
||||
|
||||
if tonumber(serial_key) then
|
||||
inactive_hosts_utils.deleteAllEntriesSince(ifid, tonumber(serial_key))
|
||||
local epoch = os.time() - tonumber(serial_key)
|
||||
inactive_hosts_utils.deleteAllEntriesSince(ifid, epoch)
|
||||
elseif (serial_key == "all") then
|
||||
inactive_hosts_utils.deleteAllEntries(ifid)
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue