Nextcloud Security Scan monitoring for Zabbix 3.4+
- Zabbix 3.4+
- Python 3.9+ installed on your Zabbix server
- Copy
nextcloud_scan.pyto your Zabbix installation'sExternalScriptsfolder (default:$ZABBIX_DATA_DIR/externalscripts). Make sure it ischmod a+x - You may need to change the hashbang (
#!) line at the top of the script to read#!/usr/bin/python2if your installation's default/usr/bin/pythonis Python 3. - Import
zbx_template_nextcloud_scan.xmlto your Zabbix Templates - Assign the template to a host. It is set to update every 1 day by default, so you could be waiting a while for data. If you want to verify that the script is working, change the update interval for the 'Nextcloud Security Scan JSON Result' item to something less, like 1m.