mirror of
https://github.com/Icinga/icingadb.git
synced 2026-04-22 23:01:34 -04:00
2.2 KiB
2.2 KiB
Configuration
Overview
The configuration is stored in /etc/icingadb/icingadb.ini.
General Configuration
Redis Configuration
Data resource where Icinga 2 is writing monitoring data.
| Option | Description |
|---|---|
| host | Optional. Redis host. Defaults to 127.0.0.1. |
| port | Optional. Redis port. Defaults to 6380. |
| password | Optional. Redis password. Not set by default. |
| pool_size | Optional. Maximum number of socket connections. Defaults to 64. |
MySQL Configuration
Data resource where IcingaDB stores synced data and historical events.
| Option | Description |
|---|---|
| host | Optional. MySQL host or absolute Unix socket path. Defaults to 127.0.0.1. |
| port | Optional. MySQL port. Defaults to 3306. |
| database | Optional. MySQL database. Defaults to icingadb. |
| user | Optional. MySQL username. |
| password | Optional. MySQL password. |
| max_open_conns | Optional. Maximum number of open connections. Defaults to 50. |
Logging Configuration
| Option | Description |
|---|---|
| level | Optional. Specifies the logging level. Can be set to error, warn, info or debug. See the logrus spec. |
Prometheus Metrics Configuration
| Option | Description |
|---|---|
| host | Optional. Prometheus metrics endpoint host. |
| port | Optional. Prometheus metrics endpoint port. |