{ "alerts": [ { "id": 16075306, "version": 2, "createdOn": 1701733488942, "modifiedOn": 1701733514186, "type": "MANUAL", "name": "CAVMS incomming requests above 5/s", "description": "", "enabled": true, "notificationChannelIds": [ 169715, 169716 ], "defaultSettings": [ { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "emailRecipients": [ "nr.commonserviceshowcase@gov.bc.ca" ], "notifyOnResolve": false }, "type": "EMAIL", "notificationChannelId": 169715 }, { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "allowInsecureConnections": false, "url": "https://discordapp.com/api/webhooks/755856705027440640/7HLpx2j-z3-YyyQLAcyTLgizVtWVA6c5GfwQH7hbkgjvoanDh04pHpveoA9xoz08954b", "additionalHeaders": {}, "monitorTemplate": "{\n\"content\": \"Alert Name: {{@alert_name}}\\nSeverity: {{@alert_severity}}\\nDescription: {{@alert_description}}\\nNamespace: {{@event_labels.kube_namespace_name}}\\nEvent Entity: {{@event_entity}}\\nMore Details: {{@event_url}}\"\n}", "httpMethod": "POST", "notifyOnResolve": false }, "type": "POWER_WEBHOOK", "notificationChannelId": 169716 } ], "filter": "kubernetes.namespace.name in (\"8035d1-prod\")", "severity": 6, "timespan": 60000000, "customNotification": { "titleTemplate": "", "useNewTemplate": true }, "notificationCount": 0, "teamId": 56926, "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": "406459" } ], "noDataBehaviour": "DO_NOTHING", "valid": true, "severityLabel": "NONE", "segmentBy": [ "kubernetes.namespace.name" ], "segmentCondition": { "type": "ANY" }, "condition": "sum(timeAvg(sysdig_container_net_request_in_count)) > 5.0", "customerId": 23935, "lastCheckTimeInMs": 1705005720000 }, { "id": 16091162, "version": 3, "createdOn": 1703005968158, "modifiedOn": 1704917090532, "type": "PROMETHEUS", "name": "CAVMS - {{kube_namespace_name}} - OpenShift Container Waiting", "description": "Container in waiting status for long time (CrashLoopBackOff, ImagePullErr...)", "enabled": true, "notificationChannelIds": [ 169715, 169716 ], "defaultSettings": [ { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "emailRecipients": [ "nr.commonserviceshowcase@gov.bc.ca" ], "notifyOnResolve": false }, "type": "EMAIL", "notificationChannelId": 169715 }, { "options": { "notifyOnOk": false, "thresholds": [ "MAIN" ], "allowInsecureConnections": false, "url": "https://discordapp.com/api/webhooks/755856705027440640/7HLpx2j-z3-YyyQLAcyTLgizVtWVA6c5GfwQH7hbkgjvoanDh04pHpveoA9xoz08954b", "additionalHeaders": {}, "monitorTemplate": "{\n\"content\": \"Alert Name: {{@alert_name}}\\nSeverity: {{@alert_severity}}\\nDescription: {{@alert_description}}\\nNamespace: {{@event_labels.kube_namespace_name}}\\nEvent Entity: {{@event_entity}}\\nMore Details: {{@event_url}}\"\n}", "httpMethod": "POST", "notifyOnResolve": false }, "type": "POWER_WEBHOOK", "notificationChannelId": 169716 } ], "severity": 0, "timespan": 600000000, "customNotification": { "titleTemplate": "{{__alert_name__}} is {{__alert_status__}}", "useNewTemplate": true }, "notificationCount": 0, "teamId": 56926, "autoCreated": false, "rateOfChange": false, "reNotifyMinutes": 30, "reNotify": false, "invalidMetrics": [], "groupName": "kubernetes", "alertTemplateName": "kubernetes-ContainerWaiting", "alertTemplateVersion": 47, "links": [ { "type": "dashboard", "id": "406459" } ], "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": 1705005720000 } ] }