Add smart wallbox service web app
parent
53fccc69be
commit
5ad8b1196d
|
|
@ -0,0 +1,18 @@
|
||||||
|
config:
|
||||||
|
- CD_smart-wallbox-web-app: default.json
|
||||||
|
|
||||||
|
#Prod alerting profiles for EMEA
|
||||||
|
CD_smart-wallbox-web-app.EMEA-Prod:
|
||||||
|
- name: CD_smart-wallbox-web-app PROD
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#INT alerting profiles for EMEA
|
||||||
|
CD_smart-wallbox-web-app.EMEA-PreProd:
|
||||||
|
- name: CD_smart-wallbox-web-app INT
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
@ -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}}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
### How to configure dashboards?
|
||||||
|
|
||||||
|
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Dashboards) page to configure your dashboards.
|
||||||
|
|
@ -0,0 +1,69 @@
|
||||||
|
config:
|
||||||
|
- CD_smart-wallbox-web-app-PROD: default.json
|
||||||
|
- CD_smart-wallbox-web-app-E2E: default.json
|
||||||
|
- CD_smart-wallbox-web-app-INT: default.json
|
||||||
|
- CD_smart-wallbox-web-app-TEST: default.json
|
||||||
|
|
||||||
|
#PROD dashboards for EMEA Prod
|
||||||
|
CD_smart-wallbox-web-app-PROD:
|
||||||
|
- name: CD_smart-wallbox-web-app PROD
|
||||||
|
- mzName: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.name
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "true"
|
||||||
|
CD_smart-wallbox-web-app-PROD.EMEA-Prod:
|
||||||
|
- name: CD_smart-wallbox-web-app PROD
|
||||||
|
- mzName: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.name
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- env: PROD
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#E2E dashboards for EMEA Prod
|
||||||
|
CD_smart-wallbox-web-app-E2E:
|
||||||
|
- name: CD_smart-wallbox-web-app E2E
|
||||||
|
- mzName: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.name
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- env: E2E
|
||||||
|
- skipDeployment: "true"
|
||||||
|
CD_smart-wallbox-web-app-E2E.EMEA-Prod:
|
||||||
|
- name: CD_smart-wallbox-web-app E2E
|
||||||
|
- mzName: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.name
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- env: E2E
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#INT dashboards for EMEA PreProd
|
||||||
|
CD_smart-wallbox-web-app-INT:
|
||||||
|
- name: CD_smart-wallbox-web-app INT
|
||||||
|
- mzName: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.name
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "true"
|
||||||
|
CD_smart-wallbox-web-app-INT.EMEA-PreProd:
|
||||||
|
- name: CD_smart-wallbox-web-app INT
|
||||||
|
- mzName: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.name
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- env: INT
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
#TEST dashboards for EMEA PreProd
|
||||||
|
CD_smart-wallbox-web-app-TEST:
|
||||||
|
- name: CD_smart-wallbox-web-app TEST
|
||||||
|
- mzName: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.name
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- env: TEST
|
||||||
|
- skipDeployment: "true"
|
||||||
|
CD_smart-wallbox-web-app-TEST.EMEA-PreProd:
|
||||||
|
- name: CD_smart-wallbox-web-app TEST
|
||||||
|
- mzName: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.name
|
||||||
|
- mzId: CD_smart-wallbox-web-app/management-zone/CD_smart-wallbox-web-app.id
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
- env: TEST
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
@ -0,0 +1,304 @@
|
||||||
|
{
|
||||||
|
"metadata": {
|
||||||
|
"configurationVersions": [3],
|
||||||
|
"clusterVersion": "1.214.107.20210407-223952"
|
||||||
|
},
|
||||||
|
"dashboardMetadata": {
|
||||||
|
"name": "{{.name}}",
|
||||||
|
"shared": true,
|
||||||
|
"owner": "Bruno.Garcia@ctw.bmwgroup.com",
|
||||||
|
"dashboardFilter": {
|
||||||
|
"timeframe": "-24h to now"
|
||||||
|
},
|
||||||
|
"tags": ["{{.tag}}"]
|
||||||
|
},
|
||||||
|
"tiles": [
|
||||||
|
{
|
||||||
|
"name": "Custom chart",
|
||||||
|
"tileType": "CUSTOM_CHARTING",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 228,
|
||||||
|
"left": 38,
|
||||||
|
"width": 1064,
|
||||||
|
"height": 304
|
||||||
|
},
|
||||||
|
"tileFilter": {},
|
||||||
|
"filterConfig": {
|
||||||
|
"type": "MIXED",
|
||||||
|
"customName": "Failure rate (HTTP 4xx/5xx errors)",
|
||||||
|
"defaultName": "Custom chart",
|
||||||
|
"chartConfig": {
|
||||||
|
"legendShown": true,
|
||||||
|
"type": "TIMESERIES",
|
||||||
|
"series": [
|
||||||
|
{
|
||||||
|
"metric": "builtin:service.errors.fourxx.rate",
|
||||||
|
"aggregation": "AVG",
|
||||||
|
"type": "BAR",
|
||||||
|
"entityType": "SERVICE",
|
||||||
|
"dimensions": [],
|
||||||
|
"sortAscending": false,
|
||||||
|
"sortColumn": false,
|
||||||
|
"aggregationRate": "TOTAL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": "builtin:service.errors.fivexx.rate",
|
||||||
|
"aggregation": "AVG",
|
||||||
|
"type": "BAR",
|
||||||
|
"entityType": "SERVICE",
|
||||||
|
"dimensions": [],
|
||||||
|
"sortAscending": false,
|
||||||
|
"sortColumn": true,
|
||||||
|
"aggregationRate": "TOTAL"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"resultMetadata": {
|
||||||
|
"nullbuiltin:service.errors.fivexx.rate|AVG|TOTAL|BAR|SERVICE": {
|
||||||
|
"lastModified": 1617956393463,
|
||||||
|
"customColor": "#ff0000"
|
||||||
|
},
|
||||||
|
"nullbuiltin:service.errors.fourxx.rate|AVG|TOTAL|BAR|SERVICE": {
|
||||||
|
"lastModified": 1617956441725,
|
||||||
|
"customColor": "#fff29a"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"filtersPerEntityType": {
|
||||||
|
"SERVICE": {
|
||||||
|
"AUTO_TAGS": [
|
||||||
|
"Environment:{{.env}}",
|
||||||
|
"Component:{{.tag}}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Problems",
|
||||||
|
"tileType": "OPEN_PROBLEMS",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 38,
|
||||||
|
"left": 950,
|
||||||
|
"width": 152,
|
||||||
|
"height": 152
|
||||||
|
},
|
||||||
|
"tileFilter": {
|
||||||
|
"managementZone": {
|
||||||
|
"id": "{{.mzId}}",
|
||||||
|
"name": "{{.mzName}}"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Overall Health",
|
||||||
|
"tileType": "HEADER",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 0,
|
||||||
|
"left": 38,
|
||||||
|
"width": 1064,
|
||||||
|
"height": 38
|
||||||
|
},
|
||||||
|
"tileFilter": {}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown",
|
||||||
|
"tileType": "MARKDOWN",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 532,
|
||||||
|
"left": 38,
|
||||||
|
"width": 1064,
|
||||||
|
"height": 38
|
||||||
|
},
|
||||||
|
"tileFilter": {},
|
||||||
|
"markdown": "---\n"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Custom chart",
|
||||||
|
"tileType": "CUSTOM_CHARTING",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 570,
|
||||||
|
"left": 38,
|
||||||
|
"width": 1064,
|
||||||
|
"height": 304
|
||||||
|
},
|
||||||
|
"tileFilter": {},
|
||||||
|
"filterConfig": {
|
||||||
|
"type": "MIXED",
|
||||||
|
"customName": "Response time, Request Count and Number of Errors",
|
||||||
|
"defaultName": "Custom chart",
|
||||||
|
"chartConfig": {
|
||||||
|
"legendShown": true,
|
||||||
|
"type": "TIMESERIES",
|
||||||
|
"series": [
|
||||||
|
{
|
||||||
|
"metric": "builtin:service.response.time",
|
||||||
|
"aggregation": "AVG",
|
||||||
|
"type": "LINE",
|
||||||
|
"entityType": "SERVICE",
|
||||||
|
"dimensions": [],
|
||||||
|
"sortAscending": false,
|
||||||
|
"sortColumn": false,
|
||||||
|
"aggregationRate": "TOTAL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": "builtin:service.requestCount.total",
|
||||||
|
"aggregation": "NONE",
|
||||||
|
"type": "BAR",
|
||||||
|
"entityType": "SERVICE",
|
||||||
|
"dimensions": [],
|
||||||
|
"sortAscending": false,
|
||||||
|
"sortColumn": false,
|
||||||
|
"aggregationRate": "TOTAL"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"metric": "builtin:service.errors.total.count",
|
||||||
|
"aggregation": "NONE",
|
||||||
|
"type": "BAR",
|
||||||
|
"entityType": "SERVICE",
|
||||||
|
"dimensions": [],
|
||||||
|
"sortAscending": false,
|
||||||
|
"sortColumn": true,
|
||||||
|
"aggregationRate": "TOTAL"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"resultMetadata": {
|
||||||
|
"nullbuiltin:service.requestCount.total|NONE|TOTAL|BAR|SERVICE": {
|
||||||
|
"lastModified": 1595275720776,
|
||||||
|
"customColor": "#008cdb"
|
||||||
|
},
|
||||||
|
"nullbuiltin:service.errors.total.count|NONE|TOTAL|BAR|SERVICE": {
|
||||||
|
"lastModified": 1595275955999,
|
||||||
|
"customColor": "#ef651f"
|
||||||
|
},
|
||||||
|
"nullbuiltin:service.response.time|AVG|TOTAL|LINE|SERVICE": {
|
||||||
|
"lastModified": 1595275686773,
|
||||||
|
"customColor": "#b4e5f9"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"filtersPerEntityType": {
|
||||||
|
"SERVICE": {
|
||||||
|
"AUTO_TAGS": [
|
||||||
|
"Environment:{{.env}}",
|
||||||
|
"Component:{{.tag}}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Markdown",
|
||||||
|
"tileType": "MARKDOWN",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 190,
|
||||||
|
"left": 38,
|
||||||
|
"width": 1064,
|
||||||
|
"height": 38
|
||||||
|
},
|
||||||
|
"tileFilter": {},
|
||||||
|
"markdown": "---\n"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"tileType": "DATABASES_OVERVIEW",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 38,
|
||||||
|
"left": 646,
|
||||||
|
"width": 190,
|
||||||
|
"height": 152
|
||||||
|
},
|
||||||
|
"tileFilter": {},
|
||||||
|
"filterConfig": {
|
||||||
|
"type": "DATABASE",
|
||||||
|
"customName": "Databases",
|
||||||
|
"defaultName": "Databases",
|
||||||
|
"chartConfig": {
|
||||||
|
"legendShown": true,
|
||||||
|
"type": "TIMESERIES",
|
||||||
|
"series": [],
|
||||||
|
"resultMetadata": {}
|
||||||
|
},
|
||||||
|
"filtersPerEntityType": {
|
||||||
|
"DATABASE": {
|
||||||
|
"AUTO_TAGS": [
|
||||||
|
"Environment:{{.env}}",
|
||||||
|
"Component:{{.tag}}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chartVisible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"tileType": "SERVICES",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 38,
|
||||||
|
"left": 342,
|
||||||
|
"width": 190,
|
||||||
|
"height": 152
|
||||||
|
},
|
||||||
|
"tileFilter": {},
|
||||||
|
"filterConfig": {
|
||||||
|
"type": "SERVICE",
|
||||||
|
"customName": "Services",
|
||||||
|
"defaultName": "Services",
|
||||||
|
"chartConfig": {
|
||||||
|
"legendShown": true,
|
||||||
|
"type": "TIMESERIES",
|
||||||
|
"series": [],
|
||||||
|
"resultMetadata": {}
|
||||||
|
},
|
||||||
|
"filtersPerEntityType": {
|
||||||
|
"SERVICE": {
|
||||||
|
"AUTO_TAGS": [
|
||||||
|
"Environment:{{.env}}",
|
||||||
|
"Component:{{.tag}}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chartVisible": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "",
|
||||||
|
"tileType": "HOSTS",
|
||||||
|
"configured": true,
|
||||||
|
"bounds": {
|
||||||
|
"top": 38,
|
||||||
|
"left": 38,
|
||||||
|
"width": 190,
|
||||||
|
"height": 152
|
||||||
|
},
|
||||||
|
"tileFilter": {},
|
||||||
|
"filterConfig": {
|
||||||
|
"type": "HOST",
|
||||||
|
"customName": "Hosts",
|
||||||
|
"defaultName": "Hosts",
|
||||||
|
"chartConfig": {
|
||||||
|
"legendShown": true,
|
||||||
|
"type": "TIMESERIES",
|
||||||
|
"series": [],
|
||||||
|
"resultMetadata": {}
|
||||||
|
},
|
||||||
|
"filtersPerEntityType": {
|
||||||
|
"HOST": {
|
||||||
|
"AUTO_TAGS": [
|
||||||
|
"Environment:{{.env}}",
|
||||||
|
"Component:{{.tag}}"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"chartVisible": true
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
|
||||||
|
### How to configure management zones?
|
||||||
|
|
||||||
|
Please refer to [this](https://atc.bmwgroup.net/confluence/display/OPMAAS/Documentation+%7C+Management+Zones) page to configure your management zones.
|
||||||
|
|
@ -0,0 +1,114 @@
|
||||||
|
{
|
||||||
|
"dimensionalRules": [],
|
||||||
|
"name": "{{.name}}",
|
||||||
|
"rules": [
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "SERVICE_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [
|
||||||
|
"SERVICE_TO_PROCESS_GROUP_LIKE",
|
||||||
|
"SERVICE_TO_HOST_LIKE"
|
||||||
|
],
|
||||||
|
"type": "SERVICE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "PROCESS_GROUP_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [
|
||||||
|
"PROCESS_GROUP_TO_HOST"
|
||||||
|
],
|
||||||
|
"type": "PROCESS_GROUP"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"negate": false,
|
||||||
|
"operator": "EQUALS",
|
||||||
|
"type": "TAG",
|
||||||
|
"value": {
|
||||||
|
"context": "CONTEXTLESS",
|
||||||
|
"key": "Component",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "HOST_TAGS"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"type": "HOST"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"caseSensitive": true,
|
||||||
|
"negate": false,
|
||||||
|
"operator": "CONTAINS",
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "CLOUD_APPLICATION_NAMESPACE_NAME"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [],
|
||||||
|
"type": "CLOUD_APPLICATION_NAMESPACE"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"conditions": [
|
||||||
|
{
|
||||||
|
"comparisonInfo": {
|
||||||
|
"caseSensitive": true,
|
||||||
|
"negate": false,
|
||||||
|
"operator": "CONTAINS",
|
||||||
|
"type": "STRING",
|
||||||
|
"value": "{{.tag}}"
|
||||||
|
},
|
||||||
|
"key": {
|
||||||
|
"attribute": "CLOUD_APPLICATION_NAME"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"enabled": true,
|
||||||
|
"propagationTypes": [],
|
||||||
|
"type": "CLOUD_APPLICATION"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
config:
|
||||||
|
- CD_smart-wallbox-web-app: default.json
|
||||||
|
|
||||||
|
CD_smart-wallbox-web-app:
|
||||||
|
- name: CD_smart-wallbox-web-app
|
||||||
|
- tag: smart-wallbox-web-app
|
||||||
|
|
@ -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
|
||||||
|
|
@ -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,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,31 @@
|
||||||
|
config:
|
||||||
|
- CD_smart-wallbox-web-app: msTeams.json
|
||||||
|
- CD_smart-wallbox-web-app_email: email.json
|
||||||
|
|
||||||
|
# Notification System for EMEA Prod msTeams
|
||||||
|
CD_smart-wallbox-web-app.EMEA-Prod:
|
||||||
|
- name: CD_smart-wallbox-web-app PROD
|
||||||
|
- alertingProfile: CD_smart-wallbox-web-app/alerting-profile/CD_smart-wallbox-web-app.id
|
||||||
|
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/5ea6c142b7164a79aaf52faa9f728274/f8ef3c85-672e-4922-ac7f-e63f3f934b1d
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
# Notification System for EMEA PreProd msTeams
|
||||||
|
CD_smart-wallbox-web-app.EMEA-PreProd:
|
||||||
|
- name: CD_smart-wallbox-web-app INT
|
||||||
|
- alertingProfile: CD_smart-wallbox-web-app/alerting-profile/CD_smart-wallbox-web-app.id
|
||||||
|
- webhook: https://criticaltechworks.webhook.office.com/webhookb2/b2de8193-24cf-4709-b1ad-d05f115fa08d@61f30b8e-4f6b-44fe-9bc2-041e3a9f7346/IncomingWebhook/5ea6c142b7164a79aaf52faa9f728274/f8ef3c85-672e-4922-ac7f-e63f3f934b1d
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
# Notification System for EMEA Prod Email
|
||||||
|
CD_smart-wallbox-web-app_email.EMEA-Prod:
|
||||||
|
- name: CD_smart-wallbox-web-app_email PROD
|
||||||
|
- alertingProfile: CD_smart-wallbox-web-app/alerting-profile/CD_smart-wallbox-web-app.id
|
||||||
|
- receivers: flash@criticaltechworks.com
|
||||||
|
- skipDeployment: "false"
|
||||||
|
|
||||||
|
# Notification System for EMEA PreProd Email
|
||||||
|
CD_smart-wallbox-web-app_email.EMEA-PreProd:
|
||||||
|
- name: CD_smart-wallbox-web-app_email INT
|
||||||
|
- alertingProfile: CD_smart-wallbox-web-app/alerting-profile/CD_smart-wallbox-web-app.id
|
||||||
|
- receivers: flash@criticaltechworks.com
|
||||||
|
- skipDeployment: "false"
|
||||||
Loading…
Reference in New Issue