Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2012 23:36
Show Gist options
  • Save anonymous/4333085 to your computer and use it in GitHub Desktop.
Save anonymous/4333085 to your computer and use it in GitHub Desktop.
Installing datadog-agent on Fedora Core 17.

Here are simple steps to install Datadog's agent on FC17. These steps are meant to be work-arounds until the necessary changes can be brought back into the mainline.

Steps

Run the one-liner from our agent page

Change the repository in /etc/yum.repos.d/datadog.repo to have a baseurl of:

baseurl = http://yum.datad0g.com/rpm/

in order to pull the latest agent builds.

Download python-tornado-2.3-1.fc17.noarch.rpm

curl -L "https://github.com/DataDog/dd-agent-deps/blob/master/python-tornado/python-tornado-2.3-1.fc17.noarch.rpm?raw=true" \
> python-tornado-2.3-1.fc17.noarch.rpm
sudo yum localinstall python-tornado-2.3-1.fc17.noarch.rpm  

And restart the agent.

sudo service datadog-agent restart

Rationale

The crux of the issue is that the agent requires Tornado to run. Older RedHat derivatives did not include recent tornado packages (if at all) so we distribute our own packaged version, python-tornado 2.3, with a dependency on python and an implicit dependency on python 2.6. FC17 ships with python 2.7 and python-tornado 2.2.1, with a dependency on python 2.7.

Thus setting up our packaged version python-tornado on FC17 is not picked up by python 2.7, thus the agent does not run out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment