Skip to content
Snippets Groups Projects
Commit 2f779b67 authored by Jan David Mol's avatar Jan David Mol
Browse files

L2SS-685: Document how to forward alerts from Grafana to Alerta

parent 862eaaa8
No related branches found
No related tags found
1 merge request!277L2SS-685: Add alerta
{
"template_files": {},
"alertmanager_config": {
"route": {
"receiver": "Alerta"
},
"templates": null,
"receivers": [
{
"name": "Alerta",
"grafana_managed_receiver_configs": [
{
"uid": "ROaAvQEnz",
"name": "Alerta",
"type": "webhook",
"disableResolveMessage": false,
"settings": {
"url": "http://alerta-web:8080/api/webhooks/prometheus?api-key=demo-key"
},
"secureFields": {}
}
]
}
]
}
}
...@@ -72,3 +72,19 @@ The ELK stack requires some kernel settings to be tuned, before it will start. A ...@@ -72,3 +72,19 @@ The ELK stack requires some kernel settings to be tuned, before it will start. A
make restart elk make restart elk
after reboot, or configure your system to set ``sysctl -w vm.max_map_count=262144`` (or higher) as root during boot. after reboot, or configure your system to set ``sysctl -w vm.max_map_count=262144`` (or higher) as root during boot.
Configuration
---------------------------
These sections are optional, to configure specific functionality you may or may not want to use.
Alerta
````````
If you want Grafana alerts to appear in Alerta, you need to manually configure Grafana to forward them. Import the alert settings manually:
- Go to Grafana (http://localhost:3000) and sign in with an administration account (default: admin/admin),
- Go to ``Alerting`` and select ``Admin`` in the left menu bar,
- Copy/paste the following information, and press ``Save``:
.. literalinclude:: ../../../docker-compose/grafana/alerting.json
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment