mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Removes redundant calls in alerts
This commit is contained in:
parent
590bc16018
commit
106ba35d2c
1 changed files with 0 additions and 10 deletions
|
|
@ -391,10 +391,6 @@ function check_interface_threshold(ifname, mode)
|
|||
ntop.mkdir(basedir)
|
||||
end
|
||||
|
||||
--if(verbose) then print(basedir.."<br>\n") end
|
||||
interface.select(ifname)
|
||||
ifstats = aggregateInterfaceStats(interface.getStats())
|
||||
|
||||
if (ifstats ~= nil) then
|
||||
fname = fixPath(basedir.."/iface_"..ifname_id.."_lastdump")
|
||||
|
||||
|
|
@ -501,11 +497,5 @@ function scanAlerts(granularity, ifname)
|
|||
check_host_threshold(ifname, h, granularity)
|
||||
end
|
||||
end
|
||||
-- network alerts checks
|
||||
if(networks ~= nil) then
|
||||
for n in pairs(networks) do
|
||||
if(verbose) then print("[minute.lua] Checking network " .. h.." alerts<p>\n") end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue