You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/source/configuration/monitoring.rst
+14-2
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,8 @@ on the overcloud hosts:
81
81
SMART reporting should now be enabled along with a Prometheus alert for
82
82
unhealthy disks and a Grafana dashboard called ``Hardware Overview``.
83
83
84
-
Alertmanagerand Slack
85
-
======================
84
+
Alertmanager, Slack and Microsoft Teams
85
+
=======================================
86
86
87
87
StackHPC Kayobe configuration comes bundled with an array of alerts but does not
88
88
enable any receivers for notifications by default. Various receivers can be
@@ -119,6 +119,18 @@ available `here <https://awesome-prometheus-alerts.grep.to/>`__. They simply
119
119
need to be added to one of the ``*.rules`` files in the prometheus configuration
120
120
directory.
121
121
122
+
If however you are using Microsoft Teams instead of Slack, you can use Prometheus
123
+
Alertmanager's built-in support for the new message format based on Power Automate flows.
124
+
You will need an incoming webhook URL for your Teams channel.
125
+
This can be done by following `these instructions <https://support.microsoft.com/en-gb/office/create-incoming-webhooks-with-workflows-for-microsoft-teams-8ae491c7-0394-4861-ba59-055e33f75498>`__.
126
+
To set up a receiver, create a ``prometheus-alertmanager.yml`` file under
127
+
``etc/kayobe/kolla/config/prometheus/``.
128
+
An example config is stored in this directory known as ``prometheus-alertmanager.msteamvs2.yml.example``.
129
+
The example configuration uses two Slack channels.
130
+
One channel receives all alerts while the other only receives alerts tagged as critical.
131
+
Feel free to modify the example configuration to suit your needs.
0 commit comments