.......PS. [ZBX-8476] when processing historical data from proxy, take the time difference between server and proxy into account when calculating nextcheck