我一直试图让石墨在过去几个小时内扩展,并且出于某种原因,碳中继似乎没有将数据传递到我的碳缓存端点。如果我在每个主机上运行碳缓存并通过这些端口发送数据,一切都按预期工作,任何想法?
打折显而易见:
carbon.conf
[cache]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2013
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2014
[relay]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2003
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2004
DESTINATIONS = 1.1.1.1:2014, 2.2.2.2:2014
中继rules.conf
default = true
destinations = 1.1.1.1:2014, 2.2.2.2:2014
在每个主持人身上:
/opt/graphite/bin/carbon-cache.py start /opt/graphite/bin/carbon-relay.py start
在每个主机上将数据发送到端口2013单独工作正常,这意味着所有内容都在whisper目录下创建。
如果我将相同的数据发送到端口2003,我会在listen -log中看到以下内容用于碳中继服务,但是我在该服务器的碳缓存日志中看不到任何内容:
31/07/2014 19:18:56 :: MetricLineReceiver connection with 70.114.169.16:53421 established
31/07/2014 19:18:56 :: MetricLineReceiver connection with 70.114.169.16:53421 closed cleanly
非常感谢任何帮助。