added requirements for exim. Issue #8087 (#8096)
* added requirements for exim. Issue #8087
petarkozic committed
Mar 2, 2020 at 08:23 UTC
118bdb64f7f158d87776cf5c4adb4cd931b2c456
1 file changed
+19
collectors/python.d.plugin/exim/README.md
+19
@@ -3,6 +3,25 @@
3
Simple module executing `exim -bpc` to grab exim queue.
4
This command can take a lot of time to finish its execution thus it is not recommended to run it every second.
5
6
+## Requirements
7
+
8
+The module uses the `exim` binary, which can only be executed as root by default. We need to allow other users to `exim` binary. We solve that adding `queue_list_requires_admin` statement in exim configuration and set to `false`, because it is `true` by default. On many Linux distributions, the default location of `exim` configuration is in `/etc/exim.conf`.
9
+
10
+1. Edit the `exim` configuration with your preferred editor and add:
11
+`queue_list_requires_admin = false`
12
+2. Restart `exim` and Netdata
13
+
14
+*WHM (CPanel) server*
15
+
16
+On a WHM server, you can reconfigure `exim` over the WHM interface with the following steps.
17
+
18
+1. Login to WHM
19
+2. Navigate to Service Configuration --> Exim Configuration Manager --> tab Advanced Editor
20
+3. Scroll down to the button **Add additional configuration setting** and click on it.
21
+4. In the new dropdown which will appear above we need to find and choose:
22
+`queue_list_requires_admin` and set to `false`
23
+5. Scroll to the end and click the **Save** button.
24
+
25
It produces only one chart:
26
27
1. **Exim Queue Emails**