Mysql-mongodb Open Source Monitoring tool PMM add slack alarm function

Source: Internet
Author: User
Tags grafana webhook slack webhook slackbot

Here is how to add the alarm function. If the monitoring without alarm function is not a good monitoring!



There are mainly monitoring types of pmm, in fact, it should be said that Grafana

email #The most commonly used, but the disadvantage is that it depends on the service provider's SMTP server, there is often a delay, and it 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 # don't think about it, in fact, it's the same way as slack

slack #This article focuses on

pagerduty #not considered

victorops #not considered

opsgenie #not considered

The following link details the configuration of several alarm methods:

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 over the wall, and then configure slackbot is actually a robot :)

Official website: https://slack.com/





Log in to the management console and configure the alarm method. Use slack here


Choose slack here, url is the incoming-webhook generated, see the end for the generation method



Trigger the alarm action: Note: For how to configure the alarm threshold for each monitoring item, refer here: http://www.tuicool.com/articles/UBrMzmA




Alarm list information:




Slack webhook generation method:

Find ConfigureApps in the configuration of your team


Add webhooks configuration


Post a message to a specific channel here is @slackbot

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








This article is from the "Shadow Knight" blog, please be sure to keep this source http://andylhz2009.blog.51cto.com/728703/1905267

MySQL-MongoDB open source monitoring tool PMM adds slack alarm function


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.