Page 1 of 1

Integrate BPI tabs into a foreign webpage

Posted: Wed Apr 01, 2020 10:16 am
by enas
Hello,
we setup a BPI with its tabs from high to low. Now we want to these tabs in a intranet webpage outside of Nagios. The permanent link will not solve the problem. When I read the API docs, I think it's not possible. Is that true?
Is there a possibility in Nagios itself f.e. with a auto-login user that can see on its home dashboard only these tabs?
Could you point me into the right direction?

Thanks

Olaf

Re: Integrate BPI tabs into a foreign webpage

Posted: Wed Apr 01, 2020 5:13 pm
by ssax
You can get the data from the API but your other application would need to parse it and display it:

Code: Select all

https://YOURXISERVER/nagiosxi/help/api-object-reference.php#objects-bpi
You could create a read-only user and add that user to the BPI group permissions OR use the "Show All Groups To All Users" setting but you'd still need to click the Auto-Login button. I'm not sure that would embed well.

Re: Integrate BPI tabs into a foreign webpage

Posted: Thu Apr 02, 2020 10:33 am
by enas
Thanks for your reply. I tested the URL code. That's ok for me. I'll write some code to display the data. You solved my problem.

Re: Integrate BPI tabs into a foreign webpage

Posted: Thu Apr 02, 2020 1:48 pm
by scottwilkerson
enas wrote:Thanks for your reply. I tested the URL code. That's ok for me. I'll write some code to display the data. You solved my problem.
Great!

Locking thread