]> granicus.if.org Git - icinga2/commitdiff
Deprecate Statusdatawriter 6198/head
authorJean Flach <jean-marcel.flach@icinga.com>
Thu, 5 Apr 2018 07:32:07 +0000 (09:32 +0200)
committerJean Flach <jean-marcel.flach@icinga.com>
Thu, 5 Apr 2018 07:32:07 +0000 (09:32 +0200)
refs #6033

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

index 7c9f661de721e44e7ae35c6a95e13d8320872c9d..83f880a984ee5f8c18c7a989a4f068ea7426bfc2 100644 (file)
@@ -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`
index dd3ef329642d320ced410b751fb3a87f8a26079b..c4289b36684e36186f128bc6193a8c7237bf0fa6 100644 (file)
@@ -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();