Skip to main content

As a user I would like to have the possibility of using name instead of the id for the submit result API: https://docs-api.centreon.com/api/centreon-web/21.10/#tag/Submit/paths/~1monitoring~1hosts~1{host_id}~1services~1{service_id}~1submit/post
 

We cannot industrialize a solution for passive monitoring because we need for each host and each service to know the id.

With the name, our customes that used NSCA can simply migrate on the API by using the name of a host and a service just like the NSCA agent.

 

Globally, we can create in the future a bundle for the passive monitoring with the API (like a cron file, and python or perl to script to submit result at regular interval).

@discoM talk about this on a github issue: https://github.com/centreon/centreon/issues/9330


what happens on name change?


You're right the ID cover that point.

But I guess in such kind of infrastructure and monitoring implementation that's something that you need to be aware and more watchful?


The way we understand the requirement is an enhancement of the v2 API to accept name as input (alternative to ID).


Updated idea statusNewDiscussion ongoing

Updated idea statusDiscussion ongoingNeeds Votes