2023-04-24 07:35:22 +00:00
|
|
|
---
|
|
|
|
sort: 6
|
|
|
|
weight: 6
|
|
|
|
title: Notifications in Managed VictoriaMetrics
|
|
|
|
menu:
|
|
|
|
docs:
|
|
|
|
parent: "managed"
|
|
|
|
weight: 6
|
2023-05-01 10:19:31 +00:00
|
|
|
aliases:
|
|
|
|
- /managed-victoriametrics/setup-notifications.html
|
2023-04-24 07:35:22 +00:00
|
|
|
---
|
|
|
|
# Notifications in Managed VictoriaMetrics
|
|
|
|
|
2023-04-24 14:52:57 +00:00
|
|
|
The guide covers how to enable email and Slack notifications.
|
2023-04-24 07:35:22 +00:00
|
|
|
|
2023-04-24 14:52:57 +00:00
|
|
|
Table of content:
|
2023-04-25 09:42:20 +00:00
|
|
|
1. [Setup Slack notifications](#setup-slack-notifications)
|
|
|
|
2. [Setup emails notifications](#setup-emails-notifications)
|
2023-04-24 07:35:22 +00:00
|
|
|
3. [Send test notification](#send-test-notification)
|
|
|
|
|
2023-04-25 09:42:20 +00:00
|
|
|
When you enter the notification section, you will be able to fill in the channels in which you
|
2023-04-24 07:35:22 +00:00
|
|
|
want to receive notifications
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-start.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
2023-04-25 09:42:20 +00:00
|
|
|
## Setup Slack notifications
|
2023-04-24 07:35:22 +00:00
|
|
|
|
2023-04-25 09:42:20 +00:00
|
|
|
1. Setup Slack webhook
|
|
|
|
How to do this is indicated on the following link https://api.slack.com/messaging/webhooks
|
2023-04-24 07:35:22 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-slack-channels-webhook.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
2023-04-25 09:42:20 +00:00
|
|
|
2. Specify Slack channels
|
|
|
|
|
|
|
|
Enter one or more channels into input and press enter or choose it after each input.
|
2023-04-24 07:35:22 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-slack-channel.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-slack-channels.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
2023-04-25 09:42:20 +00:00
|
|
|
## Setup emails notifications
|
2023-04-24 07:35:22 +00:00
|
|
|
|
2023-04-25 09:42:20 +00: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 07:35:22 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-emails.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-emails-filled.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
## Send test notification
|
|
|
|
|
2023-04-25 09:42:20 +00:00
|
|
|
To test your notification settings, press Save and Test.
|
2023-04-24 07:35:22 +00:00
|
|
|
|
2023-04-25 09:42:20 +00:00
|
|
|
If only Slack channels and webhook are specified correctly, you will receive the notification in the Slack channels.
|
2023-04-26 09:06:52 +00:00
|
|
|
If only the emails are specified, you will receive notifications to those emails.
|
2023-04-25 09:42:20 +00:00
|
|
|
When both notifications are specified, all notifications will be sent to Slack channels and emails.
|
2023-04-24 07:35:22 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-buttons.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
If the Save button is pressed, then entered channels will be only saved, and you get a success message.
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-saved-successfully.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
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>
|
|
|
|
<img src="notifications-save-and-test.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
2023-04-25 09:42:20 +00:00
|
|
|
Examples of the test notification messages:
|
2023-04-24 07:35:22 +00:00
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-slack-test.png" width="800">
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<img src="notifications-email-test.png" width="800">
|
|
|
|
</p>
|
|
|
|
|