Icinga2 - Moteur de monitoring
Find a file
Dominik Bay 33ef1cf751 Restore single-argument Json.decode() in the DSL
The recursion depth limit added to JsonDecode() in 2.16.2 gave the C++
function a second parameter with a default value. Function pointers do not
carry default arguments, so the DSL function binding deduced an arity of 2
via boost::function_types::function_arity and required two arguments. As a
result `Json.decode("...")` failed with "Too few arguments for function",
an undocumented breaking change in a patch release.

Wrap JsonDecode() in a single-argument shim (mirroring the existing
JsonEncodeShim) so the registered function keeps its one-parameter contract
while still applying the default depth limit internally.

refs #10913

(cherry picked from commit d29ac491f2)
2026-06-30 12:46:07 +00:00
.github GHA: Windows: run on Windows Server 2022 2026-06-17 13:11:10 +00:00
agent Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
choco Don't upload 32 bit MSIs to Chocolatey 2026-03-12 16:59:58 +01:00
cmake Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
doc Add upgrading docs explaining the config file change for logrotate 2026-06-30 07:42:12 +00:00
etc OTLP: Set enable_ha to true by default 2026-04-01 12:18:21 +02:00
icinga-app Add common OTel type/lib 2026-04-01 12:18:21 +02:00
icinga-installer Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
itl Add a check command for NETGEAR monitoring (#10753) 2026-03-31 15:15:34 +02:00
lib Restore single-argument Json.decode() in the DSL 2026-06-30 12:46:07 +00:00
plugins Replace all existing copyright headers with SPDX headers 2026-02-04 14:00:05 +01:00
test Restore single-argument Json.decode() in the DSL 2026-06-30 12:46:07 +00:00
third-party CMake: provide newer FindProtobuf.cmake for old CMake version 2026-04-01 12:18:21 +02:00
tools Bump OpenSSL shipped for Windows to v3.5.7 2026-06-23 09:06:04 +02:00
.gitattributes Exclude debian/ from git-archive and dist tarballs. 2013-11-11 22:03:31 +01:00
.gitignore SELinux: Let safe-reload run in icinga2_t 2020-02-27 08:45:33 +01:00
.mailmap .mailmap: Merge Alvar email addresses 2025-06-17 11:15:16 +02:00
AUTHORS docs: note OTLP metrics package limitation on Debian 11 and Ubuntu 22.04 and Amazon Linux 2 2026-05-05 11:29:12 +00:00
CHANGELOG.md Release v2.16.2 2026-06-23 17:02:41 +02:00
CMakeLists.txt Also execute JsonDecode stack size test in pthread if available 2026-06-24 11:16:36 +02:00
config.h.cmake Also execute JsonDecode stack size test in pthread if available 2026-06-24 11:16:36 +02:00
Containerfile Containerfile: install all required Protobuf libs for OTel 2026-04-01 12:18:21 +02:00
CONTRIBUTING.md GHA: complain if PR adds commits from people not yet listed in ./AUTHORS 2023-11-21 12:40:16 +01:00
icinga-spec-version.h.cmake Set versions for all internal libraries 2016-08-25 17:56:18 +02:00
icinga-version.h.cmake Fix Windows .exe version v2.12.0 -> 2.12.0 2020-09-11 15:56:51 +02:00
ICINGA2_VERSION Release v2.16.2 2026-06-23 17:02:41 +02:00
LICENSE.md Rename COPYING -> LICENSE.md & upgrade to GPLv3 2026-02-04 14:01:09 +01:00
mkdocs.yml Docs: Align local mkdocs config 2019-09-17 12:54:43 +02:00
NEWS icinga.com: Update everything else 2018-10-18 09:50:53 +02:00
publiccode.yml publiccode.yml: update to GPL 3 (or later) 2026-04-20 16:31:43 +02:00
README.md Rename COPYING -> LICENSE.md & upgrade to GPLv3 2026-02-04 14:01:09 +01:00

Github Tag

Icinga 2

Icinga Logo

Table of Contents

  1. About
  2. Installation
  3. Documentation
  4. Support
  5. License
  6. Contributing

About

Icinga is a monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting.

Scalable and extensible, Icinga can monitor large, complex environments across multiple locations.

Icinga 2 is the monitoring server and requires Icinga Web 2 on top in your Icinga Stack. The configuration can be easily managed with either the Icinga Director, config management tools or plain text within the Icinga DSL.

Icinga Dashboard

Installation

Once Icinga Server and Web are running in your distributed environment, make sure to check out the many Icinga modules for even better monitoring.

Documentation

The documentation is available on icinga.com/docs.

Support

Check the project website for status updates. Join the community channels for questions or ask an Icinga partner for professional support.

License

Icinga 2 and the Icinga 2 documentation are licensed under the terms of the GNU General Public License Version 3 or later, you will find a copy of this license in the LICENSE.md file included in the source package.

In addition, as a special exception, the copyright holders give permission to link the code of portions of this program with the OpenSSL library under certain conditions as described in each individual source file, and distribute linked combinations including the two.

You must obey the GNU General Public License in all respects for all of the code used other than OpenSSL. If you modify file(s) with this exception, you may extend this exception to your version of the file(s), but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. If you delete this exception statement from all source files in the program, then also delete it here.

Note

Historically, Icinga 2 has been licensed under the GNU General Public License Version 2 or later. However, due to newly introduced dependencies licensed under the Apache License 2.0 (which is not compatible with GPLv2), we have decided to upgrade the license of Icinga 2 to GPLv3+, effective from version v2.16.0 onwards. All versions prior to v2.16.0 and all existing source code files remain licensed under GPLv2+ (see the license information in those files).

Also, the OpenSSL linking exception is only relevant for OpenSSL 1.x. OpenSSL >= 3.0 is licensed under the Apache License version 2.0, which is compatible with GPLv3 and no longer requires an exception.

Contributing

There are many ways to contribute to Icinga -- whether it be sending patches, testing, reporting bugs, or reviewing and updating the documentation. Every contribution is appreciated!

Please continue reading in the contributing chapter.

If you are a packager, please read the development chapter for more details.

Security Issues

For reporting security issues please visit this page.