Werk #13911: Improve RRD logging when path to DB is missing

Komponente Livestatus
Titel Improve RRD logging when path to DB is missing
Datum 13.07.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1 2.1.0p7
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Attempts to flush the DB when the path to the RRD database is missing would produce the rather unhelpful error

"Error flushing RRD: Usage: rrdtool flushcached [--daemon|-d ] [ ...]"

This fix removes the flushing attempt and silences the corresponding error in the log.

Zur Liste aller Werks