Hi,
I have created a M10 cluster and have taken a snapshot.
Before doing so, I created a webhook type alert for the condition “Snapshot has started”.
The webhook is called seconds after the snapshot is initiated. The body contains besides some other data an alert id and a group id (which is the project id).
Unfortunately, the body doesn’t contain any information about the cluster (e.g. name or id) to which the alert refers.
2 questions:
- Is it possible to get a link between an alert and a cluster?
- I have tried to get detailed alert data by calling https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/alerts/{alertId} with the data provided in the body. However, the service returns a 404 / ALERT_NOT_FOUND. I wonder why this alert is unknown.
Any help appreciated.
Thanks,
Matt