mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Add Emit Host Alerts pref (fix #5154)
This commit is contained in:
parent
d06577665a
commit
9ed3afd918
4 changed files with 21 additions and 7 deletions
|
|
@ -271,6 +271,14 @@ function printAlerts()
|
|||
off_value = "0", -- Off NO flow alerts are generated
|
||||
})
|
||||
|
||||
prefsToggleButton(subpage_active, {
|
||||
field = "toggle_emit_host_alerts",
|
||||
default = "1",
|
||||
pref = "emit_host_alerts",
|
||||
on_value = "1", -- On alerts are generated
|
||||
off_value = "0", -- Off NO alerts are generated
|
||||
})
|
||||
|
||||
prefsInputFieldPrefs(subpage_active.entries["max_num_alerts_per_entity"].title, subpage_active.entries["max_num_alerts_per_entity"].description,
|
||||
"ntopng.prefs.", "max_num_alerts_per_entity", prefs.max_num_alerts_per_entity, "number", showElements, false, nil, {min=1, --[[ TODO check min/max ]]})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue