mirror of https://github.com/Icinga/icinga2.git
Extend upgrade docs
This commit is contained in:
parent
b86c918d4d
commit
e8ecc770d0
|
@ -1760,7 +1760,7 @@ Configuration Attributes:
|
||||||
Name | Type | Description
|
Name | Type | Description
|
||||||
--------------------------|-----------------------|----------------------------------
|
--------------------------|-----------------------|----------------------------------
|
||||||
endpoints | Array of object names | **Optional.** Array of endpoint names located in this zone.
|
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`.
|
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.
|
Zone objects cannot currently be created with the API.
|
||||||
|
|
|
@ -91,6 +91,21 @@ sending the recovery notification.
|
||||||
|
|
||||||
More details can be found in [this PR](https://github.com/Icinga/icinga2/pull/6527).
|
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>
|
## 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>
|
### Deprecation and Removal Notes <a id="upgrading-to-2-9-deprecation-removal-notes"></a>
|
||||||
|
|
Loading…
Reference in New Issue