- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在运行collectd 5.4.2.788.gf87af5a,我也尝试过使用5.4.1。
我在日志中看到以下内容:
May 8 00:50:01 ip_172_1_1_1 collectd[19559]: Filter subsystem: Built-in target `write': Dispatching value to all write plugins failed with status 2 (ENOENT). Most likely this means you didn't load any write plugins.
我有 write_http 写入 localhost:9103 并在该端口上监听 netcat。
nc -l 9103
我的collectd.conf:
LoadPlugin write_http
<Plugin write_http>
<URL "http://127.0.0.1:9103/collectd-post">
Format "JSON"
StoreRates false
</URL>
</Plugin>
如果我启用 rrdtool,该消息就会消失,但无论是否启用 rrdtool,netcat 都不会打印任何内容,因此 write_http 不会向该套接字发送任何数据。
write_http 正在从 cpu 插件传送统计信息,但不是从我自己的 python 插件传送统计信息。但是python插件确实向rrdtool写入了任何想法吗?
一旦我验证 write_http 不能与我的 python 插件一起工作,我就在这里找到了罪魁祸首:https://github.com/collectd/collectd/issues/716使用元数据解决方法解决了该问题。
最佳答案
一旦我验证 write_http 不能与我的 python 插件一起工作,我就在这里找到了罪魁祸首:https://github.com/collectd/collectd/issues/716使用元数据解决方法解决了该问题。
关于collectd - 无法使用 write_http Collectd 插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30114112/
我正在运行collectd 5.4.2.788.gf87af5a,我也尝试过使用5.4.1。 我在日志中看到以下内容: May 8 00:50:01 ip_172_1_1_1 collectd[19
我正在尝试在collectd中为Splunk启用Write_http插件,问题是当我尝试从外部 curl 时 curl http://10.xx.xxx.x:8088/services/collect
我是一名优秀的程序员,十分优秀!