Basic Agent Usage for Oracle Linux This page outlines the basic features of the Datadog Agent for Oracle Linux. To install the Datadog Agent, follow the Agent Installation Instructions .
Packages are available for 64-bit x86 and Arm v8 architectures. For other architectures, use the source install.
In Agent v6 and v7, the service manager provided by the operating system is responsible for the Agent lifecycle, while other commands must be run through the Agent binary directly. In Agent v5, almost everything is done through the service manager.
Description Command Start Agent as a service sudo systemctl start datadog-agent
Stop Agent running as a service sudo systemctl stop datadog-agent
Restart Agent running as a service sudo systemctl restart datadog-agent
Status of Agent service sudo systemctl status datadog-agent
Status page of running Agent sudo datadog-agent status
Send flare sudo datadog-agent flare
Display command usage sudo datadog-agent --help
Run a check sudo -u dd-agent -- datadog-agent check <CHECK_NAME>
Description Command Start Agent as a service sudo start datadog-agent
Stop Agent running as a service sudo stop datadog-agent
Restart Agent running as a service sudo restart datadog-agent
Status of Agent service sudo status datadog-agent
Status page of running Agent sudo datadog-agent status
Send flare sudo datadog-agent flare
Display command usage sudo datadog-agent --help
Run a check sudo -u dd-agent -- datadog-agent check <CHECK_NAME>
Note : If the service
wrapper is not available on your system, use:
On upstart
-based systems: sudo start/stop/restart/status datadog-agent
On systemd
-based systems: sudo systemctl start/stop/restart/status datadog-agent
The configuration files and folders for the Agent are located in:
/etc/datadog-agent/datadog.yaml
Configuration files for Integrations :
/etc/datadog-agent/conf.d/
To uninstall the Agent, run the following command:
sudo yum remove datadog-agent
Copy
This command removes the Agent, but does not remove:
The datadog.yaml
configuration file User-created files in the /etc/datadog-agent
configuration folder User-created files in the /opt/datadog-agent
folder The dd-agent
user Datadog log files If you also want to remove these elements, run this command after removing the Agent:
sudo userdel dd-agent \
&& sudo rm -rf /opt/datadog-agent/ \
&& sudo rm -rf /etc/datadog-agent/ \
&& sudo rm -rf /var/log/datadog/
Copy
See the Agent Troubleshooting documentation .
The Agent contains an embedded Python environment at /opt/datadog-agent/embedded/
. Common binaries such as python
and pip
are contained within /opt/datadog-agent/embedded/bin/
.
See the instructions on how to add packages to the embedded Agent for more information.
Additional helpful documentation, links, and articles: