-
Notifications
You must be signed in to change notification settings - Fork 237
caller=collector.go:262 level=error errorpingingoracle:="unknown URL option: wallet_location" #406
Comments
I am trying to scrap metric from OCI ATP database & I set the DATA_SOURCE_NAME as oracledb_exporter used is 0.5.2 [oracle@####################]$ ./oracledb_exporter --web.listen-address 0.0.0.0:9163 ts=2024-01-19T10:24:51.913Z caller=collector.go:262 level=error errorpingingoracle:="unknown URL option: ssl_server_dn_match" |
You should refer to
The example I gave above is not correct. You should execute the |
Thanks for reviewing & suggesting a solution.
[oracle@######## ~]$ cat go_program.go import ( func main() { }
|
Hello I managed to get the go program executing & got below connecturl oracle://user:pass@server:2484/service?TRACE FILE=trace.log&AUTH TYPE=TCPS&SSL=enable&SSL VERIFY=FALSE&WALLET=PATH+TO+WALLET I then set this as DATA_SOURCE_NAME export DATA_SOURCE_NAME=oracle://user:pass@server:2484/service?TRACE FILE=trace.log&AUTH TYPE=TCPS&SSL=enable&SSL VERIFY=FALSE&WALLET=PATH+TO+WALLET [oracle@###]$ export DATA_SOURCE_NAME=oracle://Username:Password@server:Port/Service?TRACE FILE=trace.log%26AUTH TYPE=TCPS%26SSL=enable%26SSL VERIFY=FALSE%26WALLET=/home/oracle/ATP_WALLET |
Hello All I came across another exporter which is based on this exporter originally & is enhanced actively --> https://github.com/oracle/oracle-db-appdev-monitoring . |
+1 for caller=collector.go:262 level=error errorpingingoracle:="unknown URL option: wallet_location" Since my goal was to to connect to Oracle via TCPS port this did the trick: orapki wallet create -wallet ./CAwallet -auto_login export DATA_SOURCE_NAME="oracle://user:password@myhost:2484/service?SSL=enable&WALLET=/opt/oracledb_exporter/CAwallet" |
I'm submitting a ...
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
What is the expected behavior?
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Version: X.Y.Z
The text was updated successfully, but these errors were encountered: