diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-09-03 10:23:38 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-09-03 10:23:38 +0000 |
commit | 574098461cd45be12a497afbdac6f93c58978387 (patch) | |
tree | 9eb60a5930b7c20d42f7fde1e234cae3968ed3d9 /health/notifications/alerta | |
parent | Adding upstream version 1.16.1. (diff) | |
download | netdata-574098461cd45be12a497afbdac6f93c58978387.tar.xz netdata-574098461cd45be12a497afbdac6f93c58978387.zip |
Adding upstream version 1.17.0.upstream/1.17.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'health/notifications/alerta')
-rw-r--r-- | health/notifications/alerta/README.md | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/health/notifications/alerta/README.md b/health/notifications/alerta/README.md index 2826fe77..a34d2b79 100644 --- a/health/notifications/alerta/README.md +++ b/health/notifications/alerta/README.md @@ -26,7 +26,9 @@ configurations are out os scope of this tutorial but information about different deployment scenaries can be found in the [docs][3]. [1]: https://hub.docker.com/r/alerta/alerta-web/ + [2]: http://alerta.readthedocs.io/en/latest/gettingstarted/tutorial-1-deploy-alerta.html + [3]: http://docs.alerta.io/en/latest/deployment.html ## Send alarms to Alerta @@ -42,7 +44,9 @@ Step 2. configure Netdata to send alarms to Alerta On your system run: - $ /etc/netdata/edit-config health_alarm_notify.conf +```sh +/etc/netdata/edit-config health_alarm_notify.conf +``` and modify the file as below: @@ -70,13 +74,15 @@ DEFAULT_RECIPIENT_ALERTA="Production" We can test alarms using the standard approach: - $ /opt/netdata/netdata-plugins/plugins.d/alarm-notify.sh test +```sh +/opt/netdata/netdata-plugins/plugins.d/alarm-notify.sh test +``` Note: Netdata will send 3 alarms, and because last alarm is "CLEAR" you will not see them in main Alerta page, you need to select to see "closed" alarma in top-right lookup. A little change in `alarm-notify.sh` that let us test each state one by one will be useful. -For more information see [https://docs.alerta.io](https://docs.alerta.io) +For more information see <https://docs.alerta.io> -[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fhealth%2Fnotifications%2Falerta%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)]() +[![analytics](https://www.google-analytics.com/collect?v=1&aip=1&t=pageview&_s=1&ds=github&dr=https%3A%2F%2Fgithub.com%2Fnetdata%2Fnetdata&dl=https%3A%2F%2Fmy-netdata.io%2Fgithub%2Fhealth%2Fnotifications%2Falerta%2FREADME&_u=MAC~&cid=5792dfd7-8dc4-476b-af31-da2fdb9f93d2&tid=UA-64295674-3)](<>) |