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

Komponente Checks & agents
Titel mk_oracle.ps1: Fix crash if registry key isn't present
Datum 25.04.2022
Checkmk-Editon Checkmk Raw (CRE)
Checkmk-Version 2.2.0i1 2.1.0b7 2.0.0p24
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

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.

Zur Liste aller Werks