cd_e2e_monitoring_config/BMW-Dynatrace-config/CD_b2v-com-gcdm-client/notification
qxz15oi aa343f1285 runtime/openshift onboardings 2021-04-08 20:28:00 +02:00
..
README.md runtime/openshift onboardings 2021-04-08 20:28:00 +02:00
email.json runtime/openshift onboardings 2021-04-08 20:28:00 +02:00
msTeams.json runtime/openshift onboardings 2021-04-08 20:28:00 +02:00
notification.yaml runtime/openshift onboardings 2021-04-08 20:28:00 +02:00

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.

  1. 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).
  2. Create an incoming webhook in MS Teams. How to?
  3. 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"
    
  4. 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>:

Email

The team prefers to be alerted via email, not MS Teams

  1. 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"
    
  2. Create a new configuration template under config, using the email template:
    config:
    - CD<app_name>email: email.json
    
  3. 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`
    
  4. Save and commit changes:
    git add <changes>
    git commit -m "<app_name> configuration changes"	
    git push -u origin <branch>
    

ITSM

Coming soon!