{ "alerts": [ { "id": 16075279, "version": 2, "createdOn": 1701726946638, "modifiedOn": 1701726974131, "type": "MANUAL", "name": "CHESS - HTTP Error", "description": "Common Hosted Email Service Showcase - HTTP response code 5xx", "enabled": true, "notificationChannelIds": [ 169710, 169709 ], "defaultSettings": [ { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "allowInsecureConnections": false, "url": "https://discordapp.com/api/webhooks/755856705027440640/7HLpx2j-z3-YyyQLAcyTLgizVtWVA6c5GfwQH7hbkgjvoanDh04pHpveoA9xoz08954b", "additionalHeaders": {}, "monitorTemplate": "{\n\t\"content\": \"{{@event_body}}\"\n}", "httpMethod": "POST", "notifyOnResolve": false }, "type": "POWER_WEBHOOK", "notificationChannelId": 169709 }, { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "emailRecipients": [ "nr.commonserviceshowcase@gov.bc.ca" ], "notifyOnResolve": false }, "type": "EMAIL", "notificationChannelId": 169710 } ], "filter": "container.name in (\"app\") and net.http.statusCode starts with \"5\"", "severity": 2, "timespan": 60000000, "customNotification": { "titleTemplate": "", "useNewTemplate": true }, "notificationCount": 0, "teamId": 57607, "autoCreated": false, "sysdigCapture": { "name": "capture.scap", "filters": "", "duration": 15, "type": "S3", "bucketName": null, "folder": "/", "enabled": false, "storageId": null }, "rateOfChange": false, "reNotifyMinutes": 30, "reNotify": false, "invalidMetrics": [], "groupName": "default", "links": [ { "type": "dashboard", "id": "406457" } ], "noDataBehaviour": "DO_NOTHING", "valid": true, "severityLabel": "MEDIUM", "segmentBy": [ "kubernetes.namespace.name" ], "segmentCondition": { "type": "ANY" }, "condition": "sum(max(sysdig_container_net_http_statuscode_request_count)) > 0.0", "customerId": 23935, "lastCheckTimeInMs": 1705005600000 }, { "id": 16075889, "version": 3, "createdOn": 1701810024842, "modifiedOn": 1705005240859, "type": "PROMETHEUS", "name": "CHESS - HTTP 5xx Error", "description": "CHESS returned a 5xx code over the last minute", "enabled": true, "notificationChannelIds": [ 169709 ], "defaultSettings": [ { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "allowInsecureConnections": false, "url": "https://discordapp.com/api/webhooks/755856705027440640/7HLpx2j-z3-YyyQLAcyTLgizVtWVA6c5GfwQH7hbkgjvoanDh04pHpveoA9xoz08954b", "additionalHeaders": {}, "monitorTemplate": "{\n\t\"content\": \"{{@event_body}}\"\n}", "httpMethod": "POST", "notifyOnResolve": false }, "type": "POWER_WEBHOOK", "notificationChannelId": 169709 } ], "severity": 2, "timespan": 60000000, "customNotification": { "titleTemplate": "", "useNewTemplate": true }, "notificationCount": 0, "teamId": 57607, "autoCreated": false, "rateOfChange": false, "reNotifyMinutes": 30, "reNotify": false, "invalidMetrics": [], "groupName": "default", "links": [ { "type": "dashboard", "id": "406457" } ], "noDataBehaviour": "DO_NOTHING", "valid": true, "severityLabel": "MEDIUM", "condition": "sum by (kube_namespace_name,kube_workload_name)(rate(sysdig_container_net_http_statuscode_request_count{net_http_statuscode=~'5..',kube_namespace_name=~\".*\",kube_workload_name=~\".*master.*\", kube_pod_label_deploymentconfig=\"common-hosted-email-service-showcase-master\"}[2m])) > 0\n", "customerId": 23935, "lastCheckTimeInMs": 1705005600000 }, { "id": 16091161, "version": 3, "createdOn": 1703005843242, "modifiedOn": 1704916975847, "type": "PROMETHEUS", "name": "CHESS - {{kube_namespace_name}} - OpenShift Container Waiting", "description": "Container in waiting status for long time (CrashLoopBackOff, ImagePullErr...)", "enabled": true, "notificationChannelIds": [ 169710, 169709 ], "defaultSettings": [ { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "allowInsecureConnections": false, "url": "https://discordapp.com/api/webhooks/755856705027440640/7HLpx2j-z3-YyyQLAcyTLgizVtWVA6c5GfwQH7hbkgjvoanDh04pHpveoA9xoz08954b", "additionalHeaders": {}, "monitorTemplate": "{\n\t\"content\": \"{{@event_body}}\"\n}", "httpMethod": "POST", "notifyOnResolve": false }, "type": "POWER_WEBHOOK", "notificationChannelId": 169709 }, { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "emailRecipients": [ "nr.commonserviceshowcase@gov.bc.ca" ], "notifyOnResolve": false }, "type": "EMAIL", "notificationChannelId": 169710 } ], "severity": 0, "timespan": 600000000, "customNotification": { "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}", "useNewTemplate": true }, "notificationCount": 0, "teamId": 57607, "autoCreated": false, "rateOfChange": false, "reNotifyMinutes": 30, "reNotify": false, "invalidMetrics": [], "groupName": "kubernetes", "alertTemplateName": "kubernetes-ContainerWaiting", "alertTemplateVersion": 47, "links": [ { "type": "dashboard", "id": "406457" } ], "noDataBehaviour": "DO_NOTHING", "valid": true, "severityLabel": "HIGH", "condition": "kube_pod_container_status_waiting_reason{reason!=\"ContainerCreating\", kube_cluster_name=~\".*\",kube_namespace_name=~\".*\",kube_workload_name=~\".*\"} > 0\n", "customerId": 23935, "lastCheckTimeInMs": 1705005540000 } ] }