Graphite-carbon-relay does not work

I have two graphite settings, and I'm trying to transfer traffic between them, but for some reason the carbon relay does not work. My cache works in 2003/2004 and is relayed in 2013/2014. The configurations are as follows:

#carbon file


[cache:b]
LINE_RECEIVER_PORT = 2003
PICKLE_RECEIVER_PORT = 2004
CACHE_QUERY_PORT = 7012



[relay]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2013
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2014
RELAY_METHOD = rules

REPLICATION_FACTOR = 1

 DESTINATIONS = 127.0.0.1:2003:a, aa.bb.cc.dd:2003:b


#relay-rules file

[default]
default = true
destinations = 127.0.0.1:2003:a, aa.bb.cc.dd:2003:b

Any pointers will be helpful
+3
source share
1 answer

As part of a recent project at work, I realized that carbon daemons use the PICKLE protocol when sending data to destinations.

Thus, the purpose of the carbon relay should be the port of the crane salinity salinity receiver.

#carbon.conf
....

[relay]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT = 2013
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT = 2014
RELAY_METHOD = rules

REPLICATION_FACTOR = 1

DESTINATIONS = 127.0.0.1:2004:a, aa.bb.cc.dd:2004:b

Also modify relay-rules.conf with the same addresses specified in carbon.conf relay-rules.conf .....

[default]
default = true 
destinations = 127.0.0.1:2004:a, aa.bb.cc.dd:2004:b
+7
source

All Articles