+-------------------------------------------------------------------------------
| Running icinga-web2-module-director on OpenBSD
+-------------------------------------------------------------------------------

To use this module, assuming you already have a basic Icinga Web 2
configuration, first you should enable the dependent modules and then
Director itself:

  # /var/www/icinga-web2/bin/icingacli module enable ipl; \
    /var/www/icinga-web2/bin/icingacli module enable incubator; \
    /var/www/icinga-web2/bin/icingacli module enable reactbundle; \
    /var/www/icinga-web2/bin/icingacli module enable director

You should have a list something like this:

  # /var/www/icinga-web2/bin/icingacli module list

    MODULE         VERSION   STATE     DESCRIPTION
    director       1.8.0     enabled   Director - Config tool for Icinga 2
    incubator      0.6.0     enabled   Incubator provides bleeding-edge libraries
    ipl            v0.5.0    enabled   The Icinga PHP library
    monitoring     2.8.2     enabled   Icinga monitoring module
    reactbundle    0.8.0     enabled   ReactPHP-based 3rd party libraries

Then follow the instructions in the main Director documentation
(https://github.com/Icinga/icingaweb2-module-director/tree/master/doc)
to add the new database, create the database resource in Icinga Web 2,
and configure the director.

The Director daemon needs to be running in order that configurations can
be deployed. An rc.d(8) script is provided, /etc/rc.d/icingadirector.
If it fails to start, try running it manually ("doas -u _icingadirector
icingacli director daemon run") and look for errors. If you see messages
relating to SIGxxx, confirm that you have enabled the pcntl module in
your PHP configuration.
