[ Datadog ] Datadog를 활용한 AIOps #1 - Watchdog 주요 기능에서 확인한 기능을 기반으로
알람을 설정하는 방법을 안내 드립니다.
목록
Watchdog Monitor 설정하기
1. Watchdog Monitor 생성
Watchdog Monitor는 아래와 같은 경로에서 추가할 수 있습니다.
- Watchdog 페이지 Watchdog 경고 목록 상단에 New Monitor 버튼을 클릭해 추가할 수 있습니다.
- Monitors > New Monitor 페이지에서 Watchdog 를 선택해 추가할 수 있습니다.
2. Watchdog Monitor 설정
- Alert Conditions
수집되는 데이터 중 Watchdog이 지원되는 모든 이상 현상에 대해 Monitor를 받고자 하시는 경우,
선택 사항을 선택하지 않으면 모두 All 로 인식됩니다.
특정 제품군, 특정 항목, 특정 Tag를 기준으로 모니터링하고자 하시는 경우, 아래 이미지를 참고하여
선택사항들을 선택해 설정하시기 바랍니다. - Configure Notifications & automations
- Monitor 알람이 발생시 전송할 Message에 대한 설정을 합니다.- Message 제목 및 내용 Sample
[ 경고 ] Watchdog Alert이 발생했습니다. - {{event.title}} {{#is_alert}}
발생시간(KST): {{local_time 'last_triggered_at' 'Asia/Seoul'}}
## [ 경고 ] Watchdog Alert이 발생했습니다.
이벤트 제목 : {{event.title}}
이벤트 내용 : {{event.text}}
이벤트 태그 : {{event.tags}}
{{/is_alert}}
{{#is_alert_recovery}}
발생시간(KST): {{local_time 'last_triggered_at' 'Asia/Seoul'}}
## [해제] Watchdog Alert이 해제 되었습니다.
이벤트 제목 : {{event.title}}
{{/is_alert_recovery}} - Define permissions and audit notifications
설정한 monitor에 대한 permission 및 monitor 설정 변경시 notify 여부를 설정합니다.