Understand that the a API for querying the BPI information
nagiosxi/api/v1/objects/bpi?
The result is a list of the BPI Groups, Host Groups and Service Groups, however there is no information of which Host Groups and Service Groups are under which BPI Group.
Is there a way or other API to get these information ?
Use Nagios API to query the components under a BPI group
Re: Use Nagios API to query the components under a BPI group
Hello @ccnadmin
Thanks for reaching out and you are correct that the BPI data can be exported via the api with:
curl -XGET "http://nagiosxi_ip/nagiosxi/api/v1/objects/bpi?apikey=<apikey>&pretty=1"
However, the option to pull data with Host or Sevice Groups within BPI is not available. I see that this feature has been requested and will add a bump to it.
Thanks,
Perry
Thanks for reaching out and you are correct that the BPI data can be exported via the api with:
curl -XGET "http://nagiosxi_ip/nagiosxi/api/v1/objects/bpi?apikey=<apikey>&pretty=1"
However, the option to pull data with Host or Sevice Groups within BPI is not available. I see that this feature has been requested and will add a bump to it.
Thanks,
Perry
Re: Use Nagios API to query the components under a BPI group
Hi Perry,
Thank you for the fast response.
Hopefully the request will be answered soon as this will be a great help for company's Management to view the status of their monitored systems without accessing to the Nagios XI system.
Thank you for the fast response.
Hopefully the request will be answered soon as this will be a great help for company's Management to view the status of their monitored systems without accessing to the Nagios XI system.
Re: Use Nagios API to query the components under a BPI group
Hello @ccnadmin
We have put in a feature request for this on your behalf, and here is the Nagios Change Log for your reference.
Thanks,
Perry
We have put in a feature request for this on your behalf, and here is the Nagios Change Log for your reference.
Thanks,
Perry