2023-04-24 09:35:22 +02:00
|
|
|
---
|
|
|
|
sort: 6
|
|
|
|
weight: 6
|
|
|
|
title: Notifications in Managed VictoriaMetrics
|
|
|
|
menu:
|
|
|
|
docs:
|
|
|
|
parent: "managed"
|
|
|
|
weight: 6
|
2023-05-01 12:19:31 +02:00
|
|
|
aliases:
|
|
|
|
- /managed-victoriametrics/setup-notifications.html
|
2023-04-24 09:35:22 +02:00
|
|
|
---
|
|
|
|
# Notifications in Managed VictoriaMetrics
|
|
|
|
|
2023-04-24 16:52:57 +02:00
|
|
|
The guide covers how to enable email and Slack notifications.
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-04-24 16:52:57 +02:00
|
|
|
Table of content:
|
2023-04-25 11:42:20 +02:00
|
|
|
1. [Setup Slack notifications](#setup-slack-notifications)
|
2023-07-26 23:39:35 +02:00
|
|
|
1. [Setup emails notifications](#setup-emails-notifications)
|
|
|
|
1. [Send test notification](#send-test-notification)
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-04-25 11:42:20 +02:00
|
|
|
When you enter the notification section, you will be able to fill in the channels in which you
|
2023-04-24 09:35:22 +02:00
|
|
|
want to receive notifications
|
|
|
|
|
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_view.webp" width="800">
|
2023-04-24 09:35:22 +02:00
|
|
|
</p>
|
|
|
|
|
2023-04-25 11:42:20 +02:00
|
|
|
## Setup Slack notifications
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-04-25 11:42:20 +02:00
|
|
|
1. Setup Slack webhook
|
2023-10-10 13:48:22 +02:00
|
|
|
How to do this is indicated on the following link
|
|
|
|
<a href="https://api.slack.com/messaging/webhooks" target="_blank">https://api.slack.com/messaging/webhooks</a>
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-07-26 23:39:35 +02:00
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_view.webp" width="800">
|
2023-07-26 23:39:35 +02:00
|
|
|
</p>
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-07-26 23:39:35 +02:00
|
|
|
1. Specify Slack channels
|
2023-04-25 11:42:20 +02:00
|
|
|
|
2023-07-26 23:39:35 +02:00
|
|
|
Enter one or more channels into input and press enter or choose it after each input.
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-07-26 23:39:35 +02:00
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_setup_slack.webp" width="800">
|
2023-07-26 23:39:35 +02:00
|
|
|
</p>
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-07-26 23:39:35 +02:00
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_setup_slack_enter_channel.webp" width="800">
|
2023-07-26 23:39:35 +02:00
|
|
|
</p>
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-04-25 11:42:20 +02:00
|
|
|
## Setup emails notifications
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-04-25 11:42:20 +02:00
|
|
|
You can specify one or multiple emails for notifications in the input field. By default,
|
|
|
|
email notifications are enabled for the account owner
|
2023-04-24 09:35:22 +02:00
|
|
|
|
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_setup_emails.webp" width="800">
|
2023-04-24 09:35:22 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_setup_emails_input.webp" width="800">
|
2023-04-24 09:35:22 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
## Send test notification
|
|
|
|
|
2023-04-25 11:42:20 +02:00
|
|
|
To test your notification settings, press Save and Test.
|
2023-04-24 09:35:22 +02:00
|
|
|
|
2023-04-25 11:42:20 +02:00
|
|
|
If only Slack channels and webhook are specified correctly, you will receive the notification in the Slack channels.
|
2023-04-26 11:06:52 +02:00
|
|
|
If only the emails are specified, you will receive notifications to those emails.
|
2023-04-25 11:42:20 +02:00
|
|
|
When both notifications are specified, all notifications will be sent to Slack channels and emails.
|
2023-04-24 09:35:22 +02:00
|
|
|
|
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_save_and_test.webp" width="800">
|
2023-04-24 09:35:22 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
If the Save button is pressed, then entered channels will be only saved, and you get a success message.
|
|
|
|
|
|
|
|
If the Save and Test button is pressed, then all entered information will be saved,
|
|
|
|
and test notifications will be sent to the entered channels
|
|
|
|
|
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_save_success.webp" width="800">
|
2023-04-24 09:35:22 +02:00
|
|
|
</p>
|
|
|
|
|
2023-04-25 11:42:20 +02:00
|
|
|
Examples of the test notification messages:
|
2023-04-24 09:35:22 +02:00
|
|
|
|
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_slack_test.webp" width="800">
|
2023-04-24 09:35:22 +02:00
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
2023-11-20 11:28:47 +01:00
|
|
|
<img src="notifications_email_test.webp" width="800">
|
2023-04-24 09:35:22 +02:00
|
|
|
</p>
|
|
|
|
|