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

Werk #14043: mk_oracle.ps1: Fix crash if registry key isn't present

Component Checks & agents
Title mk_oracle.ps1: Fix crash if registry key isn't present
Date Apr 25, 2022
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.2.0b1 Checkmk Community, Checkmk Pro, Checkmk Ultimate, Checkmk Ultimate MT
2.1.0b7 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT
2.0.0p24 Checkmk Community, Checkmk Pro, Checkmk Ultimate MT

In some environments "HKLM:\SYSTEM\CurrentControlSet\services\OracleService{ORACLE_SID}" registry key was missing which caused the agent to crash. Now, if this key isn't present we use "HKLM:\SYSTEM\CurrentControlSet\services\OracleASMService{ORACLE_SID}" registry key instead.

To the list of all Werks