From: Jean Flach Date: Fri, 2 Feb 2018 12:10:36 +0000 (+0100) Subject: Deprecate CheckResultReader X-Git-Tag: v2.9.0~175^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=refs%2Fpull%2F6063%2Fhead;p=icinga2 Deprecate CheckResultReader fixes #6031 --- diff --git a/doc/14-features.md b/doc/14-features.md index 548b60167..215400b8f 100644 --- a/doc/14-features.md +++ b/doc/14-features.md @@ -766,6 +766,9 @@ in `/var/log/icinga2/compat`. Rotated log files are moved into ## Check Result Files +> **Note** +> This feature is deprecated and will be removed with Icinga 2.10.0 + Icinga 1.x writes its check result files to a temporary spool directory where they are processed in a regular interval. While this is extremely inefficient in performance regards it has been diff --git a/lib/compat/checkresultreader.cpp b/lib/compat/checkresultreader.cpp index 557b9037d..8b0d733a2 100644 --- a/lib/compat/checkresultreader.cpp +++ b/lib/compat/checkresultreader.cpp @@ -60,6 +60,8 @@ void CheckResultReader::Start(bool runtimeCreated) Log(LogInformation, "CheckResultReader") << "'" << GetName() << "' started."; + Log(LogWarning, "CheckResultReader") + << "The CheckResultReader feature is deprecated and will be removed with Icinga 2.10.0"; #ifndef _WIN32 m_ReadTimer = new Timer();