...G...PS. [ZBXNEXT-101] merged get_process_type_by_server_num and get_process_num_by_server_num functions into get_process_info_by_thread