API - GET objects/servicestatus or GET objects/service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

API - GET objects/servicestatus or GET objects/service

Post by awilson »

Hi. I notice that the API endpoints GET objects/servicestatus and GET objects/service both return "notifications_enabled." Are the values pointing to the same information? Are they both pointing to the notifications enabled/disabled indicator in the Service Status Detail view or is the objects/service endpoint referring to the configured value in the Alert settings?

They appear to be referring to the current setting in the Service Status Detail, but I want to be certain.

Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: API - GET objects/servicestatus or GET objects/service

Post by scottwilkerson »

awilson wrote:They appear to be referring to the current setting in the Service Status Detail, but I want to be certain.
that is correct
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: API - GET objects/servicestatus or GET objects/service

Post by awilson »

Thank you.

Please close.
Locked