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
#!/bin/bash | |
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 |
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
# output in /var/log/datadog/collector.log | |
2016-09-03 00:25:46 UTC | ERROR | dd.collector | checks.statsrelay_check(__init__.py:767) | Check 'statsrelay_check' instance #0 failed | |
Traceback (most recent call last): | |
File "/opt/datadog-agent/agent/checks/__init__.py", line 750, in run | |
self.check(copy.deepcopy(instance)) | |
File "/etc/dd-agent/checks.d/statsrelay_check.py", line 14, in check | |
metrics = fetch_metrics(host, port) | |
File "/etc/dd-agent/checks.d/statsrelay_check.py", line 30, in fetch_metrics | |
t.write('status\n\n') | |
File "/opt/datadog-agent/embedded/lib/python2.7/telnetlib.py", line 283, in write |
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
[Main] | |
# The host of the Datadog intake server to send Agent data to | |
dd_url: https://app.datadoghq.com | |
# If you need a proxy to connect to the Internet, provide the settings here | |
# proxy_host: my-proxy.com | |
# proxy_port: 3128 | |
# proxy_user: user | |
# proxy_password: password |