This issue has been migrated from Redmine: https://dev.icinga.com/issues/1291
Created by pdeneu on 2011-03-16 14:40:18 +00:00
Status: Closed (closed on 2011-05-19 08:51:33 +00:00)
Target Version: (none)
Last Update: 2014-12-08 14:46:16 +00:00 (in Redmine)
Icinga Version: 1.10.0
OS Version: any
same bug like this for postgresql (https://dev.icinga.org/issues/825) is actual in 1.3 for oracle.
After creating a iptables nat policies from port 1521 to port 1522 in my configuration the ido process wrote my data to the database.
Environment is rhel6 x64 with ocilib-3.8.1 and oracle 11.x on remote site.
Updated by mfriedrich on 2011-03-16 14:46:30 +00:00
you have to define that in your tnsnames.ora since the port is not passed to ocilib. if you find an option in ocilib to assign that to the connection establishment through oracle libs, let me know.
Updated by Tommi on 2011-03-20 08:22:43 +00:00
you might consider use of Oracle EZConnect-Syntax for db_name, which allows to set different port ([//][host][:port][/service_name] see http://www.orafaq.com/wiki/EZCONNECT ). You need to add ezconnect adapter to your sqlnet.ora (NAMES.DIRECTORY_PATH=(ezconnect, tnsnames) for enabling this
Updated by mfriedrich on 2011-05-19 08:51:33 +00:00
hints have been added to ido2db.cfg and tnsnames.ora is also mentioned on the docs. should be sufficient for future configurations.
Updated by mfriedrich on 2014-12-08 14:46:16 +00:00