]> granicus.if.org Git - icinga2/commitdiff
Deprecate CheckResultReader 6063/head
authorJean Flach <jean-marcel.flach@icinga.com>
Fri, 2 Feb 2018 12:10:36 +0000 (13:10 +0100)
committerJean Flach <jean-marcel.flach@icinga.com>
Fri, 2 Feb 2018 12:51:20 +0000 (13:51 +0100)
fixes #6031

doc/14-features.md
lib/compat/checkresultreader.cpp

index 548b60167f29bc548126d03e32f6f07d677b9772..215400b8f9b33e95862bc754ee9a201568dbd420 100644 (file)
@@ -766,6 +766,9 @@ in `/var/log/icinga2/compat`. Rotated log files are moved into
 
 ## Check Result Files <a id="check-result-files"></a>
 
+> **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
index 557b9037da09667cdcd22cc66eba3c445f1ba50e..8b0d733a2e3b58e5e4098ef5c12d25a114daf552 100644 (file)
@@ -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();