当前位置:网站首页>grafana9配置邮箱告警
grafana9配置邮箱告警
2022-08-10 01:01:00 【The_theme】
- 首先是修改grafana.ini文件(或者default.ini文件)
vim /etc/grafana/grafana.ini
# win版本在C:\Program Files\GrafanaLabs\grafana\conf目录下
- 修改以下内容
[smtp]
# 启用smtp
enabled = true
# qq邮箱的host
host = smtp.qq.com:465
# 邮箱地址
user = @qq.com
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
# 授权码
password =
cert_file =
key_file =
skip_verify = false
# 跟user的地址相同
from_address = @qq.com
from_name = Grafana
ehlo_identity =
startTLS_policy =
- 上文的password的可以在这里获取(设置-账户),将得到的key作为password填入步骤2的文件中
- 重启服务(win版可以重启电脑)
- name自拟名,选择email,address填入要接收的邮箱地址然后保存
- 选择通知规则
- 新建规则
- 根据自己需求新建规则,圈中为下拉输入框,如果下拉没有东西可以输入后新建
- 规则满足后即触发告警,发送邮件到我们的邮箱里
边栏推荐
- Interdepartmental Communication Skills
- Experimental support for decorators may change in future releases.Set the "experimentalDecorators" option in "tsconfig" or "jsconfig" to remove this warning
- 以太网PHY芯片LAN8720A芯片研究
- 使用 apxs 构建和安装 Apache 扩展共享对象模块
- XSS高级 svg 复现一个循环问题以及两个循环问题
- 浏览器中location详解
- Sikuli's Automated Testing Technology Based on Pattern Recognition
- [论文阅读] Diverse Image-to-Image Translation via Disentangled Representations
- Aptos 深度解读:机遇、挑战与风险
- Summary of Web Performance Testing Models
猜你喜欢
Summary of Web Performance Testing Models
分析 20 个 veToken 生态系统协议 这种代币模型为何受欢迎?
XSS详解及复现gallerycms字符长度限制短域名绕过
Sikuli 基于图形识别的自动化测试技术
数据建模已死,真的吗?
unity编辑器扩展界面使用 List
[Turn] Typora_Markdown_ picture title (caption)
Chip Information|Semiconductor revenue growth expected to slow to 7%, Bluetooth chip demand still growing steadily
开发IM即时通讯容易吗?需要什么技术
即时通讯开发如何撸一个WebSocket服务器
随机推荐
防勒索病毒现状分析
-Pickling peanuts-
Sikuli's Automated Testing Technology Based on Pattern Recognition
Shader Graph学习各种特效案例
SonarQube升级记录:7.8->7.9->8.9
PEG derivative Biotin-PEG1-OH (cas: 95611-10-2, 2-biotinaminoethanol) advantage description
【UNR #6 B】机器人表演(DP)
卷积神经网络识别验证码
Shader Graph learns various special effects cases
color socks problem
Unity image使用长图后 图片很糊
DHCP——动态主机配置协议
为什么字符串一旦创建就不可以改变?
Interdepartmental Communication Skills
hopscotch game
Interlay集成至Moonbeam,为网络带来interBTC和INTR
以太网PHY芯片LAN8720A芯片研究
[Turn] Typora_Markdown_ picture title (caption)
FILE结构体在stdio.h头文件源码里的详细代码
力扣每日一题-第51天-744. 寻找比目标字母大的最小字母