|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| email.json | ||
| msTeams.json | ||
| notification.yaml | ||
README.md
Configure Notification System
MS Teams - Default
-
Open notification.yaml under your application configuration folder. You will see that all notification systems are via MS Teams by default with an https://empty webhook (not configured).
-
Let's suppose you want to start receiving alerts from Dynatrace via MS Teams just for your EMEA PROD. Create an incoming webhook in MS Teams Follow this link
-
Add the incoming webhook to this line:
<app_name>-PROD.EMEA-Prod:- name: CD_<app_name> PROD- alertingProfile: CD_<app_name>/alerting-profile/CD<app_name>-PROD.id- webhook: <here>- skipDeployment: "false" -
Save and commit changes:
git add <changes>git commit -m "<app_name> configuration changes"git push -u origin <branch>
Note: If you want to enable MS Teams for any other hub/stage, follow the same steps but make sure you're under the right configuration:
<app_name>-<stage>.<env>-<stage>:
In the following example, the team intends to use email instead of the default one (MS Teams) for the EMEA PROD notification system. For that, the following changes have to be done:
-
Keep the MS Teams integration disabled, with the https://empty webhook
<app_name>-PROD.EMEA-Prod:- name: CD_<app_name> PROD- alertingProfile: CD_<app_name>/alerting-profile/CD<app_name>-PROD.id- webhook: https://empty- skipDeployment: "false" -
Create a new configuration template under config, using the email template:
config:- CD<app_name>email: email.json -
Describe the configuration below, using the following template:
CD<app_name>email.EMEA-Prod:- name: CD_<app_name> PROD- alertingProfile: CD_<app_name>/alerting-profile/CD<app_name>-PROD.id- receivers: distributionEmailexample@bmw.de
ITSM
Coming soon!