- added msteams alerting to 2 bmw points push services, msteams + email to chargenowenabler

intangibles-services-alerts-update
José Cadilha 2022-05-05 14:45:31 +01:00
parent 7d3b8ff3c8
commit 4ea0c1b282
18 changed files with 512 additions and 0 deletions

View File

@ -0,0 +1,19 @@
config:
- CDbmw-points-push-notifications-service: default.json
#Prod alerting profiles for EMEA
CDbmw-points-push-notifications-service.EMEA-Prod:
- name: CD_bmw-points-push-notifications-service PROD
- tag: bmw-points-push-notifications-service
- mzId: CD_bmw-points-push-notifications-service/management-zone/CDbmw-points-push-notifications-service.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA
CDbmw-points-push-notifications-service.EMEA-PreProd:
- name: CD_bmw-points-push-notifications-service INT
- tag: bmw-points-push-notifications-service
- mzId: CD_bmw-points-push-notifications-service/management-zone/CDbmw-points-push-notifications-service.id
- env: INT
- skipDeployment: "false"

View File

@ -0,0 +1,103 @@
{
"displayName": "{{.name}}",
"eventTypeFilters": [],
"managementZoneId": "{{.mzId}}",
"mzId": "{{.mzId}}",
"rules": [
{
"delayInMinutes": 0,
"severityLevel": "AVAILABILITY",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "ERROR",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "PERFORMANCE",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "RESOURCE_CONTENTION",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "CUSTOM_ALERT",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
}
]
}

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,13 @@
{
"active": true,
"alertingProfile": "{{.alertingProfile}}",
"bccReceivers": [],
"body": "{ProblemDetailsHTML}",
"ccReceivers": [],
"name": "{{.name}}",
"receivers": [
"{{.receivers}}"
],
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
"type": "EMAIL"
}

View File

@ -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}}"
}

View File

@ -0,0 +1,17 @@
config:
- CDbmw-points-push-notifications-service: msTeams.json
- CDbmw-points-push-notifications-service_email: email.json
# Notification System for EMEA/NA/CN Prod msTeams
CDbmw-points-push-notifications-service.EMEA-Prod:
- name: CD_bmw-points-push-notifications-service PROD
- alertingProfile: CD_bmw-points-push-notifications-service/alerting-profile/CDbmw-points-push-notifications-service.id
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/0cf76894f7974aeaa28e5000a38d8d2c/66730f27-7257-45d8-8799-fdc7e4d4d178
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd msTeams
CDbmw-points-push-notifications-service.EMEA-PreProd:
- name: CD_bmw-points-push-notifications-service INT
- alertingProfile: CD_bmw-points-push-notifications-service/alerting-profile/CDbmw-points-push-notifications-service.id
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/0cf76894f7974aeaa28e5000a38d8d2c/66730f27-7257-45d8-8799-fdc7e4d4d178
- skipDeployment: "true"

View File

@ -0,0 +1,19 @@
config:
- CDchargenow-enabler-service: default.json
#Prod alerting profiles for EMEA
CDchargenow-enabler-service.EMEA-Prod:
- name: CD_chargenow-enabler-service PROD
- tag: chargenow-enabler-service
- mzId: CD_chargenow-enabler-service/management-zone/CDchargenow-enabler-service.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA
CDchargenow-enabler-service.EMEA-PreProd:
- name: CD_chargenow-enabler-service INT
- tag: chargenow-enabler-service
- mzId: CD_chargenow-enabler-service/management-zone/CDchargenow-enabler-service.id
- env: INT
- skipDeployment: "false"

View File

@ -0,0 +1,103 @@
{
"displayName": "{{.name}}",
"eventTypeFilters": [],
"managementZoneId": "{{.mzId}}",
"mzId": "{{.mzId}}",
"rules": [
{
"delayInMinutes": 0,
"severityLevel": "AVAILABILITY",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "ERROR",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "PERFORMANCE",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "RESOURCE_CONTENTION",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "CUSTOM_ALERT",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
}
]
}

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,13 @@
{
"active": true,
"alertingProfile": "{{.alertingProfile}}",
"bccReceivers": [],
"body": "{ProblemDetailsHTML}",
"ccReceivers": [],
"name": "{{.name}}",
"receivers": [
"{{.receivers}}"
],
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
"type": "EMAIL"
}

View File

@ -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}}"
}

View File

