xb95/nagios-api — pull request #1 by avleen (2011-12-01 18:28:05+00:00)
Title: Added http_host and http_service end points

Added two new methods:
* http_host
* http_service

These enable:
http://localhost/host/ - Displays all data about a known host.
http://localhost/services/ - Displays all data about all services on a host.

The one big "gotcha" is that I didn't make these checks recursive on what the find.
So for example, If the value of one of the keys in NAGIOS.hosts or NAGIOS.service is another object, I skip it for now.