mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix for saving/reading local hosts activities
This commit is contained in:
parent
39fe9433c2
commit
792ccd15ac
4 changed files with 26 additions and 20 deletions
|
|
@ -1688,6 +1688,7 @@ end
|
|||
|
||||
-- rrd_exists
|
||||
function rrd_exists(host_ip, rrdname)
|
||||
if(host_ip == nil) then return false end
|
||||
dirs = ntop.getDirs()
|
||||
rrdpath = dirs.workingdir .. "/" .. ifId .. "/rrd/" .. getPathFromKey(host_ip) .. "/" .. rrdname
|
||||
return ntop.exists(rrdpath)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue