52 lines
1.0 KiB
Markdown
52 lines
1.0 KiB
Markdown
# Template nextcloud
|
|
|
|
## Ref:
|
|
|
|
https://github.com/zabbix/community-templates/tree/main/Cloud/template_nextcloud_monitoring_api/6.0
|
|
|
|
## Overview
|
|
|
|
Nextcloud Monitoring API integration for Zabbix
|
|
|
|
|
|
Needs **curl** to be installed on the Nextcloud server.
|
|
|
|
|
|
**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.
|
|
|
|
|
|
Shows different operating values of your Nextcloud server:
|
|
|
|
|
|
Version
|
|
Webserver
|
|
Database Type
|
|
Database Version
|
|
Database Size
|
|
PHP Max. Execution Time
|
|
PHP Memory Limit
|
|
PHP Upload Max. Filesize
|
|
PHP Version
|
|
Storage Files
|
|
Storage Freespace
|
|
Storage Users
|
|
Number of Storages
|
|
Apps Installed
|
|
Apps Needing Update
|
|
Active users last minute, last hour, last day
|
|
|
|
warning if app update available
|