Add itsm problem notification integration for application PHD to Dynatrace
parent
4c7ec28939
commit
39919c5987
|
|
@ -0,0 +1,5 @@
|
|||
### 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.
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"active": true,
|
||||
"alertingProfile": "{{.alertingProfile}}",
|
||||
"bccReceivers": [],
|
||||
"body": "{ProblemDetailsHTML}",
|
||||
"ccReceivers": [],
|
||||
"name": "{{.name}}",
|
||||
"receivers": [
|
||||
"{{.receivers}}"
|
||||
],
|
||||
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
|
||||
"type": "EMAIL"
|
||||
}
|
||||
|
|
@ -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}}"
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"acceptAnyCertificate": false,
|
||||
"active": true,
|
||||
"alertingProfile": "{{.alertingProfile}}",
|
||||
"headers": [],
|
||||
"name": "{{.name}}",
|
||||
"notifyEventMergesEnabled": false,
|
||||
"payload": "{\n\"title\":\"{ProblemTitle}\",\n\"text\":\"{ProblemDetailsHTML}\",\n\"themeColor\":\"EA4300\"\n}",
|
||||
"type": "WEBHOOK",
|
||||
"url": "{{.webhook}}"
|
||||
}
|
||||
|
|
@ -0,0 +1,102 @@
|
|||
config:
|
||||
- CDnewComponentTag: msTeams.json
|
||||
- CDnewComponentTagITSM: itsm.json
|
||||
|
||||
# Notification System for EMEA/NA/CN Prod msTeams
|
||||
CDnewComponentTag.EMEA-Prod:
|
||||
- name: CD_PHD PROD
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://empty
|
||||
- skipDeployment: "true"
|
||||
CDnewComponentTag.NA-Prod:
|
||||
- name: CD_PHD PROD
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://empty
|
||||
- skipDeployment: "true"
|
||||
CDnewComponentTag.CN-Prod:
|
||||
- name: CD_PHD PROD
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://empty
|
||||
- skipDeployment: "true"
|
||||
|
||||
# Notification System for EMEA/NA/CN PreProd msTeams
|
||||
CDnewComponentTag.EMEA-PreProd:
|
||||
- name: CD_PHD INT
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://empty
|
||||
- skipDeployment: "true"
|
||||
CDnewComponentTag.NA-PreProd:
|
||||
- name: CD_PHD INT
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://empty
|
||||
- skipDeployment: "true"
|
||||
CDnewComponentTag.CN-PreProd:
|
||||
- name: CD_PHD INT
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://empty
|
||||
- skipDeployment: "true"
|
||||
|
||||
|
||||
# Notification System for EMEA/NA/CN Prod ITSM
|
||||
CDnewComponentTagITSM.EMEA-Prod:
|
||||
- name: CD_PHD ITSM PROD
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
|
||||
- contractid: "10APP11906401"
|
||||
- appdid: "TEST123"
|
||||
- mzName: CD_PHD/management-zone/CDnewComponentTag.id
|
||||
- DTEnvironment: https://xxu26128.live.dynatrace.com
|
||||
- skipDeployment: "true"
|
||||
|
||||
CDnewComponentTagITSM.NA-Prod:
|
||||
- name: CD_PHD ITSM PROD
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
|
||||
- contractid: "10APP11906401"
|
||||
- appdid: "TEST123"
|
||||
- mzName: CD_PHD/management-zone/CDnewComponentTag.id
|
||||
- DTEnvironment: https://xxu26128.live.dynatrace.com
|
||||
- skipDeployment: "true"
|
||||
|
||||
|
||||
CDnewComponentTagITSM.CN-Prod:
|
||||
- name: CD_PHD ITSM PROD
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
|
||||
- contractid: "10APP11906401"
|
||||
- appdid: "TEST123"
|
||||
- mzName: CD_PHD/management-zone/CDnewComponentTag.id
|
||||
- DTEnvironment: https://xxu26128.live.dynatrace.com
|
||||
- skipDeployment: "true"
|
||||
|
||||
CDnewComponentTagITSM.EMEA-PreProd:
|
||||
- name: CD_PHD ITSM INT
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
|
||||
- contractid: "10APP11906401"
|
||||
- appdid: "TEST123"
|
||||
- mzName: CD_PHD/management-zone/CDnewComponentTag.id
|
||||
- DTEnvironment: https://xxu26128.live.dynatrace.com
|
||||
- skipDeployment: "true"
|
||||
|
||||
CDnewComponentTagITSM.NA-PreProd:
|
||||
- name: CD_PHD ITSM INT
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
|
||||
- contractid: "10APP11906401"
|
||||
- appdid: "TEST123"
|
||||
- mzName: CD_PHD/management-zone/CDnewComponentTag.id
|
||||
- DTEnvironment: https://xxu26128.live.dynatrace.com
|
||||
- skipDeployment: "true"
|
||||
|
||||
|
||||
CDnewComponentTagITSM.CN-PreProd:
|
||||
- name: CD_PHD ITSM INT
|
||||
- alertingProfile: CD_PHD/alerting-profile/CDnewComponentTag.id
|
||||
- webhook: https://apim-beta-prod.bmwgroup.com/evtmgmt/eventproxy/v1
|
||||
- contractid: "10APP11906401"
|
||||
- appdid: "TEST123"
|
||||
- mzName: CD_PHD/management-zone/CDnewComponentTag.id
|
||||
- DTEnvironment: https://xxu26128.live.dynatrace.com
|
||||
- skipDeployment: "true"
|
||||
|
||||
Loading…
Reference in New Issue