본문 바로가기

Grafana

grafana-mail 연동

SMTP / Emailing 찾아서 수정

vi /etc/grafana/grafana.ini

#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = 10.100.100.72:25
;user = aaaa
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
;password =
;cert_file =
;key_file =
skip_verify = true
from_address = bc_admin@grafana.localhost
from_name = BC_HANA_monitor
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com
# SMTP startTLS policy (defaults to 'OpportunisticStartTLS')
;startTLS_policy = NoStartTLS
# Enable trace propagation in e-mail headers, using the 'traceparent', 'tracestate' and (optionally) 'baggage' fields (defaults to false)
;enable_tracing = false

[smtp.static_headers]
# Include custom static headers in all outgoing emails
;Foo-Header = bar
;Foo = bar

[emails]
;welcome_email_on_sign_up = false
;templates_pattern = emails/*.html, emails/*.txt
;content_types = text/html

재시작

systemctl restart grafana-server.service
systemctl status grafana-server.service

contact point 설정

'Grafana' 카테고리의 다른 글

grafana-mail,slack template  (0) 2024.10.28
grafana 설치  (0) 2024.10.28