Reworks alerts to prevent local hosts I/O

This commit is contained in:
Simone Mainardi 2017-11-01 23:04:33 +01:00
parent 1c826e480c
commit a22022bb30
20 changed files with 171 additions and 149 deletions

View file

@ -526,12 +526,14 @@ alert_entity_keys = {
{ "Flow", 4, "flow" }
}
-- Note: make sure the number of alert_engine_keys honours CONST_MAX_NUM_CHECKPOINTS
-- and make sure engines with these ids are reserved only to handle alert-related
-- checkpoints
alert_engine_keys = {
{i18n("show_alerts.minute"), 0, "min" },
{i18n("show_alerts.minute"), 0, "min" },
{i18n("show_alerts.five_minutes"), 1, "5mins" },
{i18n("show_alerts.hourly"), 2, "hour" },
{i18n("show_alerts.daily"), 3, "day" },
{i18n("show_alerts.startup"), 4, "startup"},
{i18n("show_alerts.hourly"), 2, "hour" },
{i18n("show_alerts.daily"), 3, "day" },
}
-- Note: keep in sync with alarmable_metrics and alert_functions_infoes