[icinga-checkins] icinga.org: icinga-core/rbartels/cgi-current: idoutils: update oracle hints in ido2db.cfg with tnsnames.ora and port cfg #1283

git at icinga.org git at icinga.org
Thu Mar 17 10:56:03 CET 2011


Module: icinga-core
Branch: rbartels/cgi-current
Commit: 571c599be801eb77e67cf36eb93612b98b30c6e5
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=571c599be801eb77e67cf36eb93612b98b30c6e5

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Wed Mar 16 18:06:19 2011 +0100

idoutils: update oracle hints in ido2db.cfg with tnsnames.ora and port cfg #1283

fixes #1283

---

 Changelog                                   |    2 ++
 module/idoutils/config/ido2db.cfg-sample.in |   13 +++++++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/Changelog b/Changelog
index 11d97bd..61b109f 100644
--- a/Changelog
+++ b/Changelog
@@ -27,6 +27,8 @@ FIXES
 * classic ui: don't show pause/continue urls on non-refreshable pages
 * classic ui: fix segfaults if no default_user_name= given in cgi.cfg #1289
 
+* idoutils: update oracle hints in ido2db.cfg with tnsnames.ora and port cfg #1283
+
 * install: replace configure option --with-checkresults-dir by --with-spool-dir #1224
 * install: use *.so instead of *.o for solaris, patch in contrib/solaris/ #524
 
diff --git a/module/idoutils/config/ido2db.cfg-sample.in b/module/idoutils/config/ido2db.cfg-sample.in
index d2a2612..ffef2d3 100644
--- a/module/idoutils/config/ido2db.cfg-sample.in
+++ b/module/idoutils/config/ido2db.cfg-sample.in
@@ -103,6 +103,8 @@ db_host=localhost
 # 	3306 = Default MySQL port
 #	5432 = Default PostgreSQL port
 #       1521 = Default Oracle port
+#
+# Note: ocilib will ignore this, you have to modify your tnsnames.ora
 
 db_port=3306
 
@@ -110,7 +112,12 @@ db_port=3306
 
 # DATABASE NAME
 # This option specifies the name of the database that should be used.
-# Note: Oracle needs //DBSERVER/DBNAME
+#
+# Note: Oracle with ocilib requires tnsnames.ora filled with host, port
+# and database information. you can use the SID then with ocilib and
+# one of the following:
+# 	//DBSERVER/SID
+#	SID
 
 db_name=icinga
 
@@ -120,7 +127,9 @@ db_name=icinga
 # Determines the prefix (if any) that should be prepended to table names.
 # If you modify the table prefix, you'll need to modify the SQL script for
 # creating the database!
-# Note: Oracle will ignore this prefix since the tablename length will exceed 30 characters.
+#
+# Note: Oracle will ignore this prefix since the tablename length will exceed
+# 30 characters.
 
 db_prefix=icinga_
 





More information about the icinga-checkins mailing list