mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
Merge pull request #6063 from Icinga/deprecate-checkresultreader-6031
Deprecate CheckResultReader
This commit is contained in:
commit
a9e8128411
@ -766,6 +766,9 @@ in `/var/log/icinga2/compat`. Rotated log files are moved into
|
|||||||
|
|
||||||
## Check Result Files <a id="check-result-files"></a>
|
## 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
|
Icinga 1.x writes its check result files to a temporary spool directory
|
||||||
where they are processed in a regular interval.
|
where they are processed in a regular interval.
|
||||||
While this is extremely inefficient in performance regards it has been
|
While this is extremely inefficient in performance regards it has been
|
||||||
|
@ -60,6 +60,8 @@ void CheckResultReader::Start(bool runtimeCreated)
|
|||||||
|
|
||||||
Log(LogInformation, "CheckResultReader")
|
Log(LogInformation, "CheckResultReader")
|
||||||
<< "'" << GetName() << "' started.";
|
<< "'" << GetName() << "' started.";
|
||||||
|
Log(LogWarning, "CheckResultReader")
|
||||||
|
<< "The CheckResultReader feature is deprecated and will be removed with Icinga 2.10.0";
|
||||||
|
|
||||||
#ifndef _WIN32
|
#ifndef _WIN32
|
||||||
m_ReadTimer = new Timer();
|
m_ReadTimer = new Timer();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user