Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: e6347623e4c62d64e2ae0c458158add3ac4978c5
https://github.com/tribe29/checkmk/commit/e6347623e4c62d64e2ae0c458158add3a…
Author: Mathias Laurin <mathias.laurin(a)tribe29.com>
Date: 2022-07-13 (Wed, 13 Jul 2022)
Changed paths:
A .werks/13911
M livestatus/src/RRDColumn.cc
Log Message:
-----------
13911 FIX Improve RRD logging when path to DB is missing
Calling `rrdtool flushcached --daemon ...` without the required `file`
argument spams the log file with unhelpful messages such as
Error flushing RRD: Usage: rrdtool rrdtool flushcached [--daemon|-d <addr>]
<file> [<file> ...]
---
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 <addr>]
<file> [<file> ...]"
This fix removes the flushing attempt and silences the
corresponding error in the log.
---
SUP-10577
Change-Id: Iee8d308b38fc5107b1defd2de459aac1fec7766c