icingaweb2-module-director/README.md

36 lines
970 B
Markdown
Raw Normal View History

2015-04-21 13:34:42 +02:00
Icinga Director
===============
This is going to be the new Icinga 2 config tool. Not for productional use. YET.
2015-06-01 15:02:02 +02:00
Installation
============
Create Icinga Director database
-------------------------------
mysql -e "CREATE DATABASE director2;
GRANT SELECT, INSERT, UPDATE, DELETE ON director.* TO director@localhost
IDENTIFIED BY 'some-password';"
2015-06-01 15:02:02 +02:00
mysql director < schema/mysql.sql
2015-06-01 17:02:31 +02:00
Configure Icinga Web 2
----------------------
2015-06-01 15:02:02 +02:00
2015-06-01 17:02:31 +02:00
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:
2015-06-01 17:05:15 +02:00
```ini
2015-06-01 17:03:17 +02:00
[db]
resource = directordb
2015-06-01 17:05:15 +02:00
```
2015-06-01 17:02:31 +02:00
This file is to be found in <ICINGAWEB_CONFIGDIR>/modules/director/, where
ICINGAWEB_CONFIGDIR usually means /etc/icingaweb2.