Module: check_mk
Branch: master
Commit: f8cb078bcd612b08f69199db8c9a6f94bdb73156
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f8cb078bcd612b…
Author: Marcel Arentz <ma(a)mathias-kettner.de>
Date: Thu Nov 23 11:47:50 2017 +0100
5549 FIX mk_oracle.ps1: Fixed scattered information for configuration
Information about the correct configuration of the oracle plugin for windows
has been scattered around serveral places in Check_MK. As for now all needed
information is available in the script itself.
Change-Id: I9f10b91b6028da5b35704fdd20235b2b126ff914
---
.werks/5549 | 12 ++++++++++++
agents/windows/plugins/mk_oracle.ps1 | 12 ++++++++++++
2 files changed, 24 insertions(+)
diff --git a/.werks/5549 b/.werks/5549
new file mode 100644
index 0000000..aa5c97c
--- /dev/null
+++ b/.werks/5549
@@ -0,0 +1,12 @@
+Title: mk_oracle.ps1: Fixed scattered information for configuration
+Level: 1
+Component: checks
+Compatible: compat
+Edition: cre
+Version: 1.5.0i2
+Date: 1511433928
+Class: fix
+
+Information about the correct configuration of the oracle plugin for windows
+has been scattered around serveral places in Check_MK. As for now all needed
+information is available in the script itself.
diff --git a/agents/windows/plugins/mk_oracle.ps1 b/agents/windows/plugins/mk_oracle.ps1
index 2fa230f..078e643 100644
--- a/agents/windows/plugins/mk_oracle.ps1
+++ b/agents/windows/plugins/mk_oracle.ps1
@@ -55,6 +55,18 @@
# | The user can override and set variables in mk_oracle_cfg.ps1 |
# '----------------------------------------------------------------------'
+# Example configuration for ORACLE plugin for Windows
+# Set the ORACLE_HOME if we have more than one oracle home on the server
+# then we can generate the PATH based on that. Note that the tnsnames.ora
+# must then be in %ORACLE_HOME%\network\admin, or use the the environment
+# variable %TBS_ADMIN% to set to another directory.
+# $ORACLE_HOME="C:\oracle\product\12.1.0.1"
+
+# $DBUSER=@("sys", "Secret12", "SYSDBA",
"localhost", "1521")
+# $DBUSER_tst=@("sys", "Secret12", "SYSDBA",
"localhost", "1521")
+# $DBUSER_orcl=@("sys", "Secret12", "SYSDBA",
"localhost", "1521")
+# $DBUSER_orcl=@("sys", "Secret12", "SYSDBA",
"localhost", "1521")
+# $ASMUSER=@("user", "password", "SYSDBA/SYSASM",
"hostname", "port")
# what should happen when an error occurs? SilentlyContinue, Continue, Stop, and
Inquire