Icinga 2 v2.4.7 bugfix release

The fix for “notification was not sent out to any contact” introduced a new bug. When a notification is triggered but all users won’t be notified (e.g. with state = [ OK ] as filter for a problem notification) this caused the DB IDO layer to crash. The release v2.4.7 fixes that issue. Package updates are available soon-ish as always.

 

What’s New in Version 2.4.7

Bugfixes

  • Bug 11639: Crash in IdoMysqlConnection::ExecuteMultipleQueries

Icinga 2 v2.4.5 bugfix release

Bugfixes

This bugfix release v2.4.5 fixes an issue with downtimes not being expired/activated on restart. It also fixes a problem with expired but not active downtimes. Downtimes and comments added on the master are now again synced to child zones in a cluster (broken with 2.4.0).

We’ve also re-evaluated and properly tested a patch fixing the retry interval issue after the first soft state change. The IDO related fixes target the faulty “notification was not sent out to any contact” problem inside Icinga Web 2.

We’ve also got reports on large scale installations having problems with specific Ubuntu kernels using ‘epoll’ as socket engine. We’ve therefore added the possibility to set the SocketEngine to ‘poll’ which allows users a safe fallback. We’ll investigate further on this possible kernel bug.

For more details please read the Changelog.

Windows Packages

The Windows setup wizard has been overhauled in order to fix some well known bugs. The way the installer works has been changed from NSIS (.exe) to MSI packages. This further allows us to build x86 and x64 packages. The upcoming Windows Server 2016 release will add a new installation option called “nano server” which excludes the x86 (WOW64) support.

Please note an important change with the configuration and state data: Previous installations kept that underneath “C:\Program Files (x86)\ICINGA2”. The new location is the (hidden) directory “C:\ProgramData\icinga2”.

The installer will copy all files on upgrade to the new location. Once you start the Icinga 2 Wizard and it detects a running service, you’ll find a new button called “Examine Config” which opens the directory in your Windows explorer.

The chocolatey builds have been updated as well. The documentation for the Windows installation now also provides screenshots for all important steps to take.

Check Command Timeout

Currently you cannot override the timeout attribute for CheckCommand objects provided by the ITL. We’ve come up with a solution to that – you can now specify the check_timeout attribute for host and service objects. It will override the existing timeout value. That way your VMware, Windows update, etc. checks will work again smoothly without having to modify/copy the ITL CheckCommand objects.

Download

Packages for your favourite distribution should be available soon. Meanwhile check the Changelog.

Changelog

What’s New in Version 2.4.5

Changes

  • Windows Installer changed from NSIS to MSI
  • New configuration attribute for hosts and services: check_timeout (overrides the CheckCommand’s timeout when set)
  • ITL updates
  • Lots of bugfixes

Feature

  • Feature 9283: Implement support for overriding check command timeout
  • Feature 9618: Add Windows setup wizard screenshots
  • Feature 11098: Add –method parameter for check_{oracle,mysql,mssql}_health CheckCommands
  • Feature 11194: Add –units, –rate and –rate-multiplier support for the snmpv3 check command
  • Feature 11399: Update .mailmap for Markus Frosch
  • Feature 11437: Add silent install / reference to NSClient++ to documentation
  • Feature 11449: Build 64-bit packages for Windows
  • Feature 11473: Update NSClient++ to version 0.4.4.19
  • Feature 11474: Install 64-bit version of NSClient++ on 64-bit versions of Windows
  • Feature 11585: Make sure to update the agent wizard banner
  • Feature 11587: Update chocolatey uninstall script for the MSI package

Bugfixes

  • Bug 9249: logrotate fails since the “su” directive was removed
  • Bug 10624: Add application manifest for the Windows agent wizard
  • Bug 10843: DB IDO: downtime is not in effect after restart
  • Bug 11106: Too many assign where filters cause stack overflow
  • Bug 11224: Socket Exceptions (Operation not permitted) while reading from API
  • Bug 11227: Downtimes and Comments are not synced to child zones
  • Bug 11258: Incorrect base URL in the icinga-rpm-release packages for Fedora
  • Bug 11336: Use retry_interval instead of check_interval for first OK -> NOT-OK state change
  • Bug 11347: Symlink subfolders not followed/considered for config files
  • Bug 11382: Downtimes are not always activated/expired on restart
  • Bug 11384: Remove dependency for .NET 3.5 from the chocolatey package
  • Bug 11387: IDO: historical contact notifications table column notification_id is off-by-one
  • Bug 11402: Explain how to use functions for wildcard matches for arrays and/or dictionaries in assign where expressions
  • Bug 11407: Docs: Remove the migration script chapter
  • Bug 11434: Config validation for Notification objects should check whether the state filters are valid
  • Bug 11435: Icinga 2 Windows Agent does not honor install path during upgrade
  • Bug 11438: Remove semi-colons in the auto-generated configs
  • Bug 11439: Update the CentOS installation documentation
  • Bug 11440: Docs: Cluster manual SSL generation formatting is broken
  • Bug 11455: ConfigSync broken from 2.4.3. to 2.4.4 under Windows
  • Bug 11462: Error compiling icinga2 targeted for x64 on Windows
  • Bug 11475: FatalError() returns when called before Application.Run
  • Bug 11482: API User gets wrongly authenticated (client_cn and no password)
  • Bug 11484: Overwriting global type variables causes crash in ConfigItem::Commit()
  • Bug 11494: Update documentation URL for Icinga Web 2
  • Bug 11522: Make the socket event engine configurable
  • Bug 11534: DowntimesExpireTimerHandler crashes Icinga2 with
  • Bug 11542: make install overwrites configuration files
  • Bug 11559: Segfault during config validation if host exists, service does not exist any longer and downtime expires
  • Bug 11564: Incorrect link in the documentation
  • Bug 11567: Navigation attributes are missing in /v1/objects/
  • Bug 11574: Package fails to build on *NIX
  • Bug 11577: Compiler warning in NotifyActive
  • Bug 11582: icinga2 crashes when a command_endpoint is set, but the api feature is not active
  • Bug 11586: icinga2-installer.exe doesn’t wait until NSIS uninstall.exe exits
  • Bug 11592: Remove instance_name from Ido*Connection example
  • Bug 11610: Windows installer does not copy “features-enabled” on upgrade
  • Bug 11617: Vim Syntax Highlighting does not work with assign where

