Nextcloud Security Scan monitoring for Zabbix 3.4+
- Zabbix 3.4+
- Python 3.9+ installed on your Zabbix server
- Copy
nextcloud_scan.py
to your Zabbix installation'sExternalScripts
folder (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/python2
if your installation's default/usr/bin/python
is Python 3. - Import
zbx_template_nextcloud_scan.xml
to 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.