categraf 启动 oracle 插件报错
categraf 启动报错 local.oracle not supported,这表示 categraf 不支持 Oracle 监控吗?非也
Q:categraf 监控 Oracle 使用 categraf –test –debug –inputs oracle 报错 input:local.oracle not supported
A:
Oracle 插件依赖 glibc,下载包不一样 categraf-xx-with-cgo-plugin.tar.gz ,另外需要注意 readme 中提到的环境变量导出问题。不过如果在获取 Oracle 信息时报 glibc 版本过低的问题,可以换用 https://github.com/cprobe/cprobe 监控 Oracle ,没有 glibc 依赖。
更新:
最新版本的 categraf 已经换用了 Oracle 驱动,不再依赖 glibc,可以直接使用 categraf 监控 Oracle 数据库。