mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Added threshould to server contacts alerts
This commit is contained in:
parent
830d71c877
commit
71616b300e
6 changed files with 36 additions and 8 deletions
|
|
@ -14,13 +14,20 @@ local ntp_contacts = {
|
|||
default_enabled = false,
|
||||
|
||||
default_value = {
|
||||
severity = alert_severities.error,
|
||||
operator = "gt",
|
||||
threshold = 5,
|
||||
severity = alert_severities.error,
|
||||
},
|
||||
|
||||
gui = {
|
||||
i18n_title = "alerts_thresholds_config.ntp_contacts_title",
|
||||
i18n_description = "alerts_thresholds_config.ntp_contacts_description",
|
||||
}
|
||||
i18n_field_unit = user_scripts.field_units.contacts,
|
||||
input_builder = "threshold_cross",
|
||||
field_max = 65535,
|
||||
field_min = 1,
|
||||
field_operator = "gt";
|
||||
}
|
||||
}
|
||||
|
||||
-- #################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue