status method (retrieves all hosts and their status)