Last active
August 29, 2015 13:57
-
-
Save gardart/9400042 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure Graphite Carbon | |
# | |
# Add UDP:2003 port to Firewall (before reject line) | |
sed -i '/REJECT/ i\-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 2003 -j ACCEPT' /etc/sysconfig/iptables | |
# Turn on UDP in Carbon Aggregator | |
sed -i 's/ENABLE_UDP_LISTENER = False/ENABLE_UDP_LISTENER = True/g' /etc/carbon/carbon.conf | |
# ===== Restart services ===== | |
service carbon-cache restart | |
service memcached restart | |
service httpd restart | |
# Watch for incoming traffic on udp:2003 | |
# ngrep -qd any . udp dst port 2003 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment