mirror of
https://github.com/bashclub/check-nextcloud.git
synced 2024-11-07 15:01:58 +01:00
Update README.md
Added interval for check_mk agent
This commit is contained in:
parent
4a02ea082c
commit
ade5c78a9e
@ -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
|
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
|
interval=3600
|
||||||
chmod +x /usr/lib/check_mk_agent/local/check-nextcloud
|
mkdir -p /usr/lib/check_mk_agent/local/$interval
|
||||||
/usr/lib/check_mk_agent/local/check-nextcloud
|
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):
|
After running once, the script will create the config file `/etc/check_mk/nextcoud.conf` with default settings (JSON Format):
|
||||||
|
Loading…
Reference in New Issue
Block a user