当前位置:网站首页>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填入要接收的邮箱地址然后保存
- 选择通知规则
- 新建规则
- 根据自己需求新建规则,圈中为下拉输入框,如果下拉没有东西可以输入后新建
- 规则满足后即触发告警,发送邮件到我们的邮箱里
边栏推荐
- XSS高级 svg 复现一个循环问题以及两个循环问题
- OOD论文:Revisit Overconfidence for OOD Detection
- assert利用蚁剑登录
- 基于FTP协议实现文件上传与下载
- HCIP——综合交换实验
- In the 2022 gold, nine, silver and ten work tide, how can I successfully change jobs and get a high salary?
- 【报错】ModuleNotFoundError: No module named ‘scp‘
- Are the numbers entered symmetrical?
- Unity vertex animation
- odoo公用变量或数组的使用
猜你喜欢
Shader Graph learns various special effects cases
将string类对象中的内容格式化到字符串Buffer中时遇到的异常崩溃分析
嵌入式Qt-实现两个窗口的切换
卷积神经网络识别验证码
Initial attempt at UI traversal
PEG derivative Biotin-PEG1-OH (cas: 95611-10-2, 2-biotinaminoethanol) advantage description
Teach you how to write performance test cases
Web性能测试模型小结
Not, even the volume of the king to write code in the company are copying and pasting it reasonable?
【论文笔记】基于深度学习的机器人抓取虚拟仿真实验教学系统
随机推荐
罗彻斯特大学 | 现在是什么序列?蛋白质序列的贝叶斯优化的预训练集成
对修饰器的实验支持功能在将来的版本中可能更改。在 “tsconfig“ 或 “jsconfig“ 中设置 “experimentalDecorators“ 选项以删除此警告
Minimum number of steps to get out of the maze 2
SonarQube升级记录:7.8->7.9->8.9
[Turn] Typora_Markdown_ picture title (caption)
使用 apxs 构建和安装 Apache 扩展共享对象模块
[论文阅读] Diverse Image-to-Image Translation via Disentangled Representations
ASEMI整流桥GBJ1010参数,GBJ1010规格,GBJ1010封装
Solidity最强对手:MOVE语言及新公链崛起
Initial attempt at UI traversal
Not, even the volume of the king to write code in the company are copying and pasting it reasonable?
Pyscript,创建一个能执行crud操作的网页应用
GBJ1510-ASEMI机器人电源整流桥GBJ1510
Fedora 36 dnf 安装ModSecurity和 OWASP 核心规则集
开发IM即时通讯容易吗?需要什么技术
改变社交与工作状态的即时通讯是什么呢?
惊掉你下巴,程序员编码竟然可以被 996 指数化
Unity reports Unsafe code may only appear if compiling with /unsafe. Enable “Allow ‘unsafe’ code” in Pla
【CAS:41994-02-9 |Biotinyl tyramide】Biotinyl tyramide price
头脑风暴:单词拆分