Team Icinga welcomes

jordanJordan JethwaDocker Maintainer

Jordan is a Web Technologist that is part of the Online Experience Management’s WCMS group at Adobe. He started as a contractor in 2011 and converted to full time a few months later. His DevOps team primary focus is to support and maintain the software and infrastructure that powers much of Adobe.com and several other related sites including the internal intranet site. Jordan created the first icinga2 Docker container based on Debian Jessie and will continue to maintain our Docker container stack for demos & tests.

 

fstrohmaierFlorian StrohmaierIcinga Web 2 Developer

Florian is working as UX designer and web developer at NETWAYS. Most recently he joined Icinga to develop and enhance Icinga Web 2 using JS, CSS and PHP voodoo.

 

76.thumbnailThomas Widhalm – Translation and Q&A

Having a first contact with Nagios as a systems engineer, Thomas became a senior consultant at NETWAYS, focusing on monitoring with Icinga and logmanagment with the elastic stack. He uses feedback he gets during his daytime job to improve documentation, translations and other small things in the Icinga codebase.

 

hjurzikHeike JurzikCommunity & Social

Heike is a technical writer and journalist. She contributes to the Icinga documentation by writing HOWTOs, blog articles and social media posts. You can also find her at various FLOSS events and conferences.

 

A warm welcome to the team :-)

Want to do more with Icinga? Documentation, community support & events, even code patches? Get in touch :)

 

Icinga 2 v2.4.4 bugfix release

We’ve come across a faulty patch in 2.4.2 which attempted to fix the retry interval in the first NOT-OK soft state. In the end it turned out to cause troubles inside HA clusters as well as with passive check results. The incorrect patch has been reverted and a proper fix is currently investigated but not included in this stable bugfix release yet.

This release also fixes problems with volatile, flapping and recovery notifications. We’ve tackled a problem with multiple directory levels on Windows in combination with the cluster config sync. Last but not least the ITL provided http and postgres check commands got several new options.

When upgrading a cluster environment please always ensure that your master and/or satellites are updated first and then all clients. While we are trying to ensure that minor versions can co-exist there were changes in 2.4.2 for example that required an update on the master and the clients. Your best bet is to keep the versions the same on all nodes.

One thing we’ve recognised on the community support channels and our bug tracker – Icinga 2 depends on the time being in sync like any other distributed application. If you haven’t done so already please enable ntp and monitor possible time differences using the check_ntp_time check plugin. Such differences may cause issues with check updates and must not harm your monitoring environments.

Updated packages for all distributions should be available soon. We’ve also updated the package repositories to support SLES 11 SP4 and SLES 12 SP1.

 

What’s New in Version 2.4.4

Feature

  • Feature 10358: ITL: Allow to enforce specific SSL versions using the http check command
  • Feature 11205: Add “query” option to check_postgres command.

Bugfixes

  • Bug 9642: Flapping notifications are sent for hosts/services which are in a downtime
  • Bug 9969: Problem notifications while Flapping is active
  • Bug 10225: Host notification type is PROBLEM but should be RECOVERY
  • Bug 10231: MkDirP not working on Windows
  • Bug 10766: DB IDO: User notification type filters are incorrect
  • Bug 10770: Status code 200 even if an object could not be deleted.
  • Bug 10795: http check’s URI is really just Path
  • Bug 10976: Explain how to join hosts/services for /v1/objects/comments
  • Bug 11107: ITL: Missing documentation for nwc_health “mode” parameter
  • Bug 11159: Common name in node wizard isn’t case sensitive
  • Bug 11208: CMake does not find MySQL libraries on Windows
  • Bug 11209: Wrong log message for trusted cert in node setup command
  • Bug 11240: DEL_DOWNTIME_BY_HOST_NAME does not accept optional arguments
  • Bug 11248: Active checks are executed even though passive results are submitted
  • Bug 11257: Incorrect check interval when passive check results are used
  • Bug 11273: Services status updated multiple times within check_interval even though no retry was triggered
  • Bug 11289: epoll_ctl might cause oops on Ubuntu trusty
  • Bug 11320: Volatile transitions from HARD NOT-OK->NOT-OK do not trigger notifications
  • Bug 11328: Typo in API docs
  • Bug 11331: Update build requirements for SLES 11 SP4
  • Bug 11349: ‘icinga2 feature list’ fails when all features are disabled
  • Bug 11350: Docs: Add API examples for creating services and check commands
  • Bug 11352: Segmentation fault during ‘icinga2 daemon -C’
  • Bug 11369: Chocolatey package is missing uninstall function
  • Bug 11385: Update development docs to use ‘thread apply all bt full’