Get the App
SLTechnology News&Howtos  ›  Database  › 

MySQL-MongoDB open source monitoring weapon PMM adds slack newspaper

Shulou Source: shulou.com Published: 2022-06-01 14:17:46 11月04日 Update

Here is how to increase the alarm function, saying that monitoring without alarm function is not good monitoring!

The main types of PMM monitoring are, in fact, Grafana.

email #is most commonly used, but the disadvantage is that the SMTP server that relies on the service provider often has delays and is regarded as spam.

Official configuration tutorial:

https://www.percona.com/blog/2017/01/23/mysql-and-mongodb-alerting-with-pmm-and-grafana/? utm_source=tuicool&utm_medium=referral

Webhook #is not considered, in fact, these are the same way as slack

Slack #This article focuses on

pagerduty #not considered

victorops #not considered

opsgenie #not considered

The following links detail the configuration of several alarm modes:

https://segmentfault.com/a/1190000008226841

First of all, you need to register an account on slack. The website is foreign. The connectivity is not very good. It is best to be able to ×××. Then configure slackbot. In fact, it is a robot: )

Official website: slack.com/

Log in to the management console and configure the alarm mode, here use slack

Slack is selected here, url is the incoming webhook generated, see the end for the generation method.

Trigger Alarm Action: Note: For how to configure alarm thresholds for each monitored item refer to here: www.tuicool.com/articles/UBrMzmA

Alarm list information:

Slack webhook generation method:

Find ConfigureApps in your team's configuration

Add webhooks configuration

Post the message to a specific channel I'm @slackbot here

Copy and paste this URL to the corresponding location in the pmm alert configuration:

Tags: Configuration alarm monitoring mode generation function official that is method website service location information action spam official website regular meeting commonly used console tutorial Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple NVidia Shulou Tech Info macOS Microsoft