Use the Icinga REST API to count hosts with services in a given state
David Salgado
gem "icinga-rest", "~> 0.1.0"