Werk #15293: mk_oracle: fix custom sql sid matching

Component Agent bakery
Title mk_oracle: fix custom sql sid matching
Date Sep 27, 2023
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.3.0b1
Not yet released
Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.3.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)
2.2.0p13 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk Cloud (CCE), Checkmk MSP (CME)

Configuration variable $SQLS_SIDS can be used to define a comma seperated list of sids for which the custom sql is executed.

Before this werk the custom sql was executed if the sid was a substring of one of the elements of the list in $SQLS_SIDS.

Now custom sql is only executed if the sid is equal to the whole element provided in $SQLS_SIDS.

To the list of all Werks