{"alarmName":"모니터링 메모리 알람","alarmType":"APPLICATION","alarmLevel":"Warning","clusterId":"demo-cluster","issueTime":"2024-06-28T04:06:09.772174295Z","sourceData":{"cluster_id":"demo-cluster","namespace":"cocktail-system","workload_type":"","workload_name":"cocktail-monitoring-monitoring-db","usage_cpu":5,"usage_mem":2620764160,"request_cpu":600,"request_mem":2252341248,"limit_cpu":1200,"limit_mem":4504682496,"pod_count":1 }}
ex) 알람 Response - event
{"alarmName":"test-event","alarmType":"EVENT","alarmLevel":"Warning","clusterId":"gpu-cluster","issueTime":"2024-06-28T05:27:42.275824326Z","sourceData":{"cluster_id":"gpu-cluster","count":169,"event_id":"9e141d00-12ab-405c-98a7-c5aa8970e72b","event_name":"metrics-server.17d8cc47a5de4526","event_type":"Normal","first_seen":"2024-06-14T06:51:05Z","last_seen":"2024-06-28T05:27:42Z","message":"artifact up-to-date with remote revision: 'sha256:46eceac836bc6e6b60fee9daf73f3a58113115be95c001af67d59fdb840866e3'","namespace":"flux-system","node":"","reason":"ArtifactUpToDate","source":"source-controller","timestamp":"2024-06-28T05:27:42.275715944Z","workload":"metrics-server","workload_type":"HelmRepository","workload_version":"source.toolkit.fluxcd.io/v1" }}
ex) 알람 Response - monitoring rule
{"alarmName":"PodCrashLooping 알람","alarmType":"RULE","alarmLevel":"Warning","clusterId":"gpu-cluster","issueTime":"2024-07-02T06:23:09.181996004Z","sourceData":{"clusterid":"gpu-cluster","alarm_id":"865ba1a10aafe273","namespace":"kheo","workload_type":"pod","workload_name":"nginx-59987955f5-glv8k","pod":"nginx-59987955f5-glv8k","container":"nginx","alarm_key":"Cocktail-Rule-0016","alarm_name":"KubePodCrashLooping","severity":"warning","description":"{\"message_en\":\"Pod kheo/nginx-59987955f5-glv8k (nginx) is in waiting state (reason: \\\\\\\"CrashLoopBackOff\\\\\\\").\",\"message_ja\":\"ポッドkheo/nginx-59987955f5-glv8k(nginx)が10分間1.00回の割合で再起動されます。\",\"message_ko\":\"파드 kheo/nginx-59987955f5-glv8k (nginx)가 대기 상태입니다.(이유: \\\\\\\"CrashLoopBackOff\\\\\\\").\"}","status":"firing","startsat":"2024-07-02T06:22:33.609Z","endsat":"2024-07-02T06:26:33.609Z","process_status":0,"error_detail":"","sends_at":"0001-01-01T00:00:00Z","acked_at":"0001-01-01T00:00:00Z","ack_chunk":"","timestamp":"2024-07-02T06:23:00Z","runbook_url":"https://runbooks.prometheus-operator.dev/runbooks/kubernetes/kubepodcrashlooping" }}
3. Google Chat
Webhook URL : 웹훅 URL
ex) 알람 Response
4. Slack
Webhook URL : 웹훅 URL
Slack 등록 명 : 수신받을 slack 채널명
ex) 알람 Response
2. 테스트
생성할 수신 채널의 상태를 확인하기 위해 올바른 정보를 입력하고 '테스트' 버튼을 클릭하여 확인합니다.
3. 알림 해제
등록되어 있는 알람에서 수신채널을 삭제하여 해당 수신 채널에 알람을 수신하지 않는 기능입니다.