Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #16899: oracle_locks: allow checking w/o setting a state

Component Checks & agents
Title oracle_locks: allow checking w/o setting a state
Date Oct 22, 2024
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.4.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.3.0p20 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.2.0p36 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT

Setting levels for oracle_locks to (0, 0) or not setting any levels at all makes the check plugin either compare with 0 or with default levels, making it impossible to avoid WARN or CRIT results without fully disabling the check.

This change skips checking against levels if both warn and crit levels have been set to 0, thus keeping the behavior for default levels.

To the list of all Werks