Extend upgrade docs

This commit is contained in:
Jean-Louis Dupond 2018-10-12 10:05:20 +02:00
parent b86c918d4d
commit e8ecc770d0
2 changed files with 16 additions and 1 deletions

View File

@ -1760,7 +1760,7 @@ Configuration Attributes:
Name | Type | Description
--------------------------|-----------------------|----------------------------------
endpoints | Array of object names | **Optional.** Array of endpoint names located in this zone.
parent | Object name | **Optional.** The name of the parent zone.
parent | Object name | **Optional.** The name of the parent zone. (Do not specify a global zone)
global | Boolean | **Optional.** Whether configuration files for this zone should be [synced](06-distributed-monitoring.md#distributed-monitoring-global-zone-config-sync) to all endpoints. Defaults to `false`.
Zone objects cannot currently be created with the API.

View File

@ -91,6 +91,21 @@ sending the recovery notification.
More details can be found in [this PR](https://github.com/Icinga/icinga2/pull/6527).
### Stricter configuration validation
Some config errors are now fatal. While it never worked before, icinga2 refuses to start now!
For example the following started to give a fatal error in 2.10:
```
object Zone "XXX" {
endpoints = [ "master-server" ]
parent = "global-templates"
}
```
```critical/config: Error: Zone 'XXX' can not have a global zone as parent.```
## Upgrading to v2.9 <a id="upgrading-to-2-9"></a>
### Deprecation and Removal Notes <a id="upgrading-to-2-9-deprecation-removal-notes"></a>