|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| email.json | ||
| msTeams.json | ||
| notification.yaml | ||
README.md
Configure Notification System
MS Teams - Default
Let's suppose you would like to start receiving alerts from Dynatrace via MS Teams just for your EMEA PROD.
- Open notification.yaml under your application configuration folder. By default, all notification systems are configured via MS Teams with an https://empty webhook (not configured).
- Create an incoming webhook in MS Teams. How to?
- Add the incoming webhook under the webhook parameter for the
<app_name>-PROD.EMEA-Prod:<app_name>-PROD.EMEA-Prod: - name: CD_<app_name> PROD - alertingProfile: CD_<app_name>/alerting-profile/CD<app_name>-PROD.id - webhook: <Add 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>.<dynatrace-env>-<stage>:
The team prefers to be alerted via email, not MS Teams
- 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` - Save and commit changes:
git add <changes> git commit -m "<app_name> configuration changes" git push -u origin <branch>
ITSM
Coming soon!