Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing oracle integration #2460

Closed
wants to merge 6 commits into from
Closed

Testing oracle integration #2460

wants to merge 6 commits into from

Conversation

handigarde
Copy link
Contributor

No description provided.

@handigarde
Copy link
Contributor Author

Adding a note for steps needed to allow access to cx_Oracle (will also be including in oracle.yaml.example).

To install cx_Oracle the following steps are needed:

# Download Oracle Instant Client (example dir: ~/oracle)
mkdir -p /opt/oracle/ && cd /opt/oracle/
unzip ~/oracle/instantclient-basic-linux.x64-12.1.0.2.0.zip
unzip ~/oracle/instantclient-sdk-linux.x64-12.1.0.2.0.zip

export LD_RUN_PATH=/opt/oracle/instantclient_12_1
export ORACLE_HOME=/opt/oracle/instantclient_12_1

/opt/datadog-agent/embedded/bin/pip install cx_Oracle

From this point the LD_LIBRARY_PATH on the host will need to point to /opt/oracle/instantclient_12_1 when starting/restarting the agent

@truthbk
Copy link
Member

truthbk commented Nov 10, 2016

If you run into issues on this step: /opt/datadog-agent/embedded/bin/pip install cx_Oracle try the following:

ln -sf /opt/oracle/instantclient_12_1/libclntsh.so.12.1 /opt/oracle/instantclient_12_1/libclntsh.so
ln -sf /opt/oracle/instantclient_12_1/libclntshcore.so.12.1 /opt/oracle/instantclient_12_1/libclntshcore.so

after creating these symlinks please try again.

@truthbk
Copy link
Member

truthbk commented Jan 30, 2017

Hi @handigarde ,

Thanks again for your contribution, always very much appreciated. We're currently transitioning our checks to a new SDK-based model for the agent. An unfortunate side-effect is that we have to impose a freeze on the dd-agent repo. The SDK consists of two repositories https://github.com/DataDog/integrations-core and https://github.com/DataDog/integrations-extras, where all of our checks will reside. This PR would belong in the core repository. Would you be so kind as to re-open the PR there? We have facilitated some tools to help you with the SDK development that should help you get up and running in no time:

We are very sorry for the inconvenience caused.

Thank you for your patience as we make this transition!

@truthbk
Copy link
Member

truthbk commented Feb 1, 2017

@handigarde, I've taken the liberty of opening a PR here to help you transition to the SDK DataDog/integrations-extras#45

I created a patch with your work and dropped it that PR. Please feel free to continue your work there. 🙇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants