Update README.md

Added interval for check_mk agent
This commit is contained in:
Thorsten Spille 2022-01-31 12:46:59 +01:00 committed by GitHub
parent 4a02ea082c
commit ade5c78a9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,11 @@ Multiple instances or checks inside docker containers are supported.
Install it into /usr/lib/check_mk_agent/local/ your Nextcloud Host
```
wget -O /usr/lib/check_mk_agent/local/check-nextcloud https://raw.githubusercontent.com/bashclub/check-nextcloud/main/check-nextcloud
chmod +x /usr/lib/check_mk_agent/local/check-nextcloud
/usr/lib/check_mk_agent/local/check-nextcloud
interval=3600
mkdir -p /usr/lib/check_mk_agent/local/$interval
wget -O /usr/lib/check_mk_agent/local/$interval/check-nextcloud https://raw.githubusercontent.com/bashclub/check-nextcloud/main/check-nextcloud
chmod +x /usr/lib/check_mk_agent/local/$interval/check-nextcloud
/usr/lib/check_mk_agent/local/$interval/check-nextcloud
```
After running once, the script will create the config file `/etc/check_mk/nextcoud.conf` with default settings (JSON Format):