Add export for people running their own registry (#14457)
See https://github.com/netdata/netdata/issues/3495#issuecomment-1408452259
Chris Akritidis committed
Feb 8, 2023 at 04:59 UTC
255a821dac29b7ccfb205b84e5c699ae9b103012
1 file changed
+2
health/notifications/README.md
+2
@@ -78,6 +78,8 @@ export NETDATA_ALARM_NOTIFY_DEBUG=1
78
/usr/libexec/netdata/plugins.d/alarm-notify.sh test "ROLE"
79
```
80
81
+If you are [running your own registry](https://github.com/netdata/netdata/blob/master/registry/README.md#run-your-own-registry), add `export NETDATA_REGISTRY_URL=[YOUR_URL]` before calling `alarm-notify.sh`.
82
+
83
Note that in versions before 1.16, the plugins.d directory may be installed in a different location in certain OSs (e.g. under `/usr/lib/netdata`). You can always find the location of the alarm-notify.sh script in `netdata.conf`.
84
85
If you need to dig even deeper, you can trace the execution with `bash -x`. Note that in test mode, alarm-notify.sh calls itself with many more arguments. So first do