@ -0,0 +1,29 @@
config:
- CDchargenow-enabler-service: msTeams.json
- CDchargenow-enabler-service_email: email.json
# Notification System for EMEA/NA/CN Prod msTeams
CDchargenow-enabler-service.EMEA-Prod:
- name: CD_chargenow-enabler-service PROD
- alertingProfile: CD_chargenow-enabler-service/alerting-profile/CDchargenow-enabler-service.id
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/0cf76894f7974aeaa28e5000a38d8d2c/66730f27-7257-45d8-8799-fdc7e4d4d178
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd msTeams
CDchargenow-enabler-service.EMEA-PreProd:
- name: CD_chargenow-enabler-service INT
- alertingProfile: CD_chargenow-enabler-service/alerting-profile/CDchargenow-enabler-service.id
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/0cf76894f7974aeaa28e5000a38d8d2c/66730f27-7257-45d8-8799-fdc7e4d4d178
- skipDeployment: "true"
# Notification System for EMEA/NA/CN Prod Email
CDchargenow-enabler-service_email.EMEA-Prod:
- name: CD_chargenow-enabler-service_email PROD
- alertingProfile: CD_chargenow-enabler-service/alerting-profile/CDchargenow-enabler-service.id
- receivers: intangibles@list.bmw.com
# Notification System for EMEA/NA/CN PreProd Email
CDchargenow-enabler-service_email.EMEA-PreProd:
- name: CD_chargenow-enabler-service_email INT
- alertingProfile: CD_chargenow-enabler-service/alerting-profile/CDchargenow-enabler-service.id
- receivers: intangibles@list.bmw.com

View File

@ -0,0 +1,19 @@
config:
- CDpush-notification-settings-composite-service: default.json
#Prod alerting profiles for EMEA
CDpush-notification-settings-composite-service.EMEA-Prod:
- name: CD_push-notification-settings-composite-service PROD
- tag: push-notification-settings-composite-service
- mzId: CD_push-notification-settings-composite-service/management-zone/CDPush-notification-settings-composite-service.id
- env: PROD
- skipDeployment: "false"
#INT alerting profiles for EMEA
CDpush-notification-settings-composite-service.EMEA-PreProd:
- name: CD_push-notification-settings-composite-service INT
- tag: push-notification-settings-composite-service
- mzId: CD_push-notification-settings-composite-service/management-zone/CDPush-notification-settings-composite-service.id
- env: INT
- skipDeployment: "false"

View File

@ -0,0 +1,103 @@
{
"displayName": "{{.name}}",
"eventTypeFilters": [],
"managementZoneId": "{{.mzId}}",
"mzId": "{{.mzId}}",
"rules": [
{
"delayInMinutes": 0,
"severityLevel": "AVAILABILITY",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "ERROR",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "PERFORMANCE",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 30,
"severityLevel": "RESOURCE_CONTENTION",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
},
{
"delayInMinutes": 10,
"severityLevel": "CUSTOM_ALERT",
"tagFilter": {
"includeMode": "INCLUDE_ALL",
"tagFilters": [
{
"context": "CONTEXTLESS",
"key": "Component",
"value": "{{.tag}}"
},
{
"context": "CONTEXTLESS",
"key": "Environment",
"value": "{{.env}}"
}
]
}
}
]
}

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,13 @@
{
"active": true,
"alertingProfile": "{{.alertingProfile}}",
"bccReceivers": [],
"body": "{ProblemDetailsHTML}",
"ccReceivers": [],
"name": "{{.name}}",
"receivers": [
"{{.receivers}}"
],
"subject": "{State} Problem {ProblemID}: {ImpactedEntity}",
"type": "EMAIL"
}

View File

@ -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}}"
}

View File

@ -0,0 +1,16 @@
config:
- CDpush-notification-settings-composite-service: msTeams.json
# Notification System for EMEA/NA/CN Prod msTeams
CDpush-notification-settings-composite-service.EMEA-Prod:
- name: CD_push-notification-settings-composite-service PROD
- alertingProfile: CD_push-notification-settings-composite-service/alerting-profile/CDpush-notification-settings-composite-service.id
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/0cf76894f7974aeaa28e5000a38d8d2c/66730f27-7257-45d8-8799-fdc7e4d4d178
- skipDeployment: "true"
# Notification System for EMEA/NA/CN PreProd msTeams
CDpush-notification-settings-composite-service.EMEA-PreProd:
- name: CD_push-notification-settings-composite-service INT
- alertingProfile: CD_push-notification-settings-composite-service/alerting-profile/CDpush-notification-settings-composite-service.id
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/0cf76894f7974aeaa28e5000a38d8d2c/66730f27-7257-45d8-8799-fdc7e4d4d178
- skipDeployment: "true"