Prometheus oracle
2022-07-03 本文已影响0人
JepWei
1.数据库创建用户
sqlplus / as sysdba
create user weizefeng identified by 123456;
grant create session to weizefeng;
grant dba to weizefeng;
GRANT CONNECT, RESOURCE TO weizefeng;
exit
2.拉取镜像
docker pull iamseth/oracledb_exporter
3.运行镜像
docker run --name oracledb_exporter -p 9161:9161 -e DATA_SOURCE_NAME=weizefeng/123456@192.168.0.128:1521/orcl -d iamseth/oracledb_exporter