Please provde API Endpoint to get list of graphs or to get the specific graph using Nagios ID

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
argentra
Posts: 16
Joined: Wed Dec 19, 2012 10:41 pm
Location: Singapore
Contact:

Please provde API Endpoint to get list of graphs or to get the specific graph using Nagios ID

Post by argentra »

Dear Team,

We have a project to integrate nagios graphs with external application by calling Nagios API. Do we have any API endpoint to list the Nagios Graphs or to get the nagios graphs using Nagios ID. Kindly help

Thanks
User avatar
lgute
Posts: 117
Joined: Mon Apr 06, 2020 2:49 pm

Re: Please provde API Endpoint to get list of graphs or to get the specific graph using Nagios ID

Post by lgute »

Hi @argentra, thanks for reaching out.

Please check out this post on this same topic.
Please let us know if you have any other questions or concerns.

-Laura
argentra
Posts: 16
Joined: Wed Dec 19, 2012 10:41 pm
Location: Singapore
Contact:

Re: Please provde API Endpoint to get list of graphs or to get the specific graph using Nagios ID

Post by argentra »

Dear Sebastian

Thanks for your answer.

Is it possible to get the data with time range using API Endponint. For example, Particular Host details with time line

Assume , we have access to /usr/local/nagios/share/perfdata, Is there any guide we can create a grapgh using those raw data

Thanks
Kumar
User avatar
swolf
Developer
Posts: 302
Joined: Tue Jun 06, 2017 9:48 am

Re: Please provde API Endpoint to get list of graphs or to get the specific graph using Nagios ID

Post by swolf »

Hi Kumar,

It looks like I was mistaken earlier - you can get the same data using the XI 5 API. You can access the documentation by going to Help -> Objects Reference -> Data Exporting in the Nagios XI web interface. The performance data graphs are available under "rrdexport", and you'll also have access to data for capacity planning, the Host/Service Availability Report, the SLA Report, and the BPI Group summary.

As far as creating your own graphs, we use Highcharts for most of the visualizations in our application, including the Performance Data graph. However, the data from the API is generic and should be usable with whatever charting library or solution you're able to use.

Please let me know if you have any further questions or concerns.
-Sebastian
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy
Post Reply