summaryrefslogtreecommitdiffstats
path: root/modules/monitoring/doc/04-Backends.md
blob: 2681109e80ea81a9f93a1ac3387d75cf33400166 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Backends <a id="monitoring-module-backends"></a>

The configuration file `backends.ini` contains information about data sources which are
used to fetch monitoring objects presented to the user.

The required [resources](../../../doc/04-Resources.md#resources-configuration-database) must be globally defined beforehand.

## Configuration <a id="monitoring-module-backends-configuration"></a>

Navigate into `Configuration` -> `Modules` -> `Monitoring` -> `Backends`.
You can select a specified global resource here, and also update its details.

Each section in `backends.ini` references a resource. By default you should only have one backend enabled.

### IDO Backend <a id="monitoring-module-backends-ido"></a>

Option                   | Description
-------------------------|-----------------------------------------------
type                     | **Required.** Specify the backend type. Must be set to `ido`.
resource                 | **Required.** Specify a defined [resource](../../../doc/04-Resources.md#resources-configuration-database) name which provides details about the IDO database resource.


Example for using the database resource `icinga2_ido_mysql`:

```
[icinga2_ido_mysql]
type = "ido"
resource = "icinga2_ido_mysql"
```