mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-07 20:25:08 +02:00
Merge pull request #6198 from Icinga/deprecate-statusdatawriter
Deprecate Statusdatawriter
This commit is contained in:
commit
8eec0487bb
@ -737,6 +737,9 @@ A detailed list on the available table attributes can be found in the [Livestatu
|
||||
|
||||
## Status Data Files <a id="status-data"></a>
|
||||
|
||||
> **Note**
|
||||
> This feature is deprecated and will be removed with Icinga 2.10.0
|
||||
|
||||
Icinga 1.x writes object configuration data and status data in a cyclic
|
||||
interval to its `objects.cache` and `status.dat` files. Icinga 2 provides
|
||||
the `StatusDataWriter` object which dumps all configuration objects and
|
||||
@ -747,7 +750,6 @@ status updates in a regular interval.
|
||||
If you are not using any web interface or addon which uses these files,
|
||||
you can safely disable this feature.
|
||||
|
||||
|
||||
## Compat Log Files <a id="compat-logging"></a>
|
||||
|
||||
The Icinga 1.x log format is considered being the `Compat Log`
|
||||
|
@ -77,6 +77,9 @@ void StatusDataWriter::Start(bool runtimeCreated)
|
||||
Log(LogInformation, "StatusDataWriter")
|
||||
<< "'" << GetName() << "' started.";
|
||||
|
||||
Log(LogWarning, "StatusDataWriter")
|
||||
<< "The StatusDataWriter feature is deprecated and will be removed with Icinga 2.10.0";
|
||||
|
||||
m_ObjectsCacheOutdated = true;
|
||||
|
||||
m_StatusTimer = new Timer();
|
||||
|
Loading…
x
Reference in New Issue
Block a user