ripienaar/ruby-nagios — pull request #11 by jonlives (2012-04-04 13:59:38+00:00)
Title: Skip checking services on hosts which are not OK

I've added a "next if" to skip checking services on hosts which are down (ie current_state != 0). If the host is down, obviously the services will be too, and logically we'd already have alerted on the host.