mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Add Alert:set_category for host/flow lua alerts with no check definition in lua
This commit is contained in:
parent
b5b8ebbba0
commit
e8f10f0795
6 changed files with 74 additions and 59 deletions
|
|
@ -15,8 +15,10 @@ local syslog_module = {
|
|||
|
||||
key = "host_log",
|
||||
|
||||
-- See below
|
||||
hooks = {},
|
||||
default_value = {
|
||||
operator = "lt",
|
||||
threshold = 5,
|
||||
},
|
||||
|
||||
gui = {
|
||||
i18n_title = "host_log_collector.title",
|
||||
|
|
@ -27,10 +29,8 @@ local syslog_module = {
|
|||
field_operator = "lt"
|
||||
},
|
||||
|
||||
default_value = {
|
||||
operator = "lt",
|
||||
threshold = 5,
|
||||
},
|
||||
-- See below
|
||||
hooks = {},
|
||||
}
|
||||
|
||||
-- #################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue