Implement host modular alerts config gui

This commit is contained in:
emanuele-f 2019-07-11 13:02:34 +02:00
parent 1d9a8951db
commit 98f95fc306
10 changed files with 50 additions and 118 deletions

View file

@ -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},
}
}
-- #################################################################