The Director aims to be your new favourite Icinga config deployment tool. Director is designed for those who want to automate their configuration deployment and those who want to grant their “point & click” users easy access to the configuration.
Go to file
Thomas Gelf ce93f029b0 IcingaCommandTable: do not show zone, they are global 2015-11-06 09:14:42 +01:00
application IcingaCommandTable: do not show zone, they are global 2015-11-06 09:14:42 +01:00
doc doc: add TODO list 2015-06-17 11:11:59 +02:00
library ConfigDiff: byebye PHP-FineDiff, hello php-diff 2015-11-05 12:30:07 +01:00
public ConfigDiff: byebye PHP-FineDiff, hello php-diff 2015-11-05 12:30:07 +01:00
schema schema/mysql: fix import source constraints 2015-11-06 09:05:08 +01:00
test/php Test: Add first insane test for TimePeriodRanges^ 2015-07-01 16:47:44 +02:00
.gitignore Add .gitignore file to the project 2015-04-24 16:57:54 +02:00
README.md Correct database name in README.md 2015-10-20 22:09:21 +02:00
configuration.php Welcome: rename menu entry unless web2 bug persists 2015-09-14 16:24:43 +02:00
module.info module.info: fix typo 2015-04-21 14:29:11 +02:00
run.php ImportSourceLdap: new import source 2015-08-28 17:16:58 +02:00

README.md

Icinga Director

This is going to be the new Icinga 2 config tool. Not for productional use. YET.

Installation

Create Icinga Director database

MySQL:

mysql -e "CREATE DATABASE director;
   GRANT SELECT, INSERT, UPDATE, DELETE ON director.* TO director@localhost
   IDENTIFIED BY 'some-password';"

mysql director < schema/mysql.sql

PostgreSQL:

CREATE DATABASE director WITH ENCODING 'UTF8';
CREATE USER director WITH PASSWORD 'some-password';
GRANT ALL PRIVILEGES ON DATABASE director TO director;

psql director < schema/pgsql.sql

Configure Icinga Web 2

In your web frontend please go to System / Configuration / Resources and create a new database resource pointing to your newly created database. Last but not least you have to tell the director module to use this newly created database resource.

Given that you named your resource directordb the config.ini for the module could look as follows:

[db]
resource = directordb

This file is to be found in <ICINGAWEB_CONFIGDIR>/modules/director/, where ICINGAWEB_CONFIGDIR usually means /etc/icingaweb2.