简体   繁体   English

collectd-如何安装write_riemann插件

[英]collectd-how to install write_riemann plugin

I'm new to collectd and Riemann. 我是新手收集和黎曼。 Im essentially trying to direct collectd logs to a riemann server instance. 我本质上是试图将收集日志定向到riemann服务器实例。 I understand that I need write_riemann plugin installed. 我知道我需要安装write_riemann插件。 I tried compiling the source files for write_riemann available online, but it includes a file called "riemann.pb-ch", which is no where to be found. 我尝试在线编译write_riemann的源文件,但它包含一个名为“riemann.pb-ch”的文件,这个文件无处可寻。 Please help! 请帮忙!

Download the binary. 下载二进制文件。 After running the build script, while running the configure script include "--enable-write_riemann", this should install it. 运行构建脚本后,在运行configure脚本时包含“--enable-write_riemann”,这应该安装它。 I had a lot of dependencies missing on CentOS, which threw a lot of errors. 我在CentOS上缺少很多依赖项,这会导致很多错误。 Once they were installed, write_riemann plugin was compiled and installed. 安装完成后,编译并安装了write_riemann插件。 Another issue you might face while installing the dependency is not able to find the right packages for protobuf-cI was using yum package installer. 安装依赖项时可能遇到的另一个问题是无法找到protobuf-cI使用yum软件包安装程序的正确软件包。 Go to sudo vi /etc/yum.repos.d/epel.repo and change enabled from 0 to 1. After this, the protobuf-c processor was recognised while running the configure script. 转到sudo vi /etc/yum.repos.d/epel.repo并将启用从0更改为1.此后,运行configure脚本时会识别protobuf-c处理器。 This solved my issue. 这解决了我的问题。 Hope it does yours too! 希望它也是你的!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM