From 4a02ea082cdd2a2fdb976712c5989d5b08af0f25 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Mon, 31 Jan 2022 00:06:18 +0100 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 710064e..6dffcee 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # check-nextcloud -CheckMK local check plugin to check Nextcloud installations +CheckMK local check plugin to check Nextcloud installations. +Multiple instances or checks inside docker containers are supported. Install it into /usr/lib/check_mk_agent/local/ your Nextcloud Host ``` @@ -18,10 +19,9 @@ After running once, the script will create the config file `/etc/check_mk/nextco } } ``` -Please adjust the settings to your needs. -You can also add multiple instances. -Example config with multiple instances (e.g. on ISPconfig): + +### Multiple instances example ``` { "nextcloud.zmb.rocks": { @@ -36,3 +36,14 @@ Example config with multiple instances (e.g. on ISPconfig): } } ``` +### Docker example: +``` +{ + "nextcloud.zmb.rocks": { + "nc_path": "/var/www/html", + "nc_php_version": "", + "nc_www_user": "www-data", + "docker_container": "composestack-nextcloud-fpm" + } +} +```