..F....... [ZBX-7983] refactored the code to improve perfomance of make_system_status() function by 23%