Werk #13210: oracle_rman: Fix ValueError("cannot render negative timespan")

Component Checks & agents
Title oracle_rman: Fix ValueError("cannot render negative timespan")
Date Sep 21, 2021
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p12 2.1.0b1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

For slow Oracle Databases with long running sysdate commands, the check plugin oracle_rman might have crashed with ValueError("cannot render negative timespan").

This happended if the Archivelog backup was running while the agent collected its data. With this fix, oracle_rman will report a backup age of 0 in such cases.

To the list of all Werks