..F....... [ZBX-8682] minor code refactoring