Page 1 of 1

Nagios API BPI object

Posted: Tue Aug 27, 2019 6:48 am
by atsb
Hello,

About nagios XI environment
1) Linux Distribution and version? Centos 7
2) 32 or 64bit? 64bit
3) VMware Image or Manual Install of XI? Manual install
4) Are there special configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL? SSL
5) NagiosXI version: 5.6.6

I noticed that nagios API BPI object status text is not complete, example:
status_text.png
and in actual BPI view:
BPI text.jpg
These do not match.
Also i have a question about BPI objects(API), is there any way to determine which item has relationship with another? Like "Backend" object is under "TEST-2" object which is in the top tree.
object_relationship.png
In the BPI view we can make a conclusion that "TEST-2" object has a children "Backend" object and this object has 2 services named "Service status - crond" and "Service status - httpd", they are in warning state. But in API i cant find anything that relates to that.

Re: Nagios API BPI object

Posted: Tue Aug 27, 2019 3:59 pm
by ssax
I'm able to reproduce this on mine as well, it's a bug for the first one.

That functionality doesn't currently exist, I can submit a feature request on your behalf if you'd like?

That's normal functionality as an essential member is in a problem state.

Bug report submitted:

Code: Select all

NEW TASK ID created - Nagios XI Bug Report: XI - API - BPI html code breaks API output of BPI objects endpoint status

Re: Nagios API BPI object

Posted: Wed Aug 28, 2019 2:17 am
by atsb
Yes, please submit feature request on behalf of me. Thank you.

Re: Nagios API BPI object

Posted: Wed Aug 28, 2019 5:08 pm
by ssax
Sounds good, I'll submit it in the morning and update this post.

Re: Nagios API BPI object

Posted: Wed Sep 04, 2019 1:17 pm
by atsb
I assume you submitted the ticket? If so then this thread can be closed.

Re: Nagios API BPI object

Posted: Wed Sep 04, 2019 5:10 pm
by ssax
Yep, submitted (with a link back to this thread):

Code: Select all

FR: XI - BPI - API - Show child objects/groups and states of those groups
Locking now.