zorkian / nagios-api

A REST-like, JSON interface to Nagios
BSD 3-Clause "New" or "Revised" License
586 stars 173 forks source link

Added http_host and http_service end points #1

Closed avleen closed 12 years ago

avleen commented 12 years ago

Added two new methods:

These enable: http://localhost/host/ - Displays all data about a known host. http://localhost/service/ - 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.

zorkian commented 12 years ago

Thank you! Sorry it took me so long, I apparently have my GitHub email going to the wrong folder and didn't see the mail... :(

avleen commented 12 years ago

No worries! I'll have more updates coming :-)

On Wed, Dec 7, 2011 at 5:00 PM, Mark Smith < reply@reply.github.com

wrote:

Thank you! Sorry it took me so long, I apparently have my GitHub email going to the wrong folder and didn't see the mail... :(


Reply to this email directly or view it on GitHub: https://github.com/xb95/nagios-api/pull/1#issuecomment-3054221