Grafana 4.0 (Beta)의 Alerting 기능 사용하기
개요
Grafana 4.0부터 구현 된 Alerting을 사용해보십시오.
현재 (2016/11/11) Alerting 가능 DataSource는 다음과 같습니다.
- Graphite
- Prometheus
- InfluxDB
- OpenTSDB
Graphite로 시도
환경
Grafana Server
DataSource
Metrics Collector
Grafana 설치
다운로드는 여기
이미 grafana 설치된 환경이 있기 때문에
# rpm -Uvh grafana-4.0.0-1478693311beta1.x86_64.rpm
grafana 측에서 다음 설정을 활성화해 둔다(메일 통지하는 경우는 SMTP 설정도 드디어)
[alerting]
execute_alerts = true
알림 대상 설정
메뉴에서 Alerting → notifications 선택

New Notification에서 알림 설정

이메일 알림 설정

Save하여 알림 대상 설정 완료
Alerting 설정
그래프 편집 화면에 Alert Tab이 추가되었으므로

Create Alert 및 Alert 설정

임계값은 그래프 옆의 health 버튼 상하에서 설정할 수 있다
Notifications 이전에 만든 알림 대상 설정

Alert 알림
임계 값을 낮게 설정하고 잠시 후 알림 이메일을 받았습니다.

그래프에도 경고 기록이 주석으로 표시됩니다.

경고 내역
Reference
이 문제에 관하여(Grafana 4.0 (Beta)의 Alerting 기능 사용하기), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/quickguard/items/a9e0ee6f2873316b1f8f
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
# rpm -Uvh grafana-4.0.0-1478693311beta1.x86_64.rpm
메뉴에서 Alerting → notifications 선택

New Notification에서 알림 설정

이메일 알림 설정

Save하여 알림 대상 설정 완료
Alerting 설정
그래프 편집 화면에 Alert Tab이 추가되었으므로

Create Alert 및 Alert 설정

임계값은 그래프 옆의 health 버튼 상하에서 설정할 수 있다
Notifications 이전에 만든 알림 대상 설정

Alert 알림
임계 값을 낮게 설정하고 잠시 후 알림 이메일을 받았습니다.

그래프에도 경고 기록이 주석으로 표시됩니다.

경고 내역
Reference
이 문제에 관하여(Grafana 4.0 (Beta)의 Alerting 기능 사용하기), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/quickguard/items/a9e0ee6f2873316b1f8f
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
임계 값을 낮게 설정하고 잠시 후 알림 이메일을 받았습니다.

그래프에도 경고 기록이 주석으로 표시됩니다.

경고 내역

Reference
이 문제에 관하여(Grafana 4.0 (Beta)의 Alerting 기능 사용하기), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/quickguard/items/a9e0ee6f2873316b1f8f텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)