enhance doc
This commit is contained in:
12
Readme.md
12
Readme.md
@@ -12,7 +12,17 @@ Nextcloud Monitoring API integration for Zabbix
|
|||||||
Needs **curl** to be installed on the Nextcloud server.
|
Needs **curl** to be installed on the Nextcloud server.
|
||||||
|
|
||||||
|
|
||||||
**You need to set the macros according to your environment.**
|
**You need to set the following macros according to your environment: *
|
||||||
|
|
||||||
|
- {$FQDN_NEXTCLOUD} - full name of your nextcloud server
|
||||||
|
- {$HTTP_OR_HTTPS} - wether your use http (really ??) or https
|
||||||
|
- {$CLOUD_APP_TOKEN} - serverinfo app token created via following command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
php81 occ config:app:set serverinfo token --value 'a very long and random string'
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Fully compatible with Nextcloud versions 14 - 25.
|
Fully compatible with Nextcloud versions 14 - 25.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
zabbix_export:
|
zabbix_export:
|
||||||
version: '6.0'
|
version: '6.0'
|
||||||
date: '2023-03-08T14:14:12Z'
|
date: '2023-03-08T14:34:16Z'
|
||||||
groups:
|
groups:
|
||||||
-
|
-
|
||||||
uuid: 7df96b18c230490a9a0a9e2307226338
|
uuid: 7df96b18c230490a9a0a9e2307226338
|
||||||
@@ -43,7 +43,6 @@ zabbix_export:
|
|||||||
Number of Storages
|
Number of Storages
|
||||||
Apps Installed
|
Apps Installed
|
||||||
Apps Needing Update
|
Apps Needing Update
|
||||||
Active users last minute, last hour, last day
|
|
||||||
groups:
|
groups:
|
||||||
-
|
-
|
||||||
name: Templates
|
name: Templates
|
||||||
@@ -408,11 +407,8 @@ zabbix_export:
|
|||||||
value: Nextcloud
|
value: Nextcloud
|
||||||
macros:
|
macros:
|
||||||
-
|
-
|
||||||
macro: '{$CLOUD_ADMIN_PW}'
|
macro: '{$CLOUD_APP_TOKEN}'
|
||||||
value: password
|
value: CHANGEME
|
||||||
-
|
|
||||||
macro: '{$CLOUD_ADMIN_USER}'
|
|
||||||
value: user
|
|
||||||
-
|
-
|
||||||
macro: '{$FQDN_NEXTCLOUD}'
|
macro: '{$FQDN_NEXTCLOUD}'
|
||||||
value: nextcloud.domain.com
|
value: nextcloud.domain.com
|
||||||
|
|||||||
Reference in New Issue
Block a user