.......PS. [ZBX-8092] now nextcheck is calculated in one place