Skip to content

Deprecation notice (old command line tools)

Evan Mouzakitis edited this page Jan 20, 2016 · 5 revisions

Notice

Old command line tools dd-agent, dd-forwarder and dogstatsd are deprecated as for 5.4.0. dd-forwarder & dogstatsd will be removed in a future version, and dd-agent functions will be limited to check, jmx and flare.

Please note that the dd-agent command has to be run as the dd-agent user :

sudo -u dd-agent dd-agent check mysql

What agents are concerned ?

All packaged Unix datadog-agent.

Why ?

dd-agent, dd-forwarder and dogstatsd are legacy commands, not needed anymore since supervisor directly handles the start/stop of all processes. These commands may also display wrong status/ouput.

How to replace them ?

To manage the agent

Use sudo /etc/init.d/datadog-agent {start|stop|restart|status}.

Additional deprecated dd-agent commands (info, configcheck)

Same, use sudo /etc/init.d/datadog-agent {info|configcheck}.

I still want to use the previous commands anyway

You can still make the links manually by running:

sudo ln -s /opt/datadog-agent/agent/dogstatsd.py /usr/bin/dogstatsd
sudo ln -s /opt/datadog-agent/agent/ddagent.py /usr/bin/dd-forwarder

However we strongly advise against using dd-forwarder, dogstatsd, and dd-agent to manage your datadog-agent processes. This possibility will be removed in a future version.

Clone this wiki locally