Checking hostname and process presence in the tables.