categraf 监控 oracle 报错

Viewed 138

categraf 监控 oracle 使用 categraf --test --debug --inputs oracle 报错 input:local.oracle not supported

配置信息如下:

报错信息如下:

望大佬指正,错在了哪里

2 Answers

linux-amd64,是不是下载错了包

换成 categraf-v0.3.41-linux-amd64-with-cgo-plugin 可以了,但是需要使用 categraf --inputs oracle 才能把采集到的数据推送给 夜莺,使用 categraf --start 就采不到 oracle 的数据了,是有特殊配置项吗?

需要导出 LD_LIBRARY_PATH 环境变量

[Service]
Environment=LD_LIBRARY_PATH=/path/to/library/directory ,编辑后重载配置systemctl daemon-reload ,最后在重启categraf

大佬正解,感谢 !!!