1. 종 모양 클릭
2. Alerting에서 Contact points 탭을 선택한 뒤 New contact point 선택
3. 설정 세팅
Name
Contact point type => telegram
BOT API Token
CHAT ID 입력
저장 전 Test를 통해 telegram에 정상적으로 메시지 전송이 되는지 확인이 가능하다
위 이미지에서 Test를 누르면 아래 화면이 뜨는데 "Send test notification"을 누르면 메시지가 아래 형식처럼 날아온다.
**Firing**
Value: [no value]
Labels:
- alertname = TestAlert
- instance = Grafana
Annotations:
- summary = Notification test
Silence: http://localhost:3000/alerting/silence/new?alertmanager=grafana&matcher=alertname%3DTestAlert&matcher=instance%3DGrafana
'모니터링(Grafana, Prometheus) > Grafana' 카테고리의 다른 글
Grafana Alert 템플릿 커스텀 및 사용하기 (0) | 2023.05.10 |
---|---|
Grafana Alert 설정하기-2(Alert 조건 설정) (0) | 2023.05.09 |
Grafana log level, log 보관 기간 수정 (0) | 2023.05.07 |
Grafana , Prometheus 연동 (0) | 2023.05.05 |
Grafana 설치 (0) | 2023.05.02 |