graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #03566
Re: [Question #216002]: Does the Carbon aggregator support UDP?
Question #216002 on Graphite changed:
https://answers.launchpad.net/graphite/+question/216002
Status: Open => Answered
Curt Kersey proposed the following answer:
Hrishikesh,
Yes, the carbon aggregator does support UDP - I am using it. You can copy the UDP listener configuration to the [aggregator] section. The only thing to know in addition to that is that the aggregator will send to carbon cache's pickle port, so you will need to make sure your configuration is correct for that.
Here are snip-its from my configuration to show it working. Also - look
in the log files once you have started the carbon-cache and carbon-
aggregator services on your host. You will see messages in there that
show the aggregator and cache are communicating with each other.
Sample configuration (partial - only showing network ports for
communication):
[cache]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT 2023
PICKLE_RECEIVER_INTERFACE = 0.0.0.0
PICKLE_RECEIVER_PORT 2004
[aggregator]
LINE_RECEIVER_INTERFACE = 0.0.0.0
LINE_RECEIVER_PORT 2003
ENABLE_UDP_LISTENER = True
UDP_RECEIVER_INTERFACE = 0.0.0.0
UDP_RECEIVER_PORT 2003
DESTINATIONS = 127.0.0.1:2004
In this configuration, packets are received by aggregator via UDP on
port 2003, and it forwards the metrics to carbon cache on pickle port
2004.
--Curt
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.