Pull request #109: Add itsm problem notification integration for application APIGW to Dynatrace

Merge in OPAPM/cd_e2e_monitoring_config from CD_APIGW to master

* commit 'f12be2f4af1720010dcdc4ac7878f9d13cead1ac':
  Add itsm problem notification integration for application APIGW to Dynatrace
CD_APIGW_AlertingFIx
Murat Yelgin (ext.) 2021-11-15 10:20:19 +01:00
commit a3e49fc8ed
3 changed files with 91 additions and 0 deletions

View File

@ -0,0 +1,4 @@
### How to configure notification systems?
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Problem+Notification+Integrations) page to configure your notification systems.

View File

@ -0,0 +1,20 @@
{
"acceptAnyCertificate": false,
"active": true,
"alertingProfile": "{{.alertingProfile}}",
"headers": [
{
"name": "Authorization",
"value": "{{.Env.SecretAuthHeader}}"
},
{
"name": "x-apikey",
"value": "{{.Env.SecretXAPIKey}}"
}
],
"name": "{{.name}}",
"notifyEventMergesEnabled": false,
"payload": "[\n{\n \"attributes\": {\n \"CLASS\": \"BusinessTransaction\",\n \"source\": \"MgmtZone: {{.mzName}}\",\n \"severity\": \"MINOR\",\n \"origin\": \"{{.appdid}}\",\n \"sub_origin\": \"Dynatrace SaaS - {ImpactedEntity}\",\n \"adapter_host\": \"{{ .DTEnvironment }}\",\n \"msg\": \"{ProblemDetailsText}\",\n \"contract_id\": \"{{.contractid}}\",\n \"ars_esc\": \"Yes\",\n \"ars_delay_time\": \"0\",\n \"hostname\": \"test\",\n \"sub_source\": \"Environment: CoCo_EMEA_Prod\",\n \"server_loc\": \"\",\n \"event_id\": \"AI001\",\n \"dd_plus\": \"{ProblemSeverity}\",\n \"dd1\": \"{ProblemURL}\",\n \"dd2\": \"{PID}\"\n }\n}\n]",
"type": "WEBHOOK",
"url": "{{.webhook}}"
}

View File

@ -0,0 +1,67 @@
config:
- CDAPIGWITSM: itsm.json
# Notification System for EMEA/NA/CN Prod ITSM
CDAPIGWITSM.EMEA-Prod:
- name: CD_APIGW ITSM PROD
- alertingProfile: CD_APIGW/alerting-profile/CDAPIGW-Prod.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11633204"
- appdid: "APPD-48041"
- mzName: CD_APIGW/management-zone/CDAPIGW.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDAPIGWITSM.NA-Prod:
- name: CD_APIGW ITSM PROD
- alertingProfile: CD_APIGW/alerting-profile/CDAPIGW-Prod.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11633204"
- appdid: "APPD-48041"
- mzName: CD_APIGW/management-zone/CDAPIGW.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDAPIGWITSM.CN-Prod:
- name: CD_APIGW ITSM PROD
- alertingProfile: CD_APIGW/alerting-profile/CDAPIGW-Prod.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11633204"
- appdid: "APPD-48041"
- mzName: CD_APIGW/management-zone/CDAPIGW.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd ITSM
CDAPIGWITSM.EMEA-PreProd:
- name: CD_APIGW ITSM INT
- alertingProfile: CD_APIGW/alerting-profile/CDAPIGW-PreProd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11633202"
- appdid: "APPD-48016"
- mzName: CD_APIGW/management-zone/CDAPIGW.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDAPIGWITSM.NA-PreProd:
- name: CD_APIGW ITSM INT
- alertingProfile: CD_APIGW/alerting-profile/CDAPIGW-PreProd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11633202"
- appdid: "APPD-48016"
- mzName: CD_APIGW/management-zone/CDAPIGW.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"
CDAPIGWITSM.CN-PreProd:
- name: CD_APIGW ITSM INT
- alertingProfile: CD_APIGW/alerting-profile/CDAPIGW-PreProd.id
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
- contractid: "10APP11633202"
- appdid: "APPD-48016"
- mzName: CD_APIGW/management-zone/CDAPIGW.id
- DTEnvironment: https://xxu26128.live.dynatrace.com
- skipDeployment: "true"