Hello, we are still testing nagios XI, but there is one feature we need. We would like to be able to pull data from the database to be displayed on another website. The reason for this is we would like for our customers to be able to only see what is up or down, not all of the hostgroups or service detail that nagios XI provides. Internally for the network team the nagios XI interface is fine. I have found some API information that might have been able to help, but it was for the nagios core version. Is there any help that can be provided? If not is this type of customization available if we buy the product? Thanks again for your time.
Chris
Pull from databse to display on another Web page
Re: Pull from databse to display on another Web page
Undocumented at the moment, but there is a backend API for getting data out of Nagios XI in XML format. When you're logged in to Nagios XI, try the following URLs:
http://[server]/nagiosxi/backend/?cmd=getservicestatus
http://[server]/nagiosxi/backend/?cmd=gethoststatus
If you're *not* logged in, there is a way to get the data as well, but that requires some additional work.
http://[server]/nagiosxi/backend/?cmd=getservicestatus
http://[server]/nagiosxi/backend/?cmd=gethoststatus
If you're *not* logged in, there is a way to get the data as well, but that requires some additional work.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ethan Galstad
President
Ethan Galstad
President
Re: Pull from databse to display on another Web page
In case someone wants to do this, I put together a quick document and component to make this easy for people.
This document explains how to get access to the backend API: http://assets.nagios.com/downloads/nagi ... nd_API.pdf
Please note that you will have to upgrade you Nagios XI instance to the latest/greatest development snapshot that was just made this morning (June 10th, 2010).
This document explains how to get access to the backend API: http://assets.nagios.com/downloads/nagi ... nd_API.pdf
Please note that you will have to upgrade you Nagios XI instance to the latest/greatest development snapshot that was just made this morning (June 10th, 2010).
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Ethan Galstad
President
Ethan Galstad
President