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

105 lines
2.6 KiB
Markdown
Raw Normal View History

---
sort: 6
weight: 6
title: Notifications in Managed VictoriaMetrics
menu:
docs:
parent: "managed"
weight: 6
---
# 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 14:52:57 +00:00
Table of content:
1. [Setup slack channels](#setup-slack-channels)
2. [Setup emails](#setup-emails)
3. [Send test notification](#send-test-notification)
When you entered to the notification section you will be able to fill in the channels in which you
want to receive notifications
<p>
<img src="notifications-start.png" width="800">
</p>
## Setup slack channels
To send alerts to Slack, it is required to set up a webhook. 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>
When webhook enabled correctly the next step is fill channels and webhook fields in the managed-victoriametrics.
<p>
<img src="notifications-slack-channels-webhook.png" width="800">
</p>
If you want to set slack channels just enter one or more channels into input and press enter or choose it after each input.
<p>
<img src="notifications-slack-channel.png" width="800">
</p>
<p>
<img src="notifications-slack-channels.png" width="800">
</p>
If you want to delete it simply press cross on entered element.
<p>
<img src="notifications-slack-channels-delete.png" width="800">
</p>
## Setup emails
If you want to set emails just enter one or more email into input and press enter or choose it after each input.
By default, account holder will be present in the email field.
<p>
<img src="notifications-emails.png" width="800">
</p>
<p>
<img src="notifications-emails-filled.png" width="800">
</p>
If you want to delete it simply press cross on entered element.
<p>
<img src="notifications-emails-delete.png" width="800">
</p>
## Send test notification
When all fields are filled in correctly, all entered information should be saved.
Press Save or Save and Test button.
<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>
All test notifications will be sent to the defined channels.
<p>
<img src="notifications-slack-test.png" width="800">
</p>
<p>
<img src="notifications-email-test.png" width="800">
</p>