From checkmk-werks-lvl1@lists.checkmk.com Mon Aug 21 06:58:19 2023 From: Checkmk werks level 1 To: checkmk-werks-lvl1@lists.checkmk.com Subject: Checkmk Werk 15289: mk_oracle: Revert werk 15559, use tnsping when available Date: Mon, 21 Aug 2023 08:58:17 +0200 Message-ID: <1692601097.338929.1054398.nullmailer@review.lan.tribe29.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2440914972293159081==" --===============2440914972293159081== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable ID: 15289 Title: mk_oracle: Revert werk 15559, use tnsping when available Component: agents Level: 1 Class: Bug fix Version: 2.3.0b1 Werk 15559 removed the invocat= ion of tnsping. tnsping was used to check if the tns-alias could be reached. If it could not be reached via tnsping, hostname and port is used to conne= ct to the database. With Werk 15559 the invocation= of tnsping was completely removed. tns-alias was always used. This lead to problems with different configurations of mk_oracle. This change introduces a check if the tnsping binary is available. If the binary is available, the logic of mk_oracle before Werk 15559 is restored. If the binary is not available, it is assumed that the tns-alias can be reached. --===============2440914972293159081==--