mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Implement host modular alerts config gui
This commit is contained in:
parent
1d9a8951db
commit
98f95fc306
10 changed files with 50 additions and 118 deletions
|
|
@ -3,11 +3,17 @@
|
|||
--
|
||||
|
||||
local alerts_api = require("alerts_api")
|
||||
local alert_consts = require("alert_consts")
|
||||
|
||||
local check_module = {
|
||||
key = "throughput",
|
||||
alert_type = alert_consts.alert_types.threshold_cross,
|
||||
|
||||
-- TODO gui specific parameters
|
||||
gui = {
|
||||
title = "alerts_thresholds_config.throughput",
|
||||
subtitle = "alerts_thresholds_config.alert_throughput_description",
|
||||
field = {field_unit = alert_consts.field_units.mbits},
|
||||
}
|
||||
}
|
||||
|
||||
-- #################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue