Details
-
Improvement
-
Resolution: Fixed
-
Minor - P4
-
None
-
None
-
None
-
0.5
Description
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.