Monitors hosts by pinging and storing results in database