收集不发送数据到石墨

时间:2019-10-25 15:05:19

标签: graphite collectd graphite-carbon

我试图显示在石墨中收集的数据,但是我做了,但是当我更改我的collectd.conf文件(以启用更多插件)时,它没有在石墨中生成任何新树。命令:

  • sudo服务缓存碳起始=> [确定]
  • 收集到的sudo服务开始=> [确定]

起泡不返回错误。

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

我不知道我是否在这里错过了什么!任何建议都可以帮助我! 谢谢

0 个答案:

没有答案