Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: 8340b27db44d6553faca7bd718c6aca7a5e7bc9c
https://github.com/tribe29/checkmk/commit/8340b27db44d6553faca7bd718c6aca7a…
Author: thomas1147 <71772009+thomas1147(a)users.noreply.github.com>
Date: 2021-09-21 (Tue, 21 Sep 2021)
Changed paths:
A .werks/13210
M cmk/base/plugins/agent_based/oracle_rman.py
M tests/unit/cmk/base/plugins/agent_based/test_oracle_rman.py
Log Message:
-----------
13210 FIX <tt>oracle_rman</tt>: Fix <tt>ValueError("cannot render
negative timespan")</tt>
For slow Oracle Databases with long running sysdate commands, the check
plugin <tt>oracle_rman</tt> might have crashed with
<tt>ValueError("cannot render negative timespan")</tt>.
This happended if the Archivelog backup was running while the agent collected
its data. With this fix, <tt>oracle_rman</tt> will report a backup age of 0
in such cases.
Closes #396
Change-Id: I703683eb840d2f7b3ec05b26c5a41e440a5ebc6f