database port for oracle not honoured in ido2db.cfg
|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.
#1 Updated by dnsmichi over 4 years ago
- Status changed from New to Feedback
- Priority changed from High to Low
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.
#2 Updated by Tommi over 4 years ago
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