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

dsn bug fix #79

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions oracle/oracle.yaml_latest
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
init_config:

instances:
# The Oracle check requires access to the `cx_Oracle` Python
# module. Due to restrictions on installation, this requires
# the following steps in order to be included with the agent
#
# 1. Download the relevant Oracle Instant Client:
# http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html
# Both the basic client and the client sdk will be required
# Example dir: ~/oracle
# 2. Decompress this library in a given directory available to
# all users on the given machine (i.e. /opt/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
# 3. Set required env variables for cx_Oracle installation
# export LD_RUN_PATH=/opt/oracle/instantclient_12_1
# export ORACLE_HOME=/opt/oracle/instantclient_12_1
# 4. Install instant client in agent's virtual environment
# /opt/datadog-agent/embedded/bin/pip install cx_Oracle
# 5. Following cx_Oracle installation, ensure LD_LIBRARY_PATH points
# to this directory when starting/restarting the agent
# export LD_LIBRARY_PATH=/opt/oracle/instantclient_12_1
#
- server: hostename/ip
user: ur_username
password: ur_pass
port: 1521
sid: ur_sid
tags:
- my_tag