]> granicus.if.org Git - icinga2/blob - ChangeLog
Fix incorrect error message for localhost (in "node update-config")
[icinga2] / ChangeLog
1 # Icinga 2.x CHANGELOG
2
3 Please check [doc/1-about.md].
4
5 ## What's New
6
7 ### What's New in Version 2.2.0
8
9 #### Changes
10
11 * DB IDO schema update to version `1.12.0`
12     * schema files in `lib/db_ido_{mysql,pgsql}/schema` (source)
13     * Table `programstatus`: New column `program_version`
14     * Table `customvariables` and `customvariablestatus`: New column `is_json` (required for custom attribute array/dictionary support)
15 * New features
16     * [GelfWriter](#gelfwriter): Logging check results, state changes, notifications to GELF (graylog2, logstash) #7619
17     * Agent/Client/Node framework #7249
18     * Windows plugins for the client/agent parts #7242 #7243
19 * New CLI commands #7245
20     * `icinga2 feature {enable,disable}` replaces `icinga2-{enable,disable}-feature` script  #7250
21     * `icinga2 object list` replaces `icinga2-list-objects` script  #7251
22     * `icinga2 pki` replaces` icinga2-build-{ca,key}` scripts  #7247
23     * `icinga2 repository` manages `/etc/icinga2/repository.d` which must be included in `icinga2.conf` #7255
24     * `icinga2 node` cli command provides node (master, satellite, agent) setup (wizard) and management functionality #7248
25     * `icinga2 daemon` for existing daemon arguments (`-c`, `-C`). Removed `-u` and `-g` parameters in favor of [init.conf](#init-conf).
26     * bash auto-completion & terminal colors #7396
27 * Configuration
28     * Former `localhost` example host is now defined in [hosts.conf](#hosts-conf) #7594
29     * All example services moved into advanced apply rules in [services.conf](#services-conf)
30     * Updated downtimes configuration example in [downtimes.conf](#downtimes-conf) #7472
31     * Updated notification apply example in [notifications.conf](#notifications-conf) #7594
32     * Support for object attribute 'zone' #7400
33     * Support setting [object variables in apply rules](#dependencies-apply-custom-attributes) #7479
34     * Support arrays and dictionaries in [custom attributes](#custom-attributes-apply) #6544 #7560
35     * Add [apply for rules](#using-apply-for) for advanced dynamic object generation #7561
36     * New attribute `accept_commands` for [ApiListener](#objecttype-apilistener) #7559
37     * New [init.conf](#init-conf) file included first containing new constants `RunAsUser` and `RunAsGroup`.
38 * Cluster
39     * Add [CSR Auto-Signing support](#csr-autosigning-requirements) using generated ticket #7244
40     * Allow to [execute remote commands](#icinga2-remote-monitoring-client-command-execution) on endpoint clients #7559
41 * Perfdata
42     * [PerfdataWriter](#writing-performance-data-files): Don't change perfdata, pass through from plugins #7268
43     * [GraphiteWriter](#graphite-carbon-cache-writer): Add warn/crit/min/max perfdata and downtime_depth stats values #7366 #6946
44 * Packages
45     * `python-icinga2` package dropped in favor of integrated cli commands #7245
46     * Windows Installer for the agent parts #7243
47
48 > **Note**
49 >
50 >  Please remove `conf.d/hosts/localhost*` after verifying your updated configuration!
51
52 #### Issues
53
54 * Feature #6544: Support for array in custom variable.
55 * Feature #6946: Add downtime depth as statistic metric for GraphiteWriter
56 * Feature #7187: Document how to use multiple assign/ignore statements with logical "and" & "or"
57 * Feature #7199: Cli commands: add filter capability to 'object list'
58 * Feature #7241: Windows Wizard
59 * Feature #7242: Windows plugins
60 * Feature #7243: Windows installer
61 * Feature #7244: CSR auto-signing
62 * Feature #7245: Cli commands
63 * Feature #7246: Cli command framework
64 * Feature #7247: Cli command: pki
65 * Feature #7248: Cli command: Node
66 * Feature #7249: Node Repository
67 * Feature #7250: Cli command: Feature
68 * Feature #7251: Cli command: Object
69 * Feature #7252: Cli command: SCM
70 * Feature #7253: Cli Commands: Node Repository Blacklist & Whitelist
71 * Feature #7254: Documentation: Agent/Satellite Setup
72 * Feature #7255: Cli command: Repository
73 * Feature #7262: macro processor needs an array printer
74 * Feature #7319: Documentation: Add support for locally-scoped variables for host/service in applied Dependency
75 * Feature #7334: GraphiteWriter: Add support for customized metric prefix names
76 * Feature #7356: Documentation: Cli Commands
77 * Feature #7366: GraphiteWriter: Add warn/crit/min/max perfdata values if existing
78 * Feature #7370: CLI command: variable
79 * Feature #7391: Add program_version column to programstatus table
80 * Feature #7396: Implement generic color support for terminals
81 * Feature #7400: Remove zone keyword and allow to use object attribute 'zone'
82 * Feature #7415: CLI: List disabled features in feature list too
83 * Feature #7421: Add -h next to --help
84 * Feature #7423: Cli command: Node Setup
85 * Feature #7452: Replace cJSON with a better JSON parser
86 * Feature #7465: Cli command: Node Setup Wizard (for Satellites and Agents)
87 * Feature #7467: Remove virtual agent name feature for localhost
88 * Feature #7472: Update downtimes.conf example config
89 * Feature #7478: Documentation: Mention 'icinga2 object list' in config validation
90 * Feature #7479: Set host/service variable in apply rules
91 * Feature #7480: Documentation: Add host/services variables in apply rules
92 * Feature #7504: Documentation: Revamp getting started with 1 host and multiple (service) applies
93 * Feature #7514: Documentation: Move troubleshooting after the getting started chapter
94 * Feature #7524: Documentation: Explain how to manage agent config in central repository
95 * Feature #7543: Documentation for arrays & dictionaries in custom attributes and their usage in apply rules for
96 * Feature #7559: Execute remote commands on the agent w/o local objects by passing custom attributes
97 * Feature #7560: Support dictionaries in custom attributes
98 * Feature #7561: Generate objects using apply with foreach in arrays or dictionaries (key => value)
99 * Feature #7566: Implement support for arbitrarily complex indexers
100 * Feature #7594: Revamp sample configuration: add NodeName host, move services into apply rules schema
101 * Feature #7596: Plugin Check Commands: disk is missing '-p', 'x' parameter
102 * Feature #7619: Add GelfWriter for writing log events to graylog2/logstash
103 * Feature #7620: Documentation: Update Icinga Web 2 installation
104 * Feature #7622: Icinga 2 should use less RAM
105 * Feature #7680: Conditionally enable MySQL and PostgresSQL, add support for FreeBSD and DragonFlyBSD
106
107 * Bug #6547: delaying notifications with times.begin should postpone first notification into that window
108 * Bug #7257: default value for "disable_notifications" in service dependencies is set to "false"
109 * Bug #7268: Icinga2 changes perfdata order and removes maximum
110 * Bug #7272: icinga2 returns exponential perfdata format with check_nt
111 * Bug #7275: snmp-load checkcommand has wrong threshold syntax
112 * Bug #7276: SLES (Suse Linux Enterprise Server) 11 SP3 package dependency failure
113 * Bug #7302: ITL: check_procs and check_http are missing arguments
114 * Bug #7324: config parser crashes on unknown attribute in assign
115 * Bug #7327: Icinga2 docs: link supported operators from sections about apply rules
116 * Bug #7331: Error messages for invalid imports missing
117 * Bug #7338: Docs: Default command timeout is 60s not 5m
118 * Bug #7339: Importing a CheckCommand in a NotificationCommand results in an exception without stacktrace.
119 * Bug #7349: Documentation: Wrong check command for snmp-int(erface)
120 * Bug #7351: snmp-load checkcommand has a wrong "-T" param value
121 * Bug #7359: Setting snmp_v2 can cause snmp-manubulon-command derived checks to fail
122 * Bug #7365: Typo for "HTTP Checks" match in groups.conf
123 * Bug #7369: Fix reading perfdata in compat/checkresultreader
124 * Bug #7372: custom attribute name 'type' causes empty vars dictionary
125 * Bug #7373: Wrong usermod command for external command pipe setup
126 * Bug #7378: Commands are auto-completed when they shouldn't be
127 * Bug #7379: failed en/disable feature should return error
128 * Bug #7380: Debian package root permissions interfere with icinga2 cli commands as icinga user
129 * Bug #7392: Schema upgrade files are missing in /usr/share/icinga2-ido-{mysql,pgsql}
130 * Bug #7417: CMake warnings on OS X
131 * Bug #7428: Documentation: 1-about contribute links to non-existing report a bug howto
132 * Bug #7433: Unity build fails on RHEL 5
133 * Bug #7446: When replaying logs the secobj attribute is ignored
134 * Bug #7473: Performance data via API is broken
135 * Bug #7475: can't assign Service to Host in nested HostGroup
136 * Bug #7477: Fix typos and other small corrections in documentation
137 * Bug #7482: OnStateLoaded isn't called for objects which don't have any state
138 * Bug #7483: Hosts/services should not have themselves as parents
139 * Bug #7495: Utility::GetFQDN doesn't work on OS X
140 * Bug #7503: Icinga2 fails to start due to configuration errors
141 * Bug #7520: Use ScriptVariable::Get for RunAsUser/RunAsGroup
142 * Bug #7536: Object list dump erraneously evaluates template definitions
143 * Bug #7537: Nesting an object in a template causes the template to become non-abstract
144 * Bug #7538: There is no __name available to nested objects
145 * Bug #7573: link missing in documentation about livestatus
146 * Bug #7577: Invalid checkresult object causes Icinga 2 to crash
147 * Bug #7579: only notify users on recovery which have been notified before (not-ok state)
148 * Bug #7585: Nested templates do not work (anymore)
149 * Bug #7586: Exception when executing check
150 * Bug #7597: Compilation Error with boost 1.56 under Windows
151 * Bug #7599: Plugin execution on Windows does not work
152 * Bug #7617: mkclass crashes when called without arguments
153 * Bug #7623: Missing state filter 'OK' must not prevent recovery notifications being sent
154 * Bug #7624: Installation on Windows fails
155 * Bug #7625: IDO module crashes on Windows
156 * Bug #7646: Get rid of static boost::mutex variables
157 * Bug #7648: Unit tests fail to run
158 * Bug #7650: Wrong set of dependency state when a host depends on a service
159 * Bug #7681: CreateProcess fails on Windows 7
160 * Bug #7688: DebugInfo is missing for nested dictionaries
161
162
163 ### What's New in Version 2.1.1
164
165 #### Issues
166
167 * Bug #6147: Link libcJSON against libm
168 * Bug #6696: make test fails on openbsd
169 * Bug #6841: Too many queued messages
170 * Bug #6862: SSL_read errors during restart
171 * Bug #6981: SSL errors with interleaved SSL_read/write
172 * Bug #7029: icinga2.spec: files-attr-not-set for python-icinga2 package
173 * Bug #7032: "Error parsing performance data" in spite of "enable_perfdata = false"
174 * Bug #7036: Remove validator for the Script type
175 * Bug #7037: icinga2-list-objects doesn't work with Python 3
176 * Bug #7038: Fix rpmlint errors
177 * Bug #7042: icinga2-list-objects complains about Umlauts and stops output
178 * Bug #7044: icinga2 init-script terminates with exit code 0 if $DAEMON is not in place or not executable
179 * Bug #7047: service icinga2 status - prints cat error if the service is stopped
180 * Bug #7058: Exit code is not initialized for some failed checks
181 * Bug #7065: pipe2 returns ENOSYS on GNU Hurd and Debian kfreebsd
182 * Bug #7072: GraphiteWriter should ignore empty perfdata value
183 * Bug #7080: Missing differentiation between service and systemctl
184 * Bug #7096: new SSL Errors with too many queued messages
185 * Bug #7115: Build fails on Haiku
186 * Bug #7123: Manubulon-Plugin conf Filename wrong
187 * Bug #7139: GNUInstallDirs.cmake outdated
188 * Bug #7167: Segfault using cluster in TlsStream::IsEof
189 * Bug #7168: fping4 doesn't work correctly with the shipped command-plugins.conf
190 * Bug #7186: Livestatus hangs from time to time
191 * Bug #7195: fix memory leak ido_pgsql
192 * Bug #7210: clarify on db ido upgrades
193 * Feature #6719: Change log message for checking/sending notifications
194 * Feature #7028: Document how to use @ to escape keywords
195 * Feature #7033: Add include guards for mkclass files
196 * Feature #7034: Ensure that namespaces for INITIALIZE_ONCE and REGISTER_TYPE are truly unique
197 * Feature #7035: Implement support for unity builds
198 * Feature #7039: Figure out a better way to set the version for snapshot builds
199 * Feature #7040: Unity builds: Detect whether __COUNTER__ is available
200 * Feature #7041: Enable unity build for RPM/Debian packages
201 * Feature #7070: Explain event commands and their integration by a real life example (httpd restart via ssh)
202 * Feature #7158: Extend documentation for icinga-web on Debian systems
203
204 ### What's New in Version 2.1.0
205
206 #### Changes
207
208 * DB IDO schema upgrade ([MySQL](#upgrading-mysql-db),[PostgreSQL](#upgrading-postgresql-db) required!
209     * new schema version: **1.11.7**
210     * RPMs install the schema files into `/usr/share/icinga2-ido*` instead of `/usr/share/doc/icinga2-ido*` #6881
211 * [Information for config objects](#list-configuration-objects) using `icinga2-list-objects` script #6702
212 * Add Python 2.4 as requirement #6702
213 * Add search path: If `-c /etc/icinga2/icinga2.conf` is omitted, use `SysconfDir + "/icinga2/icinga2.conf"` #6874
214 * Change log level for failed commands #6751
215 * Notifications are load-balanced in a [High Availability cluster setup](#high-availability-notifications) #6203
216     * New config attribute: `enable_ha`
217 * DB IDO "run once" or "run everywhere" mode in a [High Availability cluster setup](#high-availability-db-ido) #6203 #6827
218     * New config attributes: `enable_ha` and `failover_timeout`
219 * RPMs use the `icingacmd` group for /var/{cache,log,run}/icinga2 #6948
220
221 #### Issues
222
223 * Bug #6881: make install does not install the db-schema
224 * Bug #6915: use _rundir macro for configuring the run directory
225 * Bug #6916: External command pipe: Too many open files
226 * Bug #6917: enforce /usr/lib as base for the cgi path on SUSE distributions
227 * Bug #6942: ExternalCommandListener fails open pipe: Too many open files
228 * Bug #6948: check file permissions in /var/cache/icinga2
229 * Bug #6962: Commands are processed multiple times
230 * Bug #6964: Host and service checks stuck in "pending" when hostname = localhost a parent/satellite setup
231 * Bug #7001: Build fails with Boost 1.56
232 * Bug #7016: 64-bit RPMs are not installable
233 * Feature #5219: Cluster support for modified attributes
234 * Feature #6066: Better log messages for cluster changes
235 * Feature #6203: Better cluster support for notifications / IDO
236 * Feature #6205: Log replay sends messages to instances which shouldn't get those messages
237 * Feature #6702: Information for config objects
238 * Feature #6704: Release 2.1
239 * Feature #6751: Change log level for failed commands
240 * Feature #6874: add search path for icinga2.conf
241 * Feature #6898: Enhance logging for perfdata/graphitewriter
242 * Feature #6919: Clean up spec file
243 * Feature #6920: Recommend related packages on SUSE distributions
244 * API - Bug #6998: ApiListener ignores bind_host attribute
245 * DB IDO - Feature #6827: delay ido connect in ha cluster
246 * Documentation - Bug #6870: Wrong object attribute 'enable_flap_detection'
247 * Documentation - Bug #6878: Wrong parent in Load Distribution
248 * Documentation - Bug #6909: clarify on which config tools are available
249 * Documentation - Bug #6968: Update command arguments 'set_if' and beautify error message
250 * Documentation - Bug #6995: Keyword "required" used inconsistently for host and service "icon_image*" attributes
251 * Documentation - Feature #6651: Migration: note on check command timeouts
252 * Documentation - Feature #6703: Documentation for zones and cluster permissions
253 * Documentation - Feature #6743: Better explanation for HA config cluster
254 * Documentation - Feature #6839: Explain how the order attribute works in commands
255 * Documentation - Feature #6864: Add section for reserved keywords
256 * Documentation - Feature #6867: add section about disabling re-notifications
257 * Documentation - Feature #6869: Add systemd options: enable, journal
258 * Documentation - Feature #6922: Enhance Graphite Writer description
259 * Documentation - Feature #6949: Add documentation for icinga2-list-objects
260 * Documentation - Feature #6997: how to add a new cluster node
261 * Documentation - Feature #7018: add example selinux policy for external command pipe
262 * Plugins - Feature #6650: Plugin Check Commands: add manubulon snmp plugins
263
264
265 ### What's New in Version 2.0.2
266
267 * Bug #6450: ipmi-sensors segfault due to stack size
268 * Bug #6479: Notifications not always triggered
269 * Bug #6501: Classic UI Debian/Ubuntu: apache 2.4 requires 'a2enmod cgi' & apacheutils installed
270 * Bug #6548: Add cmake constant for PluginDir
271 * Bug #6549: GraphiteWriter regularly sends empty lines
272 * Bug #6550: add log message for invalid performance data
273 * Bug #6589: Command pipe blocks when trying to open it more than once in parallel
274 * Bug #6621: Infinite loop in TlsStream::Close
275 * Bug #6627: Location of the run directory is hard coded and bound to "local_state_dir"
276 * Bug #6659: RPMLint security warning - missing-call-to-setgroups-before-setuid /usr/sbin/icinga2
277 * Bug #6682: Missing detailed error messages on ApiListener SSL Errors
278 * Bug #6686: Event Commands are triggered in OK HARD state everytime
279 * Bug #6687: Remove superfluous quotes and commas in dictionaries
280 * Bug #6713: sample config: add check commands location hint (itl/plugin check commands)
281 * Bug #6718: "order" attribute doesn't seem to work as expected
282 * Bug #6724: TLS Connections still unstable in 2.0.1
283 * Bug #6756: GraphiteWriter: Malformatted integer values
284 * Bug #6765: Config validation without filename argument fails with unhandled exception
285 * Bug #6768: Repo Error on RHEL 6.5
286 * Bug #6773: Order doesn't work in check ssh command
287 * Bug #6782: The "ssl" check command always sets -D
288 * Bug #6790: Service icinga2 reload command does not cause effect
289 * Bug #6809: additional group rights missing when Icinga started with -u and -g
290 * Bug #6810: High Availablity does not synchronise the data like expected
291 * Bug #6820: Icinga 2 crashes during startup
292 * Bug #6821: [Patch] Fix build issue and crash found on Solaris, potentially other Unix OSes
293 * Bug #6825: incorrect sysconfig path on sles11
294 * Bug #6832: Remove if(NOT DEFINED ICINGA2_SYSCONFIGFILE) in etc/initsystem/CMakeLists.txt
295 * Bug #6840: Missing space in error message
296 * Bug #6849: Error handler for getaddrinfo must use gai_strerror
297 * Bug #6852: Startup logfile is not flushed to disk
298 * Bug #6856: event command execution does not call finish handler
299 * Bug #6861: write startup error messages to error.log
300 * Feature #5818: SUSE packages
301 * Feature #6655: Build packages for el7
302 * Feature #6688: Rename README to README.md
303 * Feature #6698: Require command to be an array when the arguments attribute is used
304 * Feature #6700: Release 2.0.2
305 * Feature #6783: Print application paths for --version
306 * DB IDO - Bug #6414: objects and their ids are inserted twice
307 * DB IDO - Bug #6608: Two Custom Variables with same name, but Upper/Lowercase creating IDO duplicate entry
308 * DB IDO - Bug #6646: NULL vs empty string
309 * DB IDO - Bug #6850: exit application if ido schema version does not match
310 * Documentation - Bug #6652: clarify on which features are required for classic ui/web/web2
311 * Documentation - Bug #6708: update installation with systemd usage
312 * Documentation - Bug #6711: icinga Web: wrong path to command pipe
313 * Documentation - Bug #6725: Missing documentation about implicit dependency
314 * Documentation - Bug #6728: wrong path for the file 'localhost.conf'
315 * Migration - Bug #6558: group names quoted twice in arrays
316 * Migration - Bug #6560: Service dependencies aren't getting converted properly
317 * Migration - Bug #6561: $TOTALHOSTSERVICESWARNING$ and $TOTALHOSTSERVICESCRITICAL$ aren't getting converted
318 * Migration - Bug #6563: Check and retry intervals are incorrect
319 * Migration - Bug #6786: Fix notification definition if no host_name / service_description given
320 * Plugins - Feature #6695: Plugin Check Commands: Add expect option to check_http
321 * Plugins - Feature #6791: Plugin Check Commands: Add timeout option to check_ssh
322
323 #### Changes
324
325 * DB IDO schema upgrade required (new schema version: 1.11.6)
326
327 ### What's New in Version 2.0.1
328
329 * Bug #6316: application fails to start on wrong log file permissions but does not tell about it
330 * Bug #6368: Deadlock in ApiListener::RelayMessage
331 * Bug #6373: base64 on CentOS 5 fails to read certificate bundles
332 * Bug #6388: Debian package icinga2-classicui needs versioned dependency of icinga-cgi*
333 * Bug #6488: build warnings
334 * Bug #6492: icinga2.state could not be opened
335 * Bug #6493: Copyright problems
336 * Bug #6498: icinga2 cannot be built with both systemd and init.d files
337 * Bug #6510: Reminder notifications are sent on disabled services
338 * Bug #6526: htpasswd should be installed with icinga2-classicui on Ubuntu
339 * Bug #6529: parsing of double defined command can generate unexpected errors
340 * Bug #6537: Icinga doesn't send SetLogPosition messages when one of the endpoints fails to connect
341 * Bug #6551: Improve systemd service definition
342 * Bug #6565: Dependencies should cache their parent and child object
343 * Bug #6574: Check command result doesn't match
344 * Bug #6576: Remove line number information from stack traces
345 * Bug #6588: Notifications causing segfault from exim
346 * Bug #6605: Please add --sni option to http check command
347 * Bug #6612: Icinga stops updating IDO after a while
348 * Bug #6617: TLS connections are still unstable
349 * Bug #6620: icinga2-build-ca shouldn't prompt for DN
350 * Bug #6622: icinga2-sign-key creates ".crt" and ".key" files when the CA passphrase is invalid
351 * Bug #6657: ICINGA2_SYSCONFIGFILE should use full path using CMAKE_INSTALL_FULL_SYSCONFDIR
352 * Bug #6662: Increase icinga.cmd Limit
353 * Bug #6665: Build fails when MySQL is not installed
354 * Bug #6671: enabled_notification doesn't work as expected
355 * Bug #6672: Icinga crashes after "Too many queued messages"
356 * Bug #6673: enable_notifications = false for users has no effect
357 * Feature #6531: Add port option to check imap/pop/smtp and a new dig
358 * Feature #6581: Add more options to snmp check
359 * DB IDO - Bug #5577: PostgreSQL string escaping
360 * DB IDO - Bug #6577: icinga2-ido-pgsql snapshot package missing dependecy dbconfig-common
361 * Documentation - Bug #6506: Array section confusing
362 * Documentation - Bug #6592: Documentation for || and && is missing
363 * Documentation - Feature #6658: change docs.icinga.org/icinga2/latest to git master
364 * Livestatus - Bug #6494: Thruk Panorama View cannot query Host Status
365 * Livestatus - Feature #5312: OutputFormat python
366 * Migration - Bug #6559: $SERVICEDESC$ isn't getting converted correctly
367
368 #### Changes
369
370 ### Archive