Skip to main content

Bonjour,

Is there a way to manage/show the links between hosts/services and  contact/contactgroup with the REST API.

I don t see anything in the official documentation, in the host, service, contact, contactgroup part.

Thanks for reading and answering,

Mathias

 

 

 

Hello,

You can show the resources notification configuration with the Notification Policy endpoint: https://docs-api.centreon.com/api/centreon-web/#tag/Notification-Policy

Unfortunately, it seems that you cannot configure notifications at the moment.


Hello,

 

With rest API, Is there no way to add an host with a contact or a contact group for notification?????

Even with template or another trick?

 

It means that its only possible to add had host that will be without notification …

It means that rest API is done only for consultation ?

 

Thanks for the answer,

Mathias

 

 

 

 


Well it’s not possible now but it will be in the future. Configuration is/was done with CLAPI or the API v1 but the API v2 is being enhanced to handle configuration and more.


Thanks for the quick reply.

Yes it sould be a great feature to enable configuration with the rest api.

😉

 

 

 


Reply