【问题标题】:oracledb_exporter binary filesoracledb_exporter 二进制文件
【发布时间】:2019-09-14 15:54:48
【问题描述】:

有 Prometheus Oracle 数据库导出器https://github.com/iamseth/oracledb_exporter

在运行部分下,“/path/to/binary -l log.level error -l web.listen-address 9161”我不清楚。 在这里我没有得到“/path/to/binary”的意思,是oracle客户端还是/usr/bin/路径,或者我需要替换哪个文件?我有 RHEL7.3

设置DATA_SOURCE_NAME设置正确并在commman下运行后,抛出错误(没有这样的cmd - /path/to/binary) /path/to/binary -l log.level error -l web.listen-address 9161

请参考 ZIP/clone from location :-https://github.com/iamseth/oracledb_exporter

Oracle 数据库导出器应该启动并从 oracle 数据库中获取所需的值/状态。

【问题讨论】:

    标签: oracle prometheus


    【解决方案1】:

    如果您仍在寻找答案:

    • 最简单的方法是下载预编译版本。否则你需要自己编译:https://github.com/iamseth/oracledb_exporter/releases
    • 下载您想要的版本,例如'oracledb_exporter.0.2.2.linux-amd64.tar.gz' 并解压。
    • 您将获得一个文件夹“oracledb_exporter.0.2.2.linux-amd64”,其中包含两个文件:
      1. default-metrics.toml
      2. oracledb_exporter
    • 第二个是你需要执行的: -> /path_to/oracledb_exporter.0.2.2.linux-amd64/oracledb_exporter log.level error web.listen-address 9161

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-09-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多