Fix invalid engaged/dropped alerts ts on system interface

Fixes #3556
This commit is contained in:
emanuele-f 2020-03-17 12:25:36 +01:00
parent 0357bd8e80
commit 1ec35cadbf
5 changed files with 35 additions and 1 deletions

View file

@ -570,6 +570,10 @@ function printSeries(options, tags, start_time, end_time, base_url, params)
-- exists by default, otherwise specify a serie.check below
exists = true
if(serie.custom_schema == nil) then
serie.custom_schema = getCustomSchemaOptions(k)
end
end
local to_check = serie.check or (serie.custom_schema and serie.custom_schema.bases)