VictoriaMetrics/docs/managed-victoriametrics/setup-notifications.md

97 lines
2.5 KiB
Markdown

---
sort: 6
weight: 6
title: Notifications in Managed VictoriaMetrics
menu:
docs:
parent: "managed"
weight: 6
aliases:
- /managed-victoriametrics/setup-notifications.html
---
# Notifications in Managed VictoriaMetrics
The guide covers how to enable email and Slack notifications.
Table of content:
1. [Setup Slack notifications](#setup-slack-notifications)
1. [Setup emails notifications](#setup-emails-notifications)
1. [Send test notification](#send-test-notification)
When you enter the notification section, you will be able to fill in the channels in which you
want to receive notifications
<p>
<img src="setup-notifications-start.png" width="800">
</p>
## Setup Slack notifications
1. Setup Slack webhook
How to do this is indicated on the following link https://api.slack.com/messaging/webhooks
<p>
<img src="setup-notifications-slack-channels-webhook.png" width="800">
</p>
1. Specify Slack channels
Enter one or more channels into input and press enter or choose it after each input.
<p>
<img src="setup-notifications-slack-channel.png" width="800">
</p>
<p>
<img src="setup-notifications-slack-channels.png" width="800">
</p>
## Setup emails notifications
You can specify one or multiple emails for notifications in the input field. By default,
email notifications are enabled for the account owner
<p>
<img src="setup-notifications-emails.png" width="800">
</p>
<p>
<img src="setup-notifications-emails-filled.png" width="800">
</p>
## Send test notification
To test your notification settings, press Save and Test.
If only Slack channels and webhook are specified correctly, you will receive the notification in the Slack channels.
If only the emails are specified, you will receive notifications to those emails.
When both notifications are specified, all notifications will be sent to Slack channels and emails.
<p>
<img src="setup-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="setup-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="setup-notifications-save-and-test.png" width="800">
</p>
Examples of the test notification messages:
<p>
<img src="setup-notifications-slack-test.png" width="800">
</p>
<p>
<img src="setup-notifications-email-test.png" width="800">
</p>