Files
brendamuir 26a01c42a6 Alerting docs: adds settings feature (#88294)
* Alerting docs: adds settings feature

* ran prettier
2024-05-24 15:01:15 +02:00

2.7 KiB

aliases canonical description keywords labels title weight
../configure-alertmanager/
https://grafana.com/docs/grafana/latest/alerting/set-up/configure-alertmanager/ Configure an Alertmanager to receive all of your alerts
grafana
alerting
set up
configure
external Alertmanager
products
enterprise
oss
Add an external Alertmanager 200

Add an external Alertmanager

Set up Grafana to use an external Alertmanager as a single Alertmanager to receive all of your alerts. This external Alertmanager can then be configured and administered from within Grafana itself.

{{% admonition type="note" %}} Grafana Alerting does not support sending alerts to the AWS Managed Service for Prometheus due to the lack of sigv4 support in Prometheus. {{% /admonition %}}

After you have added the Alertmanager, you can use the Grafana Alerting UI to manage silences, contact points, and notification policies. A drop-down option in these pages allows you to switch between alertmanagers.

External alertmanagers should now be configured as data sources using Grafana Configuration from the main Grafana navigation menu. This enables you to manage the contact points and notification policies of external alertmanagers from within Grafana and also encrypts HTTP basic authentication credentials.

To add an external Alertmanager, complete the following steps.

  1. Click Connections in the left-side menu.

  2. On the Connections page, search for Alertmanager.

  3. Click the Create a new data source button.

    If you don't see this button, you may need to install the plugin, relaunch your Cloud instance, and then repeat steps 1 and 2.

  4. Fill out the fields on the page, as required.

    If you are provisioning your data source, set the flag handleGrafanaManagedAlerts in the jsonData field to true to send Grafana-managed alerts to this Alertmanager.

    Note: Prometheus, Grafana Mimir, and Cortex implementations of Alertmanager are supported. For Prometheus, contact points and notification policies are read-only in the Grafana Alerting UI.

  5. Click Save & test.

{{< admonition type="note" >}} On the Settings page, you can manage your Alertmanager configurations and configure where Grafana-managed alert instances are forwarded.

  • Manage which Alertmanagers receive alert instances from Grafana-managed rules without navigating and editing data sources.
  • Manage version snapshots for the built-in Alertmanager, which allows administrators to roll back unintentional changes or mistakes in the Alertmanager configuration.
  • Compare the historical snapshot with the latest configuration to see which changes were made. {{< /admonition >}}