summaryrefslogtreecommitdiffstats
path: root/health
diff options
context:
space:
mode:
authorChris Akritidis <43294513+cakrit@users.noreply.github.com>2018-11-28 21:53:42 +0100
committerGitHub <noreply@github.com>2018-11-28 21:53:42 +0100
commit7edbb7dee17b25b0fd7f176a9ae79bdd2d12fa3e (patch)
treee3713a4b30a720d9cd82ce64ef23063103e1194c /health
parent55edd9701eda1525921e312963a930a975310a24 (diff)
Added a few more debugging instructions for notifications (#4774)
Fixes #4319
Diffstat (limited to 'health')
-rw-r--r--health/notifications/README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/health/notifications/README.md b/health/notifications/README.md
index c06638adee..780e827f6c 100644
--- a/health/notifications/README.md
+++ b/health/notifications/README.md
@@ -58,3 +58,8 @@ export NETDATA_ALARM_NOTIFY_DEBUG=1
# send test alarms to any role
/usr/libexec/netdata/plugins.d/alarm-notify.sh test "ROLE"
```
+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
+ ```sh
+ bash -x /usr/libexec/netdata/plugins.d/alarm-notify.sh test
+ ```
+ Then look in the output for the alarm-notify.sh calls and run the one you want to trace with `bash -x`. \ No newline at end of file