-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Ops Manager
-
Labels:None
-
0.5
It seems that the notifications.roles array is not documented in the Ops Manager public API documentation.
I could test with a customer that you can indeed set the Ops Manager roles in the alert configuration, to specify whether you want to send notifications to a specific role within the Ops Manager group.
E.g.
{ "enabled": true, "eventTypeName": "MONITORING_AGENT_DOWN", "groupId": "58515cc3e1966c4e46fcd52d", "matchers": [], "notifications": [{ "delayMin": 0, "emailEnabled": true, "intervalMin": 60, "smsEnabled": false, "typeName": "GROUP", "roles": ["GROUP_OWNER"] }], "typeName": "AGENT" }
All sub-pages within https://docs.opsmanager.mongodb.com/current/reference/api/alert-configurations/ are affected.