..F....... [ZBX-8437] code refactoring