API to Get collector by name
Is there an API to get collector by name. I see one to get collector by ID. This would presume knowing the ID in advance. I am trying to setup automated installation of host metrics when stack is created using the host metrics creation API. But this would need an ID (unless it can also accept name). So the only option I have is to go through the list API and retrieve the ID for the name I intend to install host metrics. This quite cumbersome and would require going through the whole list of collectors. I was trying to find out if there is a easier way of implementing this.
Please sign in to leave a comment.
Comments
1 comment