mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
While the network interface has at least one engaged interface alert, expired flows are now triggering a flow alert
This commit is contained in:
parent
51fc712be2
commit
25185ce028
10 changed files with 150 additions and 89 deletions
|
|
@ -249,10 +249,15 @@ end
|
|||
|
||||
if(isAdministrator()) then
|
||||
if(page == "alerts") then
|
||||
print("\n<li class=\"active\"><a href=\"#\"><i class=\"fa fa-warning fa-lg\"></i></a></li>\n")
|
||||
print("\n<li class=\"active\"><a href=\"#\">")
|
||||
elseif interface.isPcapDumpInterface() == false then
|
||||
print("\n<li><a href=\""..url.."&page=alerts\"><i class=\"fa fa-warning fa-lg\"></i></a></li>")
|
||||
print("\n<li><a href=\""..url.."&page=alerts\">")
|
||||
end
|
||||
|
||||
if(ifstats.alertLevel > 0) then print("<font color=#B94A48>") end
|
||||
print("<i class=\"fa fa-warning fa-lg\"></i></a>")
|
||||
if(ifstats.alertLevel > 0) then print("</font>") end
|
||||
print("</li>")
|
||||
end
|
||||
|
||||
if(ntop.isEnterprise()) then
|
||||
|
|
@ -311,6 +316,7 @@ if((page == "overview") or (page == nil)) then
|
|||
end
|
||||
|
||||
interface.setInterfaceIdleState(on_state)
|
||||
|
||||
print("</td></tr>\n")
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue