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 01be02fe9c IcingaService: command endpoint respects use_agent 2015-12-18 11:55:42 +01:00
application objects/table: look better on no objects 2015-12-18 10:54:31 +01:00
doc doc: initial REST API doc draft 2015-12-10 19:54:45 +01:00
library IcingaService: command endpoint respects use_agent 2015-12-18 11:55:42 +01:00
public js: fix race condition, slight speed improvement 2015-12-17 21:15:12 +01:00
schema IcingaService: add use_agent 2015-12-18 11:07:23 +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 README.md: remove useless hints 2015-11-20 11:19:19 +01:00
configuration.php welcome: move to index, icingaweb2/director 2015-12-17 21:57:27 +01:00
module.info module.info: fix typo 2015-04-21 14:29:11 +02:00
run.php run.php: provide Core Api import source 2015-12-03 16:25:41 +01:00

README.md

Icinga Director

Icinga Director has been designed to make Icinga 2 configuration handling easy. It tries to target two main audiences:

  • Users with the desire to completely automate their datacenter
  • Sysops willing to grant their "point & click" users a lot of flexibility

What makes Icinga Director so special is the fact that it tries to target both of them at once.

Requirements

  • Icinga 2 (>= 2.4.0)
  • Icinga Web 2 (>= 2.1.0)
  • MySQL or PostgreSQL database
  • PostgreSQL: the schema is lacking behind right now, we'll fix this soon. If you want to start testing Director today please use MySQL

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

As with any Icinga Web 2 module, installation is pretty straight-forward. In case you're installing it from source all you have to do is to drop the director module in one of your module paths. Then go to your web frontend, Configuration, Modules, director - and enable the module.

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.