Skip to content

Commit cc104f8

Browse files
authored
Icinga 2.14 (#9760)
1 parent 1df14d6 commit cc104f8

File tree

3 files changed

+220
-1
lines changed

3 files changed

+220
-1
lines changed

CHANGELOG.md

Lines changed: 192 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,198 @@ documentation before upgrading to a new release.
77

88
Released closed milestones can be found on [GitHub](https://github.com/Icinga/icinga2/milestones?state=closed).
99

10+
## 2.14.0 (2023-07-12)
11+
12+
[Issues and PRs](https://github.com/Icinga/icinga2/issues?q=is%3Aclosed+milestone%3A2.14.0)
13+
14+
### Notes
15+
16+
Upgrading docs: https://icinga.com/docs/icinga2/snapshot/doc/16-upgrading-icinga-2/#upgrading-to-2-14
17+
18+
Thanks to all contributors:
19+
[atj](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Aatj),
20+
[atwebm](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Aatwebm),
21+
[cspeterson](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Acspeterson),
22+
[cycloon](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Acycloon),
23+
[DamianoChini](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3ADamianoChini),
24+
[efuss](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Aefuss),
25+
[fabieins](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Afabieins),
26+
[haxtibal](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Ahaxtibal),
27+
[jaapmarcus](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Ajaapmarcus),
28+
[log1-c](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Alog1-c),
29+
[lrupp](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Alrupp),
30+
[maggu](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Amaggu),
31+
[mcodato](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Amcodato),
32+
[Napsty](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3ANapsty),
33+
[orbison](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Aorbison),
34+
[peteeckel](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Apeteeckel),
35+
[slalomsk8er](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Aslalomsk8er),
36+
[stevie-sy](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3Astevie-sy),
37+
[Tqnsls](https://github.com/Icinga/icinga2/pulls?q=is%3Apr+is%3Aclosed+milestone%3A2.14.0+author%3ATqnsls)
38+
39+
### Breaking Changes
40+
41+
* Remove CheckResultReader (which has been deprecated since v2.9). #9714
42+
* Remove StatusDataWriter (which has been deprecated since v2.9). #9715
43+
* ElasticsearchWriter: drop support for Elasticsearch < v7. #9812
44+
* Consider a checkable unreachable once one Dependency fails.
45+
Previously all of them had to fail. (Consult the upgrading docs.) #8218
46+
* API: reject config modifications during reload with HTTP status 503. #9445
47+
* `icinga2 daemon`: to reduce config load time, write file needed by
48+
`icinga2 object list` only if `--dump-objects` is given. #9586 #9591
49+
* Default email notification scripts: link to Icinga DB Web,
50+
not the monitoring module. (Consult the upgrading docs.) #9742 #9757
51+
* API: for security reasons hide TicketSalt in /v1/variables. #7863
52+
53+
#### Icinga 2 Config DSL
54+
55+
* Disallow global variable modification after config commit start (i.e.
56+
inside `object/apply T "x" { ... }`) to reduce config load time. #9740
57+
* Forbid Dependency cycles at config load time. #8389
58+
* Allow only strings in the arrays Host#groups, Service#groups and
59+
User#groups. Needed for consistency, especially by the IDO. #9057
60+
* Disallow empty object names. (They worked only partially anyway.) #9409
61+
62+
#### Windows Agent only
63+
64+
The official MSIs don't include the following features anymore.
65+
They weren't intended, tested or needed on Windows and only waste build time,
66+
bandwidth and disk space. Both new installations and upgrades are affected.
67+
68+
* ElasticsearchWriter #9704
69+
* GelfWriter #9704
70+
* GraphiteWriter #9704
71+
* InfluxdbWriter and Influxdb2Writer #9704
72+
* OpenTsdbWriter #9704
73+
* PerfdataWriter #9704
74+
75+
We also don't ship the following files anymore.
76+
(You can still obtain them manually.)
77+
78+
* `NSCP.msi` (NSClient++ installer) #9703
79+
* [doc/](doc) (Icinga 2 markdown documentation) #9705
80+
81+
On the other hand MSIs are now 75% smaller than before.
82+
83+
### Enhancements
84+
85+
* Significantly reduce config load time of large setups.
86+
#8118 #9555 #9557 #9572 #9577 #9603 #9608 #9627 #9648 #9657 #9662
87+
* Allow to connect dependencies via redundancy groups. Only parents within
88+
one group are assumed to provide redundancy for each other. #8218
89+
* Built-in check command ifw-api, communicates directly with the Icinga for
90+
Windows REST API. (Doesn't spawn a PowerShell process for that.) #9062
91+
* JournaldLogger which logs to systemd journal. #9000
92+
* API: POST /v1/objects: allow to discard some previously modified attributes,
93+
i.e. to restore the config files' values. #9783
94+
* ElasticsearchWriter: support Elasticsearch v8. #9812
95+
* Support `$env.ENV_VAR_NAME$` macros. #8302
96+
* Speed up Icinga DB config dump. #9524
97+
* Default mail notification scripts: also print `$host.notes$` and `$service.notes$`. #9713
98+
* Enable built-in OpenSSL DH parameters to allow DHE TLS ciphers. #9811
99+
* Clean up global default TLS cipher list to improve security. #9809
100+
* Influxdb(2)Writer: write more precise timestamps (nanoseconds). #9599
101+
102+
### Bugfixes
103+
104+
* Icinga DB feature: normalize several Redis data not to crash the Go daemon.
105+
#9772 #9775 #9792 #9793 #9794 #9805
106+
* Fix parsing of perfdata across multiple lines in plugin output. #8969
107+
* icinga check: fix last reload failure time. #8429 #9827
108+
* Resolve macros inside custom vars of IcingaApplication. #9779
109+
* SELinux: allow Icinga and its plugins to write to syslog. #9688
110+
* ElasticsearchWriter: fix data buffer flush race condition during stop. #9810
111+
* Trigger flexible downtimes not in the past if checkable is already down. #9726
112+
* Send downtime expiration notifications immediately, not after up to a minute. #9726
113+
114+
#### Cluster
115+
116+
* Don't hang in timed out connection attempt. #9711 #9725
117+
* Fix lost acknowledgements after re-connect. #9718
118+
* cluster-zone check: don't complain about not connected
119+
other local zone members if there aren't any. #8595
120+
* Allow agent to update executions delegated to it via /v1/actions/execute-command. #8627
121+
122+
#### API
123+
124+
* Disallow breaking inter-object relationships by changing
125+
relationship attributes at runtime, e.g. `Service#host_name`. #9407
126+
* Correct several HTTP response status codes. #7958 #9354
127+
* Correct Boolean field types previously reported by /v1/types as Number. #9514
128+
129+
#### CLI
130+
131+
* `icinga2 daemon`: fix -DConfiguration.Concurrency= flag
132+
which now allows to override the number of threads. #9643
133+
* `icinga2 node wizard`: avoid unnecessary chown(2) which may fail and abort the wizard. #8744
134+
* Correct several log messages. #8895 #8965 #9663
135+
136+
### ITL
137+
138+
Add `linux_netdev` check command. #9045
139+
140+
#### Command Argument Changes
141+
142+
* `disk`: don't pass -m (`disk_megabytes`) by default. #9642
143+
* `disk`: pass -X fuse.portal (`disk_exclude_type`) by default. #9459
144+
* `http`: support multiple -k (`http_header`) as array. #8574
145+
* `icmp`: double defaults for -w (`icmp_wpl`) and -c (`icmp_cpl`). #9041
146+
* `logfiles`: pass --winwarncrit (`logfiles_winwarncrit`) without argument. #9056
147+
* `nwc_health`: pass SNMPv3-only args only when using SNMPv3. #9095
148+
* `vmware-esx-dc-runtime-tools` and `vmware-esx-soap-vm-runtime-tools`:
149+
rename `--open-vm-tools` to `--open_vm_tools_ok` (`vmware_openvmtools`). #9611
150+
151+
#### New Command Arguments
152+
153+
| Command | Argument | Custom Variable | PR |
154+
|------------------------------------|------------------------------|------------------------------------------|-------|
155+
| `disk` | `-P` | `disk_inode_perfdata` | #9494 |
156+
| `esxi_hardware` | `--format` | `esxi_hardware_format` | #9435 |
157+
| `esxi_hardware` | `--pretty` | `esxi_hardware_pretty` | #9435 |
158+
| `http` | `--verify-host` | `http_verify_host` | #8005 |
159+
| `icingacli-businessprocess` | `--ack-is-ok` | `icingacli_businessprocess_ackisok` | #9103 |
160+
| `icingacli-businessprocess` | `--blame` | `icingacli_businessprocess_blame` | #9103 |
161+
| `icingacli-businessprocess` | `--colors` | `icingacli_businessprocess_colors` | #9103 |
162+
| `icingacli-businessprocess` | `--downtime-is-ok` | `icingacli_businessprocess_downtimeisok` | #9103 |
163+
| `icingacli-businessprocess` | `--root-cause` | `icingacli_businessprocess_rootcause` | #9103 |
164+
| `mem` | `-a` | `mem_available` | #9385 |
165+
| `mongodb` | `--disable_retry_writes` | `mongodb_disableretrywrites` | #9539 |
166+
| `mongodb` | `--ssl-ca-cert-file` | `mongodb_ssl_ca_cert_file` | #9610 |
167+
| `mysql` | `--extra-opts` | `mysql_extra_opts` | #9197 |
168+
| `nrpe` | `-3` | `nrpe_version_3` | #9296 |
169+
| `nrpe` | `-D` | `nrpe_no_logging` | #9016 |
170+
| `nrpe` | `-P` | `nrpe_payload_size` | #9032 |
171+
| `pgsql` | `--extra-opts` | `pgsql_extra_opts` | #9197 |
172+
| `postgres` | `$PGCONTROLDATA` (env. var.) | `postgres_pgcontroldata` | #8929 |
173+
| `postgres` | `--datadir` | `postgres_datadir` | #8924 |
174+
| `postgres` | `--language` | `postgres_language` | #8924 |
175+
| `postgres` | `--perflimit` | `postgres_perflimit` | #8924 |
176+
| `ssl_cert` | `--ignore-host-cn` | `ssl_cert_ignore_host_cn` | #9512 |
177+
| `ssl_cert` | `--ignore-ocsp-errors` | `ssl_cert_ignore_ocsp_errors` | #9512 |
178+
| `ssl_cert` | `--ignore-ocsp-timeout` | `ssl_cert_ignore_ocsp_timeout` | #9512 |
179+
| `ssl_cert` | `--ignore-tls-renegotiation` | `ssl_cert_ignore_tls_renegotiation` | #9042 |
180+
| `ssl_cert` | `--proxy` | `ssl_cert_proxy` | #8927 |
181+
| `tcp` | `--sni` | `tcp_sni` | #9347 |
182+
| `vmware-esx-dc-runtime-tools` | `--no_vm_tools_ok` | `vmware_novmtools` | #9611 |
183+
| `vmware-esx-soap-vm-runtime-tools` | `--no_vm_tools_ok` | `vmware_novmtools` | #9611 |
184+
185+
### Miscellaneous
186+
187+
* Require GCC 7+ for building to enable C++17. #9133 #9485 #9489
188+
* Require CMake v2.8.12+ for building.
189+
(Compatibility with older ones will be removed from a future CMake version.) #9706
190+
* Repair config reload on OpenBSD by using waitpid(2), not a SIGCHLD handler. #9518
191+
* Ignore SIGHUP in main process to allow `/etc/rc.d/icinga2 reload`
192+
sending it to all Icinga 2 processes on OpenBSD. #9622
193+
* Fix crash in debug build on macOS when API and debug log are enabled. #9497
194+
* Update Boost shipped on Windows to v1.82. #9761
195+
* Update OpenSSL shipped on Windows to v3.0.9. #9787
196+
* Update vendored https://github.com/nlohmann/json to v3.9.1. #9675
197+
* Update vendored https://github.com/nemtrif/utfcpp to v3.2.3. #9683
198+
* Documentation: several fixes and improvements. #8954 #9741 #9763 #9767 #9769 #9777
199+
* Several code quality improvements. #8815 #9106 #9250
200+
#9508 #9517 #9537 #9594 #9605 #9606 #9641 #9658 #9702 #9717 #9738
201+
10202
## 2.13.7 (2023-02-16)
11203

12204
This security release updates Boost and OpenSSL libraries bundled on Windows

ICINGA2_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Version: 2.13.0
1+
Version: 2.14.0
22
Revision: 1

doc/16-upgrading-icinga-2.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,33 @@ Specific version upgrades are described below. Please note that version
88
updates are incremental. An upgrade from v2.6 to v2.8 requires to
99
follow the instructions for v2.7 too.
1010

11+
## Upgrading to v2.14 <a id="upgrading-to-2-14"></a>
12+
13+
### Dependencies and Redundancy Groups <a id="upgrading-to-2-14-dependencies"></a>
14+
15+
Before Icinga v2.12 all dependencies were cumulative.
16+
I.e. the child was considered reachable only if no dependency was violated.
17+
In v2.12 and v2.13, all dependencies were redundant.
18+
I.e. the child was considered unreachable only if no dependency was fulfilled.
19+
20+
v2.14 restores the pre-v2.12 behavior, but allows to override it.
21+
I.e. you can still make any number of your dependencies redundant, as you wish.
22+
For details read the docs' [redundancy groups section](03-monitoring-basics.md#dependencies-redundancy-groups).
23+
24+
### Email Notification Scripts <a id="upgrading-to-2-14-email-notification"></a>
25+
26+
The email notification scripts shipped with Icinga 2 (/etc/icinga2/scripts)
27+
now link to Icinga DB Web, not the monitoring module.
28+
Both new and existing installations are affected unless you've altered the scripts.
29+
30+
In the latter case package managers won't upgrade those "config" files in-place,
31+
but just put files with similar names into the same directory.
32+
This allows you to patch them by yourself based on diff(1).
33+
34+
On the other hand, if you want to stick to the monitoring module for now,
35+
add any comments to the notification scripts before upgrading.
36+
This way package managers won't touch those files.
37+
1138
## Upgrading to v2.13 <a id="upgrading-to-2-13"></a>
1239

1340
### DB IDO Schema Update <a id="upgrading-to-2-13-db-ido"></a>

0 commit comments

Comments
 (0)