Closed Thymos2k closed 2 years ago
Hallo,
If you look at the stacktrace you'll see that the error is not trying to find the driver but the JVM (jvm_path = jpype.getDefaultJVMPath()
) and then it's erroring trying to access one possible default location for it (OSError: [Errno 2] No such file or directory: '/usr/lib/jvm'
). This can be either because the agent does not have permissions to access this directory or because the directory does indeed not exists and the JVM is located elsewhere. If it's the former you'll need to grant the appropriate permissions and if it's the later then you'll need to set JAVA_HOME as described in the documentation. If you need more assistance with this issue please contact support.
Hi guys,
We are trying to setup the oracle integration for datadog on a linux-server without the oracle instant client installed. The datadog manual states that this is possible if one uses the oracle jdbc driver instead. To use the driver one has to set the path to the driver at the "jdbc_driver_parameter" in the conf.yaml-file of the oracle integration. That is what we have done (see content of conf-file below) but datadog is not using the driver. We assume this because the error message stays the same after changing the parameter and restarting the agent.
What we have already tried:
We have also tried to set the path to the driver to a path that does not exist. Even then the error message in the logs of the agent stayed the same. That led us to the conclusion that there must be a general issue with the usage of the jdbc_driver_parameter in the conf.yaml of the oracle integration.
Best regards
Output of the info page
=============== Agent (v6.19.2)
Status date: 2021-11-25 11:06:09.691383 CET Agent start: 2021-11-17 12:56:21.548352 CET Pid: 301 Go Version: go1.13.8 Python Version: 2.7.17 Build arch: amd64 Check Runners: 4 Log Level: info
Paths
Clocks
Host Info
Hostnames
Metadata
========= Collector
Running Checks
======== JMXFetch
Initialized checks
Failed checks
========= Forwarder
Transactions
Transaction Errors
API Keys status
========== Endpoints
https://app.datadoghq.eu - API Key ending with:
========== Logs Agent
============ System Probe
System Probe is not running:
========= Aggregator
Checks Metric Sample: 9,141,442 Dogstatsd Metric Sample: 3,537,009 Event: 1 Events Flushed: 1 Number Of Flushes: 45,639 Series Flushed: 9,037,136 Service Check: 457,914 Service Checks Flushed: 503,550
========= DogStatsD
Event Packets: 0 Event Parse Errors: 0 Metric Packets: 3,537,008 Metric Parse Errors: 0 Service Check Packets: 0 Service Check Parse Errors: 0 Udp Bytes: 226,277,172 Udp Packet Reading Errors: 0 Udp Packets: 3,537,009 Uds Bytes: 0 Uds Origin Detection Errors: 0 Uds Packet Reading Errors: 0 Uds Packets: 0
Additional environment details (Operating System, Cloud provider, etc): linux
Steps to reproduce the issue:
Describe the results you received: Datadog did not use the jdbc-driver of the conf.yaml
Describe the results you expected: Datadog uses the jdbc-driver of the conf.yaml
Additional information you deem important (e.g. issue happens only occasionally): Content conf.yaml of oracle integration: