"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "doc/02-installation.md" between
icinga2-2.11.5.tar.gz and icinga2-2.12.0.tar.gz

About: Icinga 2 is an enterprise grade monitoring system which keeps watch over networks and any conceivable network resource.

02-installation.md  (icinga2-2.11.5):02-installation.md  (icinga2-2.12.0)
skipping to change at line 179 skipping to change at line 179
``` ```
ARCH=$( /bin/arch ) ARCH=$( /bin/arch )
subscription-manager repos --enable rhel-8-server-optional-rpms subscription-manager repos --enable rhel-8-server-optional-rpms
subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms" subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"
dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.r pm dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.r pm
``` ```
RHEL 7:
``` ```
subscription-manager repos --enable rhel-7-server-optional-rpms subscription-manager repos --enable rhel-7-server-optional-rpms
# or yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.r
pm
```
RHEL 6:
```
subscription-manager repos --enable rhel-6-server-optional-rpms subscription-manager repos --enable rhel-6-server-optional-rpms
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.r pm
``` ```
#### SLES/OpenSUSE Repositories <a id="package-repositories-sles-opensuse"></a> #### SLES/OpenSUSE Repositories <a id="package-repositories-sles-opensuse"></a>
The release repository also provides the required Boost 1.66+ packages The release repository also provides the required Boost 1.66+ packages
since v2.11. since v2.11.
SLES 15/12: SLES 15/12:
``` ```
skipping to change at line 600 skipping to change at line 608
$ nano /etc/icinga2/conf.d/templates.conf $ nano /etc/icinga2/conf.d/templates.conf
``` ```
![Nano with syntax highlighting](images/installation/nano-syntax.png "Nano with Icinga 2 syntax highlighting") ![Nano with syntax highlighting](images/installation/nano-syntax.png "Nano with Icinga 2 syntax highlighting")
## Setting up Icinga Web 2 <a id="setting-up-icingaweb2"></a> ## Setting up Icinga Web 2 <a id="setting-up-icingaweb2"></a>
Icinga 2 can be used with Icinga Web 2 and a variety of modules. Icinga 2 can be used with Icinga Web 2 and a variety of modules.
This chapter explains how to set up Icinga Web 2. This chapter explains how to set up Icinga Web 2.
The DB IDO (Database Icinga Data Output) feature for Icinga 2 take care of The DB IDO (Database Icinga Data Output) feature for Icinga 2 takes care of
exporting all configuration and status information into a database. exporting all configuration and status information into a database.
Please choose whether to install [MySQL](02-installation.md#configuring-db-ido-m > **Note**
ysql) or >
[PostgreSQL](02-installation.md#configuring-db-ido-postgresql). > We're currently working on a new data backend called Icinga DB.
> If you want to try the latest release candidate skip to
> the [Icinga DB Chapter](02-installation.md#icingadb).
> Please keep in mind, that this version is not ready for use in
> production and currently only supports MySQL.
### Configuring DB IDO MySQL <a id="configuring-db-ido-mysql"></a> ### Configuring DB IDO MySQL <a id="configuring-db-ido-mysql"></a>
#### Installing MySQL database server <a id="installing-database-mysql-server">< /a> #### Installing MySQL database server <a id="installing-database-mysql-server">< /a>
Debian/Ubuntu: Debian/Ubuntu:
``` ```
apt-get install mysql-server mysql-client apt-get install mysql-server mysql-client
skipping to change at line 1027 skipping to change at line 1040
``` ```
Alpine Linux: Alpine Linux:
``` ```
rc-service icinga2 restart rc-service icinga2 restart
``` ```
### Installing Icinga Web 2 <a id="installing-icingaweb2"></a> ### Installing Icinga Web 2 <a id="installing-icingaweb2"></a>
Please consult the [installation documentation](https://icinga.com/docs/icingawe b2/latest/doc/02-Installation/) Please consult the [Icinga Web 2 documentation](https://icinga.com/docs/icingawe b2/latest/)
for further instructions on how to install Icinga Web 2. for further instructions on how to install Icinga Web 2.
The Icinga 2 API can be defined as [command transport](https://icinga.com/docs/i If you decided on using Icinga DB, consult the [Icinga DB Web documentation](htt
cingaweb2/latest/modules/monitoring/doc/05-Command-Transports/) ps://icinga.com/docs/icingadb/latest/icingadb-web/doc/01-About/) on how to conne
in Icinga Web 2 >= 2.4. ct Icinga Web 2 with Icinga DB.
## Addons <a id="install-addons"></a> ## Addons <a id="install-addons"></a>
A number of additional features are available in the form of addons. A list of A number of additional features are available in the form of addons. A list of
popular addons is available in the popular addons is available in the
[Addons and Plugins](13-addons.md#addons) chapter. [Addons and Plugins](13-addons.md#addons) chapter.
## Installation Overview <a id="installation-overview"></a> ## Installation Overview <a id="installation-overview"></a>
### Enabled Features during Installation <a id="installation-overview-enabled-fe atures"></a> ### Enabled Features during Installation <a id="installation-overview-enabled-fe atures"></a>
skipping to change at line 1118 skipping to change at line 1130
## Backup: Database <a id="install-backup-database"></a> ## Backup: Database <a id="install-backup-database"></a>
MySQL/MariaDB: MySQL/MariaDB:
* [Documentation](https://mariadb.com/kb/en/library/backup-and-restore-overview/ ) * [Documentation](https://mariadb.com/kb/en/library/backup-and-restore-overview/ )
PostgreSQL: PostgreSQL:
* [Documentation](https://www.postgresql.org/docs/9.3/static/backup.html) * [Documentation](https://www.postgresql.org/docs/9.3/static/backup.html)
## Icinga DB <a id="icingadb"></a>
Icinga DB is a new data backend currently in development.
It's purpose is to synchronise data between Icinga 2 (Redis) and Icinga Web 2 (M
ySQL), some day replacing the IDO.
Don't worry, we won't drop support on the IDO any time soon.
> **Note**
> Icinga DB is not ready to be used in production
> and should only be used for testing purposes.
### Configuring Icinga DB <a id="configuring-icinga-db"></a>
First, make sure to setup Icinga DB itself and its database backends (Redis and
MySQL) by following the [installation instructions](https://icinga.com/docs/icin
gadb/latest/doc/02-Installation/).
#### Enabling the Icinga DB feature <a id="enabling-icinga-db"></a>
Icinga 2 provides a configuration file that is installed in
`/etc/icinga2/features-available/icingadb.conf`. You can update
the Redis credentials in this file.
All available attributes are explained in the
[IcingaDB object](09-object-types.md#objecttype-icingadb)
chapter.
You can enable the `icingadb` feature configuration file using
`icinga2 feature enable`:
```
# icinga2 feature enable icingadb
Module 'icingadb' was enabled.
Make sure to restart Icinga 2 for these changes to take effect.
```
Restart Icinga 2.
```
systemctl restart icinga2
```
Alpine Linux:
```
rc-service icinga2 restart
```
Continue with the [webserver setup](02-installation.md#icinga2-user-interface-we
bserver).
 End of changes. 8 change blocks. 
9 lines changed or deleted 22 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)