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