zorkian / nagios-api

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

Add a few more essential_keys to return #11

Closed lozzd closed 11 years ago

lozzd commented 11 years ago

These are required for my upcoming NagDash project which replaces the old Nagite2. (http://github.com/lozzd/Naglite2)  Part of the information we want to display is how long a service has been in this state (thus last_state_change)  and it also displays things that are about to alert (e.g. soft) so we need the number of attempts so far and the maximum attempts (which are also displayed)

zorkian commented 11 years ago

Thank you for the patch; merged!

lozzd commented 11 years ago

Thanks! I wrote this dashboard that depends on your wonderful API https://github.com/lozzd/Nagdash