summaryrefslogtreecommitdiffstats
path: root/collectors
diff options
context:
space:
mode:
authorpetarkozic <petar.kozic@gmail.com>2020-03-02 08:23:21 +0100
committerGitHub <noreply@github.com>2020-03-02 10:23:21 +0300
commit118bdb64f7f158d87776cf5c4adb4cd931b2c456 (patch)
tree8a0953c4da5a712dc6eafa4073c3e89d60e8dfab /collectors
parent3eeb6a71d092747e3b4bf8e5ae2291b9a0c3f96b (diff)
added requirements for exim. Issue #8087 (#8096)
* added requirements for exim. Issue #8087
Diffstat (limited to 'collectors')
-rw-r--r--collectors/python.d.plugin/exim/README.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/collectors/python.d.plugin/exim/README.md b/collectors/python.d.plugin/exim/README.md
index 45888c2f84..f80d3803d2 100644
--- a/collectors/python.d.plugin/exim/README.md
+++ b/collectors/python.d.plugin/exim/README.md
@@ -3,6 +3,25 @@
Simple module executing `exim -bpc` to grab exim queue.
This command can take a lot of time to finish its execution thus it is not recommended to run it every second.
+## Requirements
+
+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`.
+
+1. Edit the `exim` configuration with your preferred editor and add:
+`queue_list_requires_admin = false`
+2. Restart `exim` and Netdata
+
+*WHM (CPanel) server*
+
+On a WHM server, you can reconfigure `exim` over the WHM interface with the following steps.
+
+1. Login to WHM
+2. Navigate to Service Configuration --> Exim Configuration Manager --> tab Advanced Editor
+3. Scroll down to the button **Add additional configuration setting** and click on it.
+4. In the new dropdown which will appear above we need to find and choose:
+`queue_list_requires_admin` and set to `false`
+5. Scroll to the end and click the **Save** button.
+
It produces only one chart:
1. **Exim Queue Emails**