我试图显示在石墨中收集的数据,但是我做了,但是当我更改我的collectd.conf文件(以启用更多插件)时,它没有在石墨中生成任何新树。命令:
起泡不返回错误。
PS:我使用此cmd验证2003端口:sudo netstat -tulpn
tcp 0 0 0.0.0.0:2003 0.0.0.0:* LISTEN 52773/python
我的collecd.conf中的write_graphite
<Plugin write_graphite>
<Node "graphite">
Host "localhost"
Port "2003"
Protocol "tcp"
LogSendErrors true
Prefix "collectd"
# Postfix "collectd"
StoreRates true
# AlwaysAppendDS false
EscapeCharacter "_"
</Node>
</Plugin>
和我的storage-schemas.conf
[carbon]
pattern = ^carbon\.
retentions = 60:90d
[collectd]
pattern = ^collectd.*
retentions = 10s:1d,1m:7d,10m:1y
[default_1min_for_1day]
pattern = .*
retentions = 60s:1d
[carbon]
pattern = ^carbon\.
retentions = 60:90d
[collectd]
pattern = ^collectd.*
retentions = 10s:1d,1m:7d,10m:1y
[default_1min_for_1day]
pattern = .*
retentions = 60s:1d
我不知道我是否在这里错过了什么!任何建议都可以帮助我! 谢谢