Change write_notification.sh script path to absolute.
Set default user for exec plugin to collectd_exec.
Update user guide.
Change-Id: I57fba31d42e0a267d0ea05750fcb4eef49f6e79e
Signed-off-by: Przemyslaw Szczerbik <przemyslawx.szczerbik@intel.com>
Sample configuration files can be found in '/opt/collectd/etc/collectd.conf.d'
+**Note**: Exec plugin requires non-root user to execute scripts. By default,
+`collectd_exec` user is used. Barometer scripts do *not* create this user. It
+needs to be manually added or exec plugin configuration has to be changed to use
+other, existing user before starting collectd service.
+
Please note if you are using any Open vSwitch plugins you need to run:
.. code:: bash
LoadPlugin exec
<Plugin exec>
# Exec "user:group" "/path/to/exec"
- NotificationExec "" "write_notification.sh"
+ NotificationExec "collectd_exec" "/opt/collectd/etc/collectd.conf.d/write_notification.sh"
</Plugin>