美文网首页
Prometheus oracle

Prometheus oracle

作者: JepWei | 来源:发表于2022-07-03 01:05 被阅读0次

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

4.等待一分钟

grafana模板代码:11121

相关文章

网友评论

      本文标题:Prometheus oracle

      本文链接:https://www.haomeiwen.com/subject/ekarbrtx.html