Zabbix on OpenWrt
- Introduction to Zabbix host monitoring on OpenWrt
A short guide to getting started with network host monitoring using Zabbix server, frontend and agent on OpenWrt, for advanced users
- Create the firmware image
Use the OpenWrt ImageBuilder to create the base firmware image for monitoring using Zabbix Server and frontend on an OpenWrt host. We do this as the default OpenWrt images do no have a large enough root filesystem for all the required packages.
- Prepare storage for Zabbix
Details on preparing storage for use for the database and logging for a Zabbix system on OpenWrt, for a fresh install.
- Configure Database Storage and Logging for Zabbix
Details on configuring PostgreSQL and Apache for Zabbix on OpenWrt, including the PHP configuration, on prepared storage.
- Configure Apache and PHP for Zabbix on OpenWrt
Details of configuring the Apache 2.4 web server and PHP 8, and needed modules, for Zabbix on OpenWrt, including required permissions, etc. NOTE This is not a hardened install. For security you will likely wish to update the configuration, once you have it working. Prevent LuCI access to the zabbix WWW directory chown root:apache /www/zabbix chmod 0750 /www/zabbix This way the apache service has read-only access to /www/zabbix, and no other non-root process does.