Add note regarding libexecdir (#6301)
Chris Akritidis committed
Jun 18, 2019 at 09:32 UTC
83d6968b19101accc4f424aa8a2a49487a8d8b25
3 files changed
+6
-1
daemon/config/README.md
+1
-1
@@ -105,7 +105,7 @@ setting | default | info
105
:------:|:-------:|:----
106
enabled | `yes` | Set to `no` to disable all alarms and notifications
107
in memory max health log entries | 1000 | Size of the alarm history held in RAM
108
-script to execute on alarm | `/usr/libexec/netdata/plugins.d/alarm-notify.sh` | The script that sends alarm notifications.
108
+script to execute on alarm | `/usr/libexec/netdata/plugins.d/alarm-notify.sh` | The script that sends alarm notifications. 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`).
109
stock health configuration directory | `/usr/lib/netdata/conf.d/health.d` | Contains the stock alarm configuration files for each collector
110
health configuration directory | `/etc/netdata/health.d` | The directory containing the user alarm configuration files, to override the stock configurations
111
run at least every seconds | `10` | Controls how often all alarm conditions should be evaluated.
health/notifications/README.md
+3
@@ -58,6 +58,9 @@ export NETDATA_ALARM_NOTIFY_DEBUG=1
58
# send test alarms to any role
59
/usr/libexec/netdata/plugins.d/alarm-notify.sh test "ROLE"
60
```
61
+
62
+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`.
63
+
64
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
65
```sh
66
bash -x /usr/libexec/netdata/plugins.d/alarm-notify.sh test
health/notifications/email/README.md
+2
@@ -30,4 +30,6 @@ sudo su -s /bin/bash netdata
30
31
Where `[ROLE]` is the role you want to test. The default (if you don't give a `[ROLE]`) is `sysadmin`.
32
33
+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`.
34
+
35
[]()