58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
Requirements
|
|
============
|
|
|
|
Disabled SELinux for sending commands via external command pipe
|
|
provided by Icinga (2) Core.
|
|
|
|
# setenforce 0
|
|
|
|
|
|
Webinterface Login
|
|
==================
|
|
|
|
The default credentials using the internal MySQL database are
|
|
|
|
icingaadmin:icinga
|
|
|
|
|
|
Internal MySQL DB Setup
|
|
=======================
|
|
|
|
# mysql -u root -p
|
|
CREATE USER `icingaweb`@`localhost` IDENTIFIED BY 'icingaweb';
|
|
CREATE DATABASE `icingaweb`;
|
|
GRANT ALL PRIVILEGES ON `icingaweb`.* TO `icingaweb`@`localhost`;
|
|
FLUSH PRIVILEGES;
|
|
quit
|
|
|
|
# mysql icingaweb < /usr/share/doc/icingaweb2-*/schema/accounts.mysql.sql
|
|
# mysql icingaweb < /usr/share/doc/icingaweb2-*/schema/preferences.mysql.sql
|
|
|
|
|
|
Modules
|
|
=======
|
|
|
|
The monitoring module is enabled by default.
|
|
|
|
|
|
Backend configuration
|
|
=====================
|
|
|
|
/etc/icingaweb/resources.ini
|
|
|
|
contains the database backend information. By default
|
|
the Icinga IDO DB is used by the monitoring module in
|
|
|
|
/etc/icingaweb/modules/monitoring/backends.ini
|
|
|
|
The external command pipe is required for sending commands
|
|
and configured for Icinga 2 in
|
|
|
|
/etc/icingaweb/modules/monitoring/instances.ini
|
|
|
|
|
|
Support
|
|
=======
|
|
|
|
Please use one of the listed support channels at https://support.icinga.org
|