mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Fix alert config on local hosts
This commit is contained in:
parent
608676fd0d
commit
c5e597ea75
9 changed files with 13 additions and 1 deletions
|
|
@ -1247,6 +1247,11 @@ function drawAlertSourceSettings(entity_type, alert_source, delete_button_msg, d
|
|||
break
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
if(check_module.local_only and options.remote_host) then
|
||||
show_input = false
|
||||
end
|
||||
|
||||
if not gui_conf or not show_input then
|
||||
goto next_module
|
||||
|
|
@ -1268,7 +1273,6 @@ function drawAlertSourceSettings(entity_type, alert_source, delete_button_msg, d
|
|||
print("</td></tr>\n")
|
||||
::next_module::
|
||||
end
|
||||
end
|
||||
|
||||
if (entity_type == "host") and (tab == "min") then
|
||||
local vals = table.merge(anomalies, global_anomalies)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue