MatrixDB Monitoring Alarm FAQ

This document describes common problems, causes, and solutions to monitor MatrixDB clusters.

1 Can Grafana monitoring be installed offline?


Yes, [click to download the Grafana repository dependency package] (https://matrixdb-public.oss-cn-beijing.aliyuncs.com/package/grafana_repo.zip), and then install it after creating the local repository.

# 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

2 Grafana Annotation Query Failed No message available


Solution

Find Grafana's Settings --> Annotations --> Annotations & Alerts Remove Enabled

3 Grafana sends an error smtp; 554 Reject by behaviour spam at Rcpt State(Connection IP address:***) ANTISPAM_BAT[01201311R106a,ay29a033002195086]: spfcheck failedCONTINUE


Problem Analysis

The problem is that host is not configured correctly in SMTP

Solution

If you are using a corporate mailbox, host needs to configure the enterprise domain name, for example, the following configuration:

##################################################### SMTP / Emailing #######################################################################
[smtp]
enabled = true
host = smtp.ymatrix.cn:25
user = [email protected]
# 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 = [email protected]
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