mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Remove historical flow explorer link for score alerts
Host having an high score does not imply that the host has alerted flows. When no flow alerts are present, adding a link to the explorer is wrong.
This commit is contained in:
parent
4ef8407386
commit
611dc3d499
1 changed files with 0 additions and 2 deletions
|
|
@ -147,8 +147,6 @@ for _key,_value in ipairs(alerts) do
|
|||
if(ntop.isEnterprise()) then
|
||||
if (status == "historical-flows") then
|
||||
record["column_explorer"] = getExplorerLink(_value["cli_addr"], _value["srv_addr"], _value["alert_tstamp"])
|
||||
elseif(_value["alert_subtype"] == "host_score") then
|
||||
record["column_explorer"] = getExplorerLink(nil, hostkey2hostinfo(_value["alert_entity_val"]).host, _value["alert_tstamp"])
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue