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

Component Livestatus
Title Improve RRD logging when path to DB is missing
Date Jul 13, 2022
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.2.0i1 2.1.0p7
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

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.

To the list of all Werks