当前位置:网站首页>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填入要接收的邮箱地址然后保存
- 选择通知规则
- 新建规则
- 根据自己需求新建规则,圈中为下拉输入框,如果下拉没有东西可以输入后新建
- 规则满足后即触发告警,发送邮件到我们的邮箱里
边栏推荐
- 删除表空间数据文件
- 信息化和数字化的核心差异
- [Turn] Typora_Markdown_ picture title (caption)
- Solve the problem of sed replacement text containing special characters such as "/" and "#"
- 破产企业的职工退休怎么办?
- 数据建模已死,真的吗?
- Unity image is blurry after using long image
- volatile 关键字(修饰符 volatile 告诉编译器,变量的值可能以程序未明确指定的方式被改变)
- 力扣每日一题-第51天-744. 寻找比目标字母大的最小字母
- 基于FTP协议实现文件上传与下载
猜你喜欢
鲜花线上销售管理系统的设计与实现
[Turn] Typora_Markdown_ picture title (caption)
MySQL最大连接数限制如何修改
基于Web的疫情隔离区订餐系统
C# 四舍五入 MidpointRounding.AwayFromZero
ABAP 里文件操作涉及到中文字符集的问题和解决方案
C language pointer practice questions
unity 报错 Unsafe code may only appear if compiling with /unsafe. Enable “Allow ‘unsafe‘ code“ in Pla
Web性能测试模型小结
以太网PHY芯片LAN8720A芯片研究
随机推荐
【LeetCode】求根节点到叶节点数字之和
商业模式及其 SubDAO 深入研究
嵌入式Qt-实现两个窗口的切换
[Turn] Typora_Markdown_ picture title (caption)
DP 优化方法合集
Unity editor extension interface uses List
OOD论文:Revisit Overconfidence for OOD Detection
鲜花线上销售管理系统的设计与实现
3511. 倒水问题
Moonbeam网络维护模式(Maintenance Mode)解读
Pagoda measurement - building LightPicture open source map bed system
The shell specifies the parameter name to pass the parameter
Premint工具,作为普通人我们需要了解哪些内容?
shell指定参数名传参
信息化和数字化的核心差异
volatile 关键字(修饰符 volatile 告诉编译器,变量的值可能以程序未明确指定的方式被改变)
Research on Ethernet PHY Chip LAN8720A Chip
【kali-密码攻击】(5.1.2)密码在线破解:Medusa
Experimental support for decorators may change in future releases.Set the "experimentalDecorators" option in "tsconfig" or "jsconfig" to remove this warning
跳房子游戏