docs/managed-victoriametrics: add notifications setup

This commit is contained in:
dmitryk-dk 2023-04-24 10:35:22 +03:00 committed by Aliaksandr Valialkin
parent 402d906d40
commit dbee230911
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1
15 changed files with 105 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Guides:
* [Quick Start](/managed-victoriametrics/quickstart.html)
* [Kubernetes Monitoring with Managed VictoriaMetrics](/managed-victoriametrics/how-to-monitor-k8s.html)
* [Understand Your Setup Size](/guides/understand-your-setup-size.html)
* [Setup Notifications](/managed-victoriametrics/setup-notifications.html)
See more about Managed VictoriaMetrics in the following articles:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 253 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@ -0,0 +1,104 @@
---
sort: 6
weight: 6
title: Notifications in Managed VictoriaMetrics
menu:
docs:
parent: "managed"
weight: 6
---
# Notifications in Managed VictoriaMetrics
This section add ability to setup channels for sending alerting notifications.
The document covers the following topics
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>