Align time to avoid RRD value interpolation

Addresses #3900
This commit is contained in:
emanuele-f 2020-05-11 13:03:49 +02:00
parent 812afd9862
commit e4f40ec206

View file

@ -34,7 +34,7 @@ local script = {
local function run_am_check(params, all_hosts, granularity)
local hosts_am = {}
local resolved_unreachable_hosts = {}
local when = params.when
local when = params.when - (params.when % 60)
local am_schema = am_utils.getAmSchemaForGranularity(granularity)
if(do_trace) then