400-800-0824
info@ymatrix.cn
400-800-0824
info@ymatrix.cn
400-800-0824
info@ymatrix.cn
400-800-0824
info@ymatrix.cn
400-800-0824
info@ymatrix.cn
YMatrix 文档
关于 YMatrix
标准集群部署
数据写入
数据迁移
数据查询
运维监控
参考指南
工具指南
数据类型
存储引擎
执行引擎
系统配置参数
SQL 参考
常见问题(FAQ)
本文档介绍监控 YMatrix 集群时的常见问题、原因及解决方法。
可以的,点击下载 Grafana 仓库依赖包,创建本地仓库后再安装即可。
# ls
create_repo.sh grafana-7.3.6-1.x86_64.rpm grafana_repo
# sh create_repo.sh
Create ymatrix-grafana repo successfully!
# yum install --disablerepo=* --enablerepo=ymatrix_grafana grafana-7.3.6-1.x86_64.rpm
Annotation Query Failed No message available
解决方案
找到 Grafana 的 Settings --> Annotations --> Annotations & Alerts 把 Enabled 去掉
smtp; 554 Reject by behaviour spam at Rcpt State(Connection IP address:***) ANTISPAM_BAT[01201311R106a,ay29a033002195086]: spfcheck failedCONTINUE
问题分析
该问题是没有正确的配置 SMTP
的 host
解决方案
如果使用的企业邮箱,host
需要需要配置企业域名,例如以下配置:
#################################### SMTP / Emailing ##########################
[smtp]
enabled = true
host = smtp.ymatrix.cn:25
user = YMatrix@ymatrix.cn
# 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 = YMatrix@ymatrix.cn
from_name = MatrixDBGrafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com
# SMTP startTLS policy (defaults to 'OpportunisticStartTLS')
;startTLS_policy = NoStartTLS
[emails]
welcome_email_on_sign_up = false
templates_pattern = emails/*.html
MXUI
邮箱配置报错报错信息
错误一:
send email error. test auth error: create smtp client error: establish TLS connection error: tis: first record does not look like a TLS handshake
错误二:
send email error: test auth error: account name or password error
问题分析
SMTP
服务器。解决方案
SMTP
服务器是否联通请按照以下方法检查。安装 telnet。
$ sudo yum install telnetd -y
进行测试。
telnet smtp.qiye.aliyun.com 465
MXUI
正确配置示例如下:-- SMTP 服务器地址
smtp.qiye.aliyun.com:465
-- 用户名
xxx@ymatrix.cn
-- 密码(用户邮箱的密码)
xxxxx
-- 发件人
xxxx@ymatrix.cn
-- 收件人
xx@ymatrix.cn,xxx@ymatrix.cn