title: Fetching host availability to external webpage in Nagios
body: <p>Is there any possible way to fetch the live availability of host/host group from Nagios monitoring tool (where host/hostgroups are already configured) which can be redirected/captured to an external webpage.
  are there any exposed API's to do that, couldn't found a way.
  Nagios is on a Linux host.
  Any help or info is appreciated.</p>
  
  <p>EDIT1:</p>
  
  <p>I have a hostgroup say for example 'All_prod' in this hostgroup I will be having around 20 linux hosts for all the host there would be some metrics/checks defined (example availability, cpu load, free memory ..etc). Here I want the report of only availability metrics of all the host(example : lets say if in 24 hours if the availability is down for 10 minutes then it should provide me with the report as it was down for 10 minutes in 24 hours or just give me any related info which i can evaluate using data evaluation).
  it would be great if there are any API's to fetch that information, which will return the data as json/xml.</p>