Hi @weltenwort
Everything should be installed according to the requirements. However, we currently use version 19.3 of the Oracle client!
I'm running everything on a Windows host so I'm not sure if LD_LIBRARY_PATH is required or only the standard PATH in Windows, but I've tried both without luck.
I'm not at all knowledgeable about Oracle, so I can only try to make sure it's not a metricbeat problem. The ORA-12560 seems to be a very generic transport error, but at least it seems to be able to pick up the shared library. Can you connect to the DB using a different client from the machine in question using the same credentials?
Yes - that is working great.
But it seems that the service name is lost when the metricbeat is trying to connect. We can't use SID and my host configuration is like this (without username/password):
The examples in the metricbeat Oracle module docs show the connection string in hosts as user:pass@host:port/db without the oracle:// prefix and with the username and password being embedded in the string. Did you try that?
Weird, but at least an improvement. Looking at the metricbeat module code the string is just passed to the ParseConnString() function of the godror package, so maybe one of the other connection string formats works, such as
I Don't have anything in my yml file indicating that the metricbeat should do a connection to 0.0.0.0 and I didn't change the username/password - it says user:pass in the log!
Your error is a bit weird, not sure if related to your specific oracle version or something in the oracle library. While I investigate a bit more, can you try to connect as sysdba but like oracle://10.48.179.59:1521/(service name) AS SYSDBA instead of sysdba=1. It's a long shot but maybe it's related, I think the error comes from Oracle complaining about an invalid SID
I've been adding my settings in the metricbeat.yml file but I see that you have the settings in the modules.d files and 0.0.0.0 is the default value of that file.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.