From 84fc2c7c56ddf5467f5740e5d61fbd6707594b8d Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme <jan.philipp@timme.it> Date: Tue, 6 Aug 2019 17:08:55 +0200 Subject: [PATCH] Fix installation instructions --- Readme.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Readme.md b/Readme.md index ced1203..5d357ad 100644 --- a/Readme.md +++ b/Readme.md @@ -9,8 +9,12 @@ Please note that this script needs permission to read your postfix log (`/var/lo So give it appropriate permissions. * Clone this repository into e.g. `/opt/check-mk-postfix-stats`. -* Edit the `settings.sh` (There is not much to do) -* Symlink `postfix-stats.sh` to `/usr/lib/check_mk_agent/plugins` +* Edit the `settings.sh` (just check if the path to your logfile is okay) +* Create a launcher for the plugin: +``` +echo /opt/check-mk-postfix-stats/postfix-stats.sh > /usr/lib/check_mk_agent/plugins/postfix-stats +chmod +x /usr/lib/check_mk_agent/plugins/postfix-stats +``` * Go into your Check_MK installation and monitor the new service That's about it. -- GitLab