With this template you can monitor a Nextcloud instance via the API
- php-cli
- php-xml
- Create an API password for your user in Nextcloud. This can be done in Settings > Security.
- Import "zbx_export_templates.xml" to your Zabbix templates
- Copy zext_nextcloud.sh and zext_nextcloud_update.php to your Zabbix "externalscripts"-directory
- Create a host in Zabbix. The DNS-hostname should be your Nextcloud DNS name
- Set macros to your Nextcloud host: "{$NCURL}", "{$NCUSERNAME}", "{$NCPW}" and add your API user and password as values.