Update README.md

This commit is contained in:
Thorsten Spille 2022-01-31 00:06:18 +01:00 committed by GitHub
parent 7df0b538f6
commit 4a02ea082c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
# check-nextcloud # 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 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": { "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"
}
}
```