Page 1 of 1

Query Nagios for Service Check and Graphs

Posted: Mon Oct 05, 2015 2:50 pm
by perric
Hello,

I am trying to pull Nagios data and graphs for services into an external web site. Specifically, I would like to query all services by name using a search parameter (like Internet or utilization, etc.) and then display the current results of the last service check, along with a graph showing the previous 7 days (or similar interval) of that data.

I have seen options like the Backend API or the MKLive Status tool. Do you have any recommendations on how to do this?

David

Re: Query Nagios for Service Check and Graphs

Posted: Tue Oct 06, 2015 11:29 am
by tmcdonald
In XI 5 we introduced a new API that can grab historical data for hosts and services, but it looks like performance data is only available for the current status. I am checking with the devs for a way to get historical perfdata for the graphs.