-
Notifications
You must be signed in to change notification settings - Fork 0
/
oracle.yaml
32 lines (31 loc) · 1.36 KB
/
oracle.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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