Skip to content

Instantly share code, notes, and snippets.


Matt Schurenko mschurenko

View GitHub Profile
View gist:27a132f8f16da16295a58aed9b6fd311
set -e
yum -y --enablerepo=epel install tinyproxy
sed -i 's/^Port 8888/Port 80/' /etc/tinyproxy/tinyproxy.conf
sed -i '/^Allow/d' /etc/tinyproxy/tinyproxy.conf
service tinyproxy start
mschurenko /
Last active Sep 3, 2016
AttributeError when custom agent check run by datadog agent
# output in /var/log/datadog/collector.log
2016-09-03 00:25:46 UTC | ERROR | dd.collector | checks.statsrelay_check( | Check 'statsrelay_check' instance #0 failed
Traceback (most recent call last):
File "/opt/datadog-agent/agent/checks/", line 750, in run
File "/etc/dd-agent/checks.d/", line 14, in check
metrics = fetch_metrics(host, port)
File "/etc/dd-agent/checks.d/", line 30, in fetch_metrics
File "/opt/datadog-agent/embedded/lib/python2.7/", line 283, in write
View gist:9316501be0c093a62a530678feeb3a04
# The host of the Datadog intake server to send Agent data to
# If you need a proxy to connect to the Internet, provide the settings here
# proxy_host:
# proxy_port: 3128
# proxy_user: user
# proxy_password: password