Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2012 23:36
Show Gist options
  • Select an option

  • Save anonymous/4333085 to your computer and use it in GitHub Desktop.

Select an option

Save anonymous/4333085 to your computer and use it in GitHub Desktop.

Revisions

  1. @invalid-email-address Anonymous created this gist Dec 18, 2012.
    27 changes: 27 additions & 0 deletions dd-agent-fc17.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    Here are simple steps to install [Datadog's agent](https://github.com/Datadog/dd-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](https://app.datadoghq.com/account/settings#agent)

    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](https://github.com/DataDog/dd-agent-deps/blob/master/python-tornado/python-tornado-2.3-1.fc17.noarch.rpm?raw=true)

    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](https://github.com/facebook/tornado) to run. Older RedHat derivatives did not include recent tornado packages (if at all) so we distribute our [own packaged version](https://github.com/DataDog/dd-agent-deps), 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.