oracledb_exporter icon indicating copy to clipboard operation
oracledb_exporter copied to clipboard

Can't connect to ASM instance

Open ostertagconrad opened this issue 1 year ago • 0 comments

I'm submitting a ...

  • [x] feature request

What is the current behavior?

user@host ~ $ DATA_SOURCE_NAME='oracle://exporter:password@localhost:1521/+ASM?DBA PRIVILEGE=sysasm' /usr/bin/oracle_exporter --default.metrics "/etc/oracle_exporter/asm-metrics.toml" --web.listen-address host.domain.de:9161
ts=2023-08-07T14:35:20.066Z caller=collector.go:262 level=error Errorpingingoracle:="ORA-15000: command disallowed by current instance type\n"

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

  • connect to an ASM instance

What is the expected behavior?

  • Exporter connects to ASM instance

What is the motivation / use case for changing the behavior?

  • get metrics/data from an ASM instance

Please tell us about your environment:

OS: Oracle Linux 8 Database: Oracle Grid/RDBMS 19.19 Exporter Version: 0.5.1

For me it looks like some component is doing some basic query which is not supoorted in an ASM instance.

ostertagconrad avatar Aug 07 '23 14:08 ostertagconrad