$OpenBSD: README-web,v 1.7 2014/03/09 22:30:54 ajacoutot Exp $

+-----------------------------------------------------------------------
| Running zabbix-web-2.2.5 on OpenBSD
+-----------------------------------------------------------------------

The Zabbix web frontend has been installed into
/var/www/zabbix

You should point this to the DocumentRoot of your web-server:
    # ln -s ../zabbix /var/www/htdocs/zabbix
(make sure you use a relative symlink since Apache is chrooted)

Zabbix Web can work with a PostgreSQL, MySQL or SQLite3 database.
Support for SQLite3 is included with the main php package; to use
another database, the corresponding package needs to be installed:
    php-pgsql or php-mysql

The web frontend works reasonably well with OpenBSD's chroot'ed
httpd (the "Status of Zabbix" page uses /bin/ps and /dev/kmem to
check the process, so it erroneously reports it as not running).
Some changes from the default configuration are required -
you can do this by creating symbolic links as follows:

    # ln -s /var/www/conf/modules.sample/zabbix.conf \
      /var/www/conf/modules

    # ln -fs /etc/php-5.4.sample/zabbix.ini \
      /etc/php-5.4/zabbix.ini

Zabbix requires a timezone to be configured in PHP; zabbix.ini
sets this to UTC, you may like to adjust this. After making these
changes, stop and start httpd.

At last, edit /var/www/zabbix/conf/zabbix.conf.php according to your needs.
