Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datadog-agent won't install on AWS's Amazon Linux #82

Closed
alq666 opened this issue Jun 20, 2012 · 6 comments
Closed

datadog-agent won't install on AWS's Amazon Linux #82

alq666 opened this issue Jun 20, 2012 · 6 comments
Assignees

Comments

@alq666
Copy link
Member

alq666 commented Jun 20, 2012

supervisor is needed but won't install. Even rebuilding from rawhide and installing fails because of systemd-units dependency of python-meld3.

@ghost ghost assigned alq666 Jun 20, 2012
@alq666
Copy link
Member Author

alq666 commented Jul 19, 2012

A temporary workaround: http://d.hatena.ne.jp/massat/20111013/1318484253

@alq666
Copy link
Member Author

alq666 commented Jul 19, 2012

sudo easy_install supervisor
curl -L http://dtdg.co/supervisor-initd-aws > supervisor
sudo cp supervisor /etc/init.d/supervisord
sudo chkconfig --add supervisord
sudo chkconfig --level 345 supervisord on
sudo chmod +x /etc/init.d/supervisord 
curl -L http://dtdg.co/Mm99NP > supervisord.conf
sudo mkdir -p /etc/supervisord/conf
sudo cp supervisord.conf /etc
sudo mkdir -p /var/log/supervisor
sudo /etc/init.d/supervisord start
curl http://yum.datadoghq.com/rpm/datadog-agent-3.0.2-7.noarch.rpm > datadog-agent-3.0.2-7.noarch.rpm
sudo yum install python-tornado
sudo rpm -Uvh --nodeps datadog-agent-3.0.2-7.noarch.rpm 
sudo sh -c "sed 's/api_key:.*/api_key: apikey_2/' /etc/dd-agent/datadog.conf.example > /etc/dd-agent/datadog.conf"
sudo /etc/init.d/datadog-agent restart

@alq666
Copy link
Member Author

alq666 commented Jul 19, 2012

The fix is to package supervisord + meld3 ourselves.

@alq666
Copy link
Member Author

alq666 commented Jul 20, 2012

Actually, we can use supervisor-2 from epel but just repackage meld3.

@alq666
Copy link
Member Author

alq666 commented Jul 20, 2012

@don-neufeld AWS linux is now supported via packages. Let me know how it's working for you.

@alq666 alq666 closed this as completed Jul 20, 2012
@alq666
Copy link
Member Author

alq666 commented Jul 20, 2012

On machines where this workaround had been done:

sudo yum install datadog-agent
# Re-install supervisord.conf
curl -L http://dtdg.co/Mm99NP > supervisord.conf
sudo cp supervisord.conf /etc/
sudo /etc/init.d/datadog-agent restart
sudo /etc/init.d/datadog-agent status
sudo /etc/init.d/datadog-agent stop
sudo /etc/init.d/datadog-agent restart

Then rpm -qa | grep datadog should give you

datadog-agent-lib-3.0.3-3.noarch
datadog-agent-base-3.0.3-3.noarch
datadog-agent-3.0.3-3.noarch

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

No branches or pull requests

1 participant