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
Please provde API Endpoint to get list of graphs or to get the specific graph using Nagios ID
-
- Posts: 16
- Joined: Wed Dec 19, 2012 10:41 pm
- Location: Singapore
-
- Posts: 314
- 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
Please let us know if you have any other questions or concerns.
-Laura
-Laura
-
- Posts: 16
- Joined: Wed Dec 19, 2012 10:41 pm
- Location: Singapore
Re: Please provde API Endpoint to get list of graphs or to get the specific graph using Nagios ID
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
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
-
- Developer
- Posts: 361
- 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
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
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
Developer @ Nagios 2017-05-15 thru 2024-08